home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make map_scroll() use new direction macros and slightly re-styled its code.
[plomrogue]
/
src
/
keybindings.h
diff --git
a/src/keybindings.h
b/src/keybindings.h
index b0ff912944040920edfe6ee022c27d51c4e99f43..85c33c781bf38581a627a66e1eb42ca002f64ec1 100644
(file)
--- a/
src/keybindings.h
+++ b/
src/keybindings.h
@@
-1,3
+1,5
@@
+#ifndef KEYBINDINGS_H
+
struct KeyBinding {
char * name;
uint16_t key; };
@@
-13,3
+15,5
@@
uint16_t get_action_key (struct KeyBinding *, char *);
char * get_keyname(uint16_t);
void keyswin_mod_key (struct World *, struct WinMeta *);
void keyswin_move_selection (struct World *, char);
+
+#endif