Test
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user