projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added key shortcut to dump identifiers for all gadgets on current screen
[rocksndiamonds.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index 000744c9e177a90e8dff21dcd2f7ffc78ae66ff1..22cfdcd12ebadba2d7084591f3d6ec9bac91ab12 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-1760,6
+1760,14
@@
static void HandleKeysSpecial(Key key)
DumpBrush_Small();
}
}
DumpBrush_Small();
}
}
+
+ /* special key shortcuts for all game modes */
+ if (is_string_suffix(cheat_input, ":dump-gadget-ids") ||
+ is_string_suffix(cheat_input, ":dgi") ||
+ is_string_suffix(cheat_input, ":DGI"))
+ {
+ DumpGadgetIdentifiers();
+ }
}
void HandleKeysDebug(Key key)
}
void HandleKeysDebug(Key key)