From 4a356b565d08ee48dbe8d920876fd73a72dbc016 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 22 Oct 2011 17:09:12 +0000 Subject: Fix Heretic and Hexen multiplayer chat. Subversion-branch: /branches/v2-branch Subversion-revision: 2455 --- src/hexen/h2_main.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/hexen/h2_main.c') diff --git a/src/hexen/h2_main.c b/src/hexen/h2_main.c index 13e27a22..49d7f21b 100644 --- a/src/hexen/h2_main.c +++ b/src/hexen/h2_main.c @@ -53,6 +53,15 @@ // MACROS ------------------------------------------------------------------ #define MAXWADFILES 20 +#define CT_KEY_BLUE 'b' +#define CT_KEY_RED 'r' +#define CT_KEY_YELLOW 'y' +#define CT_KEY_GREEN 'g' +#define CT_KEY_PLAYER5 'j' // Jade +#define CT_KEY_PLAYER6 'w' // White +#define CT_KEY_PLAYER7 'h' // Hazel +#define CT_KEY_PLAYER8 'p' // Purple +#define CT_KEY_ALL 't' // TYPES ------------------------------------------------------------------- @@ -163,6 +172,15 @@ void D_BindVariables(void) M_BindHereticControls(); M_BindHexenControls(); + key_multi_msgplayer[0] = CT_KEY_BLUE; + key_multi_msgplayer[1] = CT_KEY_RED; + key_multi_msgplayer[2] = CT_KEY_YELLOW; + key_multi_msgplayer[3] = CT_KEY_GREEN; + key_multi_msgplayer[4] = CT_KEY_PLAYER5; + key_multi_msgplayer[5] = CT_KEY_PLAYER6; + key_multi_msgplayer[6] = CT_KEY_PLAYER7; + key_multi_msgplayer[7] = CT_KEY_PLAYER8; + M_BindVariable("graphical_startup", &graphical_startup); M_BindVariable("mouse_sensitivity", &mouseSensitivity); M_BindVariable("sfx_volume", &snd_MaxVolume); -- cgit v1.2.3