ROGUE_DECLARED_PACK

This commit is contained in:
jl777
2019-02-06 03:05:56 -11:00
parent 6e7fb4b198
commit 919cf02a5c
3 changed files with 4 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
*/
#include <curses.h>
//#include "rogue.h"
#include "rogue.h"

View File

@@ -313,7 +313,7 @@
/*
* Now we define the structures and types
*/
#ifdef BUILD_ROGUE
#ifndef ROGUE_DECLARED_PACK
struct rogue_packitem
{
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;
struct rogue_packitem roguepack[MAXPACK];
};
#define ROGUE_DECLARED_PACK
#endif
struct rogue_state

View File

@@ -631,6 +631,7 @@ struct rogue_player
struct rogue_packitem roguepack[MAXPACK];
};
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)
{