Test
This commit is contained in:
@@ -27,7 +27,7 @@ int64_t games_cashout(struct games_player *P)
|
|||||||
return(cashout);
|
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("packsize",(int64_t)P->packsize));
|
||||||
obj.push_back(Pair("hitpoints",(int64_t)P->hitpoints));
|
obj.push_back(Pair("hitpoints",(int64_t)P->hitpoints));
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ void tg_print(tetris_game *obj, FILE *f);
|
|||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
#define GAMENAME "tetris" // name of executable
|
#define GAMENAME "tetris" // name of executable
|
||||||
#define GAMEMAIN tetris // main program of game
|
#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 GAMEDATA tetrisdata // extracts data from game specific variables into games_state
|
||||||
#define CHAINNAME "GTEST" // -ac_name=
|
#define CHAINNAME "GTEST" // -ac_name=
|
||||||
typedef uint16_t gamesevent; // can be 8, 16, 32, or 64 bits
|
typedef uint16_t gamesevent; // can be 8, 16, 32, or 64 bits
|
||||||
|
|||||||
Reference in New Issue
Block a user