Commit Graph

13 Commits

Author SHA1 Message Date
Jon Thysell cdf67289a9 Added saving of progress to the application's 'SAVE' resource 2021-12-12 15:45:28 -08:00
Jon Thysell 5a4928ba39 Doxygen comments part 2 - c files 2021-12-08 14:35:06 -08:00
Jon Thysell e35349b418 Doxygen comments part 1 - headers 2021-12-07 11:07:28 -08:00
Jon Thysell 50a753b35e Minor cleanup of resources
Made sure all resources are no longer marked as purgeable so they stay
in memory (not that we were running out), also cleaned up some other
code issues.
2021-12-01 10:08:07 -08:00
Jon Thysell 3542861603 Added level select scene and more
I've added a new level select scene after picking your set, and I've
updated the engine to store the result of each puzzle separately. The
level select is paged (can't fit all 50 on one screen), so needed to add
a new "previous button" graphic.

Added confirmation prompts, so I can prompt before quitting, and for a
new menu option to clear your scores if you want to reset your progress.

Progress is still not persisted when you exit, as I haven't figured out
how to do that yet.

I've also rearranged the title screen a bit.
2021-11-30 18:38:36 -08:00
Jon Thysell d709703a64 Add PICT override code 2021-11-12 13:46:42 -08:00
Jon Thysell c7958c23bc Imported more image assets, updated scenes 2021-11-08 14:47:31 -08:00
Jon Thysell d3b5a77eaa Updated TitleScene and PlayScene with new graphic chars
TitleScene now shows A and B "buttons" to start a game.

PlayScene now shows just the level name in the HUD.

Lots of new helpers added to scale and align rects where I want them.
2021-11-07 15:35:44 -08:00
Jon Thysell eab519a40d Importing image assets from ArduLO
I've imported some of the "character" images from ArduLO, converted to
GIFs because they're easier to work with. They've been imported into a
new Bitmaps structure so they only need to be loaded once at app start.

I've also cleaned up some of the drawing code, and created a series of
helpers for dividing Rects into a 3x3 grid, to make it easier to define
the layout. I've also stubbed out "theme-support". :)
2021-11-04 19:54:28 -07:00
Jon Thysell 66794a2241 Refactored scenes into separate files, added game end, added title logo 2021-10-31 15:13:51 -07:00
Jon Thysell cf5daf9dc7 Cleaned up about dialog, fixed window centering 2021-10-16 15:38:43 -07:00
Jon Thysell 2ce4236ea7 Proper event loop, menus, and more
* Added a proper event loop
* Added minimal menu bars
* Added about menu
* GameWindow initializes a GameEngine (even if you can't play it yet)
* Updated variable naming conventions
2021-10-15 17:29:07 -07:00
Jon Thysell 6184d31e6a Factored out GameWindow, added error alert dialogs, simplified stdbool.h 2021-10-15 09:43:09 -07:00