projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20020401-1-src
[rocksndiamonds.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index 4bf6da2d2ece4046f314267a48ae0d589eadee8a..c497116ed6adb55b420a9718af18abd0be2e9820 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-486,6
+486,14
@@
void HandleKey(Key key, int key_status)
return;
}
return;
}
+ /* special shortcuts for quick game tape saving and loading */
+ if (game_status == MAINMENU || game_status == PLAYING)
+ {
+ if (key == KSYM_F1) /* save game */
+ TapeQuickSave();
+ else if (key == KSYM_F2) /* load game */
+ TapeQuickLoad();
+ }
#ifndef DEBUG
#ifndef DEBUG