X-Git-Url: https://git.distorted.org.uk/~mdw/newkind/blobdiff_plain/419dfc818f70155e4be4b0bd0d15c3d47b4d7653..40471f009dde3bd859d4524bdaca45833e12a8b4:/alg_main.c diff --git a/alg_main.c b/alg_main.c index 7eccdf5..996dcd4 100644 --- a/alg_main.c +++ b/alg_main.c @@ -63,7 +63,9 @@ int rolling; int climbing; int game_paused; int have_joystick; +#ifdef HACKING int identify; +#endif int scanner_zoom = 1; int remap_keys; @@ -966,8 +968,10 @@ void handle_flight_keys (void) if (kbd_n_pressed) n_pressed(); +#ifdef HACKING if (kbd_i_pressed == 1) identify = !identify; +#endif if (kbd_zoom_pressed == 1) scanner_zoom ^= 3; @@ -1200,7 +1204,9 @@ void run_first_intro_screen (void) snd_play_midi (SND_ELITE_THEME, TRUE); initialise_intro1(); +#ifdef HACKING identify = 0; +#endif for (;;) { @@ -1233,8 +1239,10 @@ void run_second_intro_screen (void) current_screen = SCR_INTRO_TWO; snd_play_midi (SND_BLUE_DANUBE, TRUE); - + +#ifdef HACKING identify = 0; +#endif initialise_intro2(); flight_speed = 3; @@ -1275,7 +1283,9 @@ void run_game_over_screen() flight_speed = 6; flight_roll = 0; flight_climb = 0; +#ifdef HACKING identify = 0; +#endif clear_universe(); set_init_matrix (rotmat);