From f8d54e66dba5d8448d30f61f84883b4e7e6e1087 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Mon, 24 Oct 2011 19:05:03 +0100 Subject: [PATCH] F1 to bring up intro message --- src/main.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 75a3a95f7..4b6d41319 100644 --- a/src/main.c +++ b/src/main.c @@ -2415,10 +2415,22 @@ int main(int argc, char *argv[]) if (sdl_key==SDLK_SPACE) sys_pause = !sys_pause; if (sdl_key=='u') - aheat_enable = !aheat_enable; - if (sdl_key=='h') + if (sdl_key=='h' && !(sdl_mod & KMOD_LCTRL)) + { hud_enable = !hud_enable; + } + if (sdl_key==SDLK_F1 || (sdl_key=='h' && (sdl_mod & KMOD_LCTRL))) + { + if(!it) + { + it = 8047; + } + else + { + it = 0; + } + } if (sdl_key=='n') pretty_powder = !pretty_powder; if (sdl_key=='p')