X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=682c45166c7db137453585b500c6498dfeae11ba;hb=9cfd3853252303df85d4fb925993448788d03483;hp=26cc84cc2a8a61d0e95a9cd347f74368a549ebff;hpb=0918c3eb2f6219a8cc72aa85bd9c4889788dd474;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index 26cc84cc..682c4516 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