projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added flag to (not) show scaling in title to default configuration settings
[rocksndiamonds.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index aa20e2d056999b116d555048a73ad704b2a0a564..d56edaf9c38596a3c9933c15bbd26de96965c703 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-1441,6
+1441,11
@@
static void HandleKeysSpecial(Key key)
{
SaveNativeLevel(&level);
}
{
SaveNativeLevel(&level);
}
+ else if (is_string_suffix(cheat_input, ":frames-per-second") ||
+ is_string_suffix(cheat_input, ":fps"))
+ {
+ global.show_frames_per_second = !global.show_frames_per_second;
+ }
}
else if (game_status == GAME_MODE_PLAYING)
{
}
else if (game_status == GAME_MODE_PLAYING)
{