provide some debug developer controls - part 1
This commit is contained in:
@@ -26,7 +26,7 @@ E void NDECL(display_gamewindows);
|
||||
E void NDECL(newgame);
|
||||
E void FDECL(welcome, (BOOLEAN_P));
|
||||
E time_t NDECL(get_realtime);
|
||||
E boolean FDECL(argcheck, (int, char **, enum earlyarg));
|
||||
E int FDECL(argcheck, (int, char **, enum earlyarg));
|
||||
|
||||
/* ### apply.c ### */
|
||||
|
||||
|
||||
@@ -221,6 +221,16 @@ enum getloc_filters {
|
||||
NUM_GFILTER
|
||||
};
|
||||
|
||||
struct debug_flags {
|
||||
boolean test;
|
||||
#ifdef TTY_GRAPHICS
|
||||
boolean ttystatus;
|
||||
#endif
|
||||
#ifdef WIN32
|
||||
boolean immediateflips;
|
||||
#endif
|
||||
};
|
||||
|
||||
struct instance_flags {
|
||||
/* stuff that really isn't option or platform related. They are
|
||||
* set and cleared during the game to control the internal
|
||||
@@ -423,6 +433,7 @@ struct instance_flags {
|
||||
short mines_prize_type; /* luckstone */
|
||||
short soko_prize_type1; /* bag of holding or */
|
||||
short soko_prize_type2; /* amulet of reflection */
|
||||
struct debug_flags debug;
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user