Revert "Revert "F1 to bring up intro message""
This reverts commit 8c25ef733c
.
This commit is contained in:
parent
8c25ef733c
commit
e3a7b626ab
16
src/main.c
16
src/main.c
@ -2415,10 +2415,22 @@ int main(int argc, char *argv[])
|
|||||||
if (sdl_key==SDLK_SPACE)
|
if (sdl_key==SDLK_SPACE)
|
||||||
sys_pause = !sys_pause;
|
sys_pause = !sys_pause;
|
||||||
if (sdl_key=='u')
|
if (sdl_key=='u')
|
||||||
|
|
||||||
aheat_enable = !aheat_enable;
|
aheat_enable = !aheat_enable;
|
||||||
if (sdl_key=='h')
|
if (sdl_key=='h' && !(sdl_mod & KMOD_LCTRL))
|
||||||
|
{
|
||||||
hud_enable = !hud_enable;
|
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')
|
if (sdl_key=='n')
|
||||||
pretty_powder = !pretty_powder;
|
pretty_powder = !pretty_powder;
|
||||||
if (sdl_key=='p')
|
if (sdl_key=='p')
|
||||||
|
Loading…
Reference in New Issue
Block a user