Added decl_early_init() which is called when PLAYAGAIN is supported.

decl_early_init() is called when we are starting a game.  On first
start, it validates that global state is in the expected state.
When called on subsequent starts, it initializes global state to
expected state.
This commit is contained in:
Bart House
2018-11-22 15:20:17 -08:00
parent 3e8d98dee5
commit 6737fee07d
6 changed files with 279 additions and 4 deletions

View File

@@ -251,6 +251,9 @@ 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 ### */