X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=9897b56d78778dfa99cbe9dea30f99315560e1cf;hb=bd0a94b2fe778016135d2ebc4fd3c84d3b72b62f;hp=26cc84cc2a8a61d0e95a9cd347f74368a549ebff;hpb=0918c3eb2f6219a8cc72aa85bd9c4889788dd474;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index 26cc84cc..9897b56d 100644 --- a/src/game.c +++ b/src/game.c @@ -99,6 +99,62 @@ /* to control special behaviour of certain game elements */ int game_emulation = EMU_NONE; + + + +#ifdef DEBUG +#if 0 +static unsigned int getStateCheckSum(int counter) +{ + int x, y; + unsigned int mult = 1; + unsigned int checksum = 0; + /* + static short lastFeld[MAX_LEV_FIELDX][MAX_LEV_FIELDY]; + */ + static boolean first_game = TRUE; + + for (y=0; y