summaryrefslogtreecommitdiff
path: root/games/heretic/files/patch-m__misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/heretic/files/patch-m__misc.c')
-rw-r--r--games/heretic/files/patch-m__misc.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/games/heretic/files/patch-m__misc.c b/games/heretic/files/patch-m__misc.c
new file mode 100644
index 000000000000..b8d376dd1c30
--- /dev/null
+++ b/games/heretic/files/patch-m__misc.c
@@ -0,0 +1,21 @@
+--- m_misc.c.orig 2000-05-02 00:01:29 UTC
++++ m_misc.c
+@@ -365,6 +365,7 @@ long usejoystick;
+ extern long key_right, key_left, key_up, key_down;
+ extern long key_strafeleft, key_straferight;
+ extern long key_fire, key_use, key_strafe, key_speed;
++extern long key_health, key_tomeofpower, key_egg, key_firebomb;
+ extern long key_flyup, key_flydown, key_flycenter;
+ extern long key_lookup, key_lookdown, key_lookcenter;
+ extern long key_invleft, key_invright, key_useartifact;
+@@ -447,6 +448,10 @@ default_t defaults[] =
+
+ { "key_fire", &key_fire, KEY_RCTRL, 1 },
+ { "key_use", &key_use, ' ', 1 },
++ { "key_health", &key_health, 'a' },
++ { "key_tomeofpower", &key_tomeofpower, 127},
++ { "key_egg", &key_egg, 'q'},
++ { "key_firebomb", &key_firebomb, 'b'},
+ { "key_strafe", &key_strafe, KEY_RALT, 1 },
+ { "key_speed", &key_speed, KEY_RSHIFT, 1 },
+