Addedd best-score storage and more
* Removed FXSH_Build.bat as it changes for each installation of the SDK * Now uses file \fls0\2048.sav that is 31 bytes (all aren't used, few more bytes will be added) * Game_terminated() is now a variable for easier access and remove mess in code ordering * Addedd debugMsg(unsigned char* message) for easier debugging * Addedd Storage_saveAll() to save all the data (currently bestScore and currentScore) * Addedd Storage_restore() to restore all the data (currently bestScore) * Addedd placeholder one-time welcome screen * Splitted Screen_actuate() * Fix unneeded animation time when starting new game * Fixed score not being correctly calculated * Splitted initGame() * Now it's Game_begin(), Game_reset(), Game_start(), Game_newGame() * Necessary for future game restoring mechanics
This commit is contained in:
parent
3bd4ed2edc
commit
a02b0b656e
3 changed files with 149 additions and 57 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -6,4 +6,5 @@
|
|||
*Thumbs.db
|
||||
*.dlw
|
||||
*.dlr
|
||||
*.G1A
|
||||
*.G1A
|
||||
*.bat
|
Reference in a new issue