This commit is contained in:
jl777
2019-03-26 09:11:29 -11:00
parent 1254c3ed5c
commit f173721007
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ int64_t games_cashout(struct games_player *P)
return(cashout);
}
void tetrisjson(UniValue &obj,struct games_player *P)
void tetrisplayerjson(UniValue &obj,struct games_player *P)
{
obj.push_back(Pair("packsize",(int64_t)P->packsize));
obj.push_back(Pair("hitpoints",(int64_t)P->hitpoints));

View File

@@ -165,7 +165,7 @@ void tg_print(tetris_game *obj, FILE *f);
******************************************************************************/
#define GAMENAME "tetris" // name of executable
#define GAMEMAIN tetris // main program of game
#define GAMEJSON tetrisjson // displays game specific json
#define GAMEPLAYERJSON tetrisplayerjson // displays game specific json
#define GAMEDATA tetrisdata // extracts data from game specific variables into games_state
#define CHAINNAME "GTEST" // -ac_name=
typedef uint16_t gamesevent; // can be 8, 16, 32, or 64 bits