diff options
-rw-r--r-- | taipan.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -15,7 +15,7 @@ /* define this for testing sea_battle(). it causes a pirate attack every time you leave port. Don't leave defined for a release!! */ -#define COMBAT_TEST +// #define COMBAT_TEST /* define this to show internals of damage calculation */ // #define DAMAGE_TEST @@ -31,6 +31,11 @@ /* define this to start the game in a 99% damaged ship */ // #define ALMOST_DEAD +/* define this to end the game after 1 turn of gameplay. used + for testing whether cc65's exit(0) returns to DOS correctly. + use with "make testatr" target. */ +// #define EARLY_WITHDRAWAL + /**** atari-specific stuff */ /* values returned by cgetc() for backspace & enter keys */ @@ -1950,6 +1955,10 @@ void quit(void) cputs("..."); timed_getch(TMOUT_3S); +#ifdef EARLY_WITHDRAWAL + exit(0); +#endif + return; } |