ROGUE_DECLARED_PACK
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <curses.h>
|
#include <curses.h>
|
||||||
//#include "rogue.h"
|
#include "rogue.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -313,7 +313,7 @@
|
|||||||
/*
|
/*
|
||||||
* Now we define the structures and types
|
* Now we define the structures and types
|
||||||
*/
|
*/
|
||||||
#ifdef BUILD_ROGUE
|
#ifndef ROGUE_DECLARED_PACK
|
||||||
struct rogue_packitem
|
struct rogue_packitem
|
||||||
{
|
{
|
||||||
int32_t type,launch,count,which,hplus,dplus,arm,flags,group;
|
int32_t type,launch,count,which,hplus,dplus,arm,flags,group;
|
||||||
@@ -324,6 +324,7 @@ struct rogue_player
|
|||||||
int32_t gold,hitpoints,strength,level,experience,packsize,dungeonlevel,pad;
|
int32_t gold,hitpoints,strength,level,experience,packsize,dungeonlevel,pad;
|
||||||
struct rogue_packitem roguepack[MAXPACK];
|
struct rogue_packitem roguepack[MAXPACK];
|
||||||
};
|
};
|
||||||
|
#define ROGUE_DECLARED_PACK
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct rogue_state
|
struct rogue_state
|
||||||
|
|||||||
@@ -631,6 +631,7 @@ struct rogue_player
|
|||||||
struct rogue_packitem roguepack[MAXPACK];
|
struct rogue_packitem roguepack[MAXPACK];
|
||||||
};
|
};
|
||||||
int32_t rogue_replay2(uint8_t *newdata,uint64_t seed,char *keystrokes,int32_t num,struct rogue_player *player);
|
int32_t rogue_replay2(uint8_t *newdata,uint64_t seed,char *keystrokes,int32_t num,struct rogue_player *player);
|
||||||
|
#define ROGUE_DECLARED_PACK
|
||||||
|
|
||||||
UniValue rogue_bailout(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
|
UniValue rogue_bailout(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user