Commit graph

4 commits

Author SHA1 Message Date
Geoffrey Frogeye a02b0b656e 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
2014-04-13 23:54:06 +02:00
Geoffrey Frogeye 08888717c5 Implemented scores & local best score
* Should have been aligned on the right, but had issues with the log()
function
* Best score is currently reset every time you launch the game
* Removed useless project files
2014-04-08 18:09:21 +02:00
Geoffrey Frogeye 91e395a35e Fixed some game logic
* Each tile can only merge once per move
* Game update correctly after just moving
* Slowed down animation because it looked weird out of the emulator
* Fixed a single typo
2014-04-08 17:33:30 +02:00
Geoffrey Frogeye 1c49459f95 Initial commit
Game already kinda working.
Also include french, errors, different naming than original, mess, code poorness and dirt
2014-04-05 16:40:56 +02:00