Commit graph

13 commits

Author SHA1 Message Date
Zed A. Shaw
e1c667d816 The images for my reactions to your bad code are now up. Went with a more 'pixel video' look than a pixel art hand drawn thing. 2024-09-20 18:47:14 -04:00
Zed A. Shaw
9741df30ab Fix a typo. 2024-09-16 18:23:52 -04:00
Zed A. Shaw
56663b9052 Better UI layout and actually tracking deaths. 2024-09-16 18:19:54 -04:00
Zed A. Shaw
662e4bf918 Committed a broken file. 2024-09-16 17:25:04 -04:00
Zed A. Shaw
95cd84b09d Get the build fail to actually play and keep the building sound looping until the build is done. 2024-09-16 17:24:02 -04:00
Zed A. Shaw
f632f2d5af FSM is now even cleaner, as long as you don't look at that CPP macro. 2024-09-16 08:05:43 -04:00
Zed A. Shaw
c9425aebf9 Refined the FSM to allow easily passing in data to the even handler and state functions. 2024-09-16 07:50:04 -04:00
Zed A. Shaw
40ba7f0b66 Logging for the FSM works better now. 2024-09-16 07:05:40 -04:00
Zed A. Shaw
0aeb5b4ceb Make the FSM_STATE work better with optional loggins set by a define and standardize on using enum class by default. 2024-09-16 06:53:49 -04:00
Zed A. Shaw
9e6c05eccd GameEngine is now a state machine so I can push its design further and keep it solid. 2024-09-12 00:34:41 -04:00
Zed A. Shaw
fff182b457 Refactored out the main_loop so that it's not tightly coupled inside builder, and in the process found I was accidentally copying GUI and GameEngine because Builder wasn't using a &ref for them. Now they don't have a copy constructor to catch that. 2024-09-10 04:38:21 -04:00
Zed A. Shaw
a7c5de6ac3 Builder is now using the FSM I wrote. Still not as clean as I like but big improvement. 2024-09-10 01:56:22 -04:00
Zed A. Shaw
dcf1a4020d Extract the FSM before beginning to use it. 2024-09-10 00:32:15 -04:00