This commit is contained in:
jl777
2019-03-26 05:17:56 -11:00
parent 2ed6eccec6
commit d61a4c44cf
2 changed files with 3 additions and 3 deletions

View File

@@ -14,6 +14,7 @@
******************************************************************************/ ******************************************************************************/
#include "gamescc.h" #include "gamescc.h"
#include "tetris.c" // replace with game code
uint64_t _games_rngnext(uint64_t initseed) uint64_t _games_rngnext(uint64_t initseed)
{ {
@@ -86,9 +87,6 @@ int32_t games_replay2(uint8_t *newdata,uint64_t seed,gamesevent *keystrokes,int3
return(n); return(n);
} }
#include "tetris.c" // replace with game code
#ifndef STANDALONE #ifndef STANDALONE
#include "tetris.cpp" // replace with game specific functions #include "tetris.cpp" // replace with game specific functions

View File

@@ -193,8 +193,10 @@ struct games_state
gamesevent buffered[5000],*keystrokes; gamesevent buffered[5000],*keystrokes;
uint8_t playerdata[1024]; uint8_t playerdata[1024];
}; };
extern struct games_state globalR;
uint64_t _games_rngnext(uint64_t initseed); uint64_t _games_rngnext(uint64_t initseed);
int32_t games_replay2(uint8_t *newdata,uint64_t seed,gamesevent *keystrokes,int32_t num,struct games_player *player,int32_t sleepmillis);
#endif #endif