This commit is contained in:
Bart House
2018-11-22 21:40:15 -08:00
parent ae9462e7f7
commit f0f0dea993
9 changed files with 44 additions and 335 deletions

View File

@@ -552,15 +552,6 @@ typedef unsigned char uchar;
#endif
/* PLAYAGAIN support for allowing the game shell to stay open after the player
* saves or dies. This requires that the game engine can be re-entered to
* start another game.
*
* This support does not include supporting playing another game when
* a panic has occured due to undetermined state the engine is left in after a
* panic */
/* #define PLAYAGAIN */
/* End of Section 4 */
#ifdef TTY_TILES_ESCCODES

View File

@@ -192,7 +192,6 @@ E NEARDATA char dogname[];
E NEARDATA char catname[];
E NEARDATA char horsename[];
E char preferred_pet;
E int petname_used;
E const char *occtxt; /* defined when occupation != NULL */
E const char *nomovemsg;
@@ -444,10 +443,15 @@ struct early_opt {
* things initialized during the initialization of the game engine.
* It is initialized with icontext_initial_state found in decl.c */
#define PLAYAGAIN
struct instance_context {
int oldcap; /* encumberance - pickup.c */
int petname_used; /* user preferred pet name has been used - dog.c */
int jumping_is_magic; /* current jump result of magic - apply.c */
int polearm_range_min; /* apply.c */
int polearm_range_max; /* apply.c */
int spec_dbon_applies; /* coordinate effects from spec_dbon() with
* messages in artifact_hit() - artifact.c */
int mrank_sz; /* loaded by max_rank_sz - botl.c */
};
E struct instance_context icontext;

View File

@@ -251,9 +251,6 @@ E void FDECL(destroy_drawbridge, (int, int));
/* ### decl.c ### */
E void NDECL(decl_init);
#ifdef PLAYAGAIN
E void NDECL(decl_early_init);
#endif
/* ### detect.c ### */