- Cmd_AddCommand ("+moveup",IN_UpDown, "swim upward");
- Cmd_AddCommand ("-moveup",IN_UpUp, "stop swimming upward");
- Cmd_AddCommand ("+movedown",IN_DownDown, "swim downward");
- Cmd_AddCommand ("-movedown",IN_DownUp, "stop swimming downward");
- Cmd_AddCommand ("+left",IN_LeftDown, "turn left");
- Cmd_AddCommand ("-left",IN_LeftUp, "stop turning left");
- Cmd_AddCommand ("+right",IN_RightDown, "turn right");
- Cmd_AddCommand ("-right",IN_RightUp, "stop turning right");
- Cmd_AddCommand ("+forward",IN_ForwardDown, "move forward");
- Cmd_AddCommand ("-forward",IN_ForwardUp, "stop moving forward");
- Cmd_AddCommand ("+back",IN_BackDown, "move backward");
- Cmd_AddCommand ("-back",IN_BackUp, "stop moving backward");
- Cmd_AddCommand ("+lookup", IN_LookupDown, "look upward");
- Cmd_AddCommand ("-lookup", IN_LookupUp, "stop looking upward");
- Cmd_AddCommand ("+lookdown", IN_LookdownDown, "look downward");
- Cmd_AddCommand ("-lookdown", IN_LookdownUp, "stop looking downward");
- Cmd_AddCommand ("+strafe", IN_StrafeDown, "activate strafing mode (move instead of turn)");
- Cmd_AddCommand ("-strafe", IN_StrafeUp, "deactivate strafing mode");
- Cmd_AddCommand ("+moveleft", IN_MoveleftDown, "strafe left");
- Cmd_AddCommand ("-moveleft", IN_MoveleftUp, "stop strafing left");
- Cmd_AddCommand ("+moveright", IN_MoverightDown, "strafe right");
- Cmd_AddCommand ("-moveright", IN_MoverightUp, "stop strafing right");
- Cmd_AddCommand ("+speed", IN_SpeedDown, "activate run mode (faster movement and turning)");
- Cmd_AddCommand ("-speed", IN_SpeedUp, "deactivate run mode");
- Cmd_AddCommand ("+attack", IN_AttackDown, "begin firing");
- Cmd_AddCommand ("-attack", IN_AttackUp, "stop firing");
- Cmd_AddCommand ("+jump", IN_JumpDown, "jump");
- Cmd_AddCommand ("-jump", IN_JumpUp, "end jump (so you can jump again)");
- Cmd_AddCommand ("impulse", IN_Impulse, "send an impulse number to server (select weapon, use item, etc)");
- Cmd_AddCommand ("+klook", IN_KLookDown, "activate keyboard looking mode, do not recenter view");
- Cmd_AddCommand ("-klook", IN_KLookUp, "deactivate keyboard looking mode");
- Cmd_AddCommand ("+mlook", IN_MLookDown, "activate mouse looking mode, do not recenter view");
- Cmd_AddCommand ("-mlook", IN_MLookUp, "deactivate mouse looking mode");
-
- // LordHavoc: added use button
- Cmd_AddCommand ("+use", IN_UseDown, "use something (may be used by some mods)");
- Cmd_AddCommand ("-use", IN_UseUp, "stop using something");
-
- // LordHavoc: added 6 new buttons
- Cmd_AddCommand ("+button3", IN_Button3Down, "activate button3 (behavior depends on mod)");
- Cmd_AddCommand ("-button3", IN_Button3Up, "deactivate button3");
- Cmd_AddCommand ("+button4", IN_Button4Down, "activate button4 (behavior depends on mod)");
- Cmd_AddCommand ("-button4", IN_Button4Up, "deactivate button4");
- Cmd_AddCommand ("+button5", IN_Button5Down, "activate button5 (behavior depends on mod)");
- Cmd_AddCommand ("-button5", IN_Button5Up, "deactivate button5");
- Cmd_AddCommand ("+button6", IN_Button6Down, "activate button6 (behavior depends on mod)");
- Cmd_AddCommand ("-button6", IN_Button6Up, "deactivate button6");
- Cmd_AddCommand ("+button7", IN_Button7Down, "activate button7 (behavior depends on mod)");
- Cmd_AddCommand ("-button7", IN_Button7Up, "deactivate button7");
- Cmd_AddCommand ("+button8", IN_Button8Down, "activate button8 (behavior depends on mod)");
- Cmd_AddCommand ("-button8", IN_Button8Up, "deactivate button8");
- Cmd_AddCommand ("+button9", IN_Button9Down, "activate button9 (behavior depends on mod)");
- Cmd_AddCommand ("-button9", IN_Button9Up, "deactivate button9");
- Cmd_AddCommand ("+button10", IN_Button10Down, "activate button10 (behavior depends on mod)");
- Cmd_AddCommand ("-button10", IN_Button10Up, "deactivate button10");
- Cmd_AddCommand ("+button11", IN_Button11Down, "activate button11 (behavior depends on mod)");
- Cmd_AddCommand ("-button11", IN_Button11Up, "deactivate button11");
- Cmd_AddCommand ("+button12", IN_Button12Down, "activate button12 (behavior depends on mod)");
- Cmd_AddCommand ("-button12", IN_Button12Up, "deactivate button12");
- Cmd_AddCommand ("+button13", IN_Button13Down, "activate button13 (behavior depends on mod)");
- Cmd_AddCommand ("-button13", IN_Button13Up, "deactivate button13");
- Cmd_AddCommand ("+button14", IN_Button14Down, "activate button14 (behavior depends on mod)");
- Cmd_AddCommand ("-button14", IN_Button14Up, "deactivate button14");
- Cmd_AddCommand ("+button15", IN_Button15Down, "activate button15 (behavior depends on mod)");
- Cmd_AddCommand ("-button15", IN_Button15Up, "deactivate button15");
- Cmd_AddCommand ("+button16", IN_Button16Down, "activate button16 (behavior depends on mod)");
- Cmd_AddCommand ("-button16", IN_Button16Up, "deactivate button16");
-
- // LordHavoc: added bestweapon command
- Cmd_AddCommand ("bestweapon", IN_BestWeapon, "send an impulse number to server to select the first usable weapon out of several (example: 8 7 6 5 4 3 2 1)");
-#if 0
- Cmd_AddCommand ("cycleweapon", IN_CycleWeapon, "send an impulse number to server to select the next usable weapon out of several (example: 9 4 8) if you are holding one of these, and choose the first one if you are holding none of these");
-#endif
- Cmd_AddCommand ("register_bestweapon", IN_BestWeapon_Register_f, "(for QC usage only) change weapon parameters to be used by bestweapon; stuffcmd this in ClientConnect");
+ Cmd_AddCommand(CMD_CLIENT, "+moveup",IN_UpDown, "swim upward");
+ Cmd_AddCommand(CMD_CLIENT, "-moveup",IN_UpUp, "stop swimming upward");
+ Cmd_AddCommand(CMD_CLIENT, "+movedown",IN_DownDown, "swim downward");
+ Cmd_AddCommand(CMD_CLIENT, "-movedown",IN_DownUp, "stop swimming downward");
+ Cmd_AddCommand(CMD_CLIENT, "+left",IN_LeftDown, "turn left");
+ Cmd_AddCommand(CMD_CLIENT, "-left",IN_LeftUp, "stop turning left");
+ Cmd_AddCommand(CMD_CLIENT, "+right",IN_RightDown, "turn right");
+ Cmd_AddCommand(CMD_CLIENT, "-right",IN_RightUp, "stop turning right");
+ Cmd_AddCommand(CMD_CLIENT, "+forward",IN_ForwardDown, "move forward");
+ Cmd_AddCommand(CMD_CLIENT, "-forward",IN_ForwardUp, "stop moving forward");
+ Cmd_AddCommand(CMD_CLIENT, "+back",IN_BackDown, "move backward");
+ Cmd_AddCommand(CMD_CLIENT, "-back",IN_BackUp, "stop moving backward");
+ Cmd_AddCommand(CMD_CLIENT, "+lookup", IN_LookupDown, "look upward");
+ Cmd_AddCommand(CMD_CLIENT, "-lookup", IN_LookupUp, "stop looking upward");
+ Cmd_AddCommand(CMD_CLIENT, "+lookdown", IN_LookdownDown, "look downward");
+ Cmd_AddCommand(CMD_CLIENT, "-lookdown", IN_LookdownUp, "stop looking downward");
+ Cmd_AddCommand(CMD_CLIENT, "+strafe", IN_StrafeDown, "activate strafing mode (move instead of turn)");
+ Cmd_AddCommand(CMD_CLIENT, "-strafe", IN_StrafeUp, "deactivate strafing mode");
+ Cmd_AddCommand(CMD_CLIENT, "+moveleft", IN_MoveleftDown, "strafe left");
+ Cmd_AddCommand(CMD_CLIENT, "-moveleft", IN_MoveleftUp, "stop strafing left");
+ Cmd_AddCommand(CMD_CLIENT, "+moveright", IN_MoverightDown, "strafe right");
+ Cmd_AddCommand(CMD_CLIENT, "-moveright", IN_MoverightUp, "stop strafing right");
+ Cmd_AddCommand(CMD_CLIENT, "+speed", IN_SpeedDown, "activate run mode (faster movement and turning)");
+ Cmd_AddCommand(CMD_CLIENT, "-speed", IN_SpeedUp, "deactivate run mode");
+ Cmd_AddCommand(CMD_CLIENT, "+attack", IN_AttackDown, "begin firing");
+ Cmd_AddCommand(CMD_CLIENT, "-attack", IN_AttackUp, "stop firing");
+ Cmd_AddCommand(CMD_CLIENT, "+jump", IN_JumpDown, "jump");
+ Cmd_AddCommand(CMD_CLIENT, "-jump", IN_JumpUp, "end jump (so you can jump again)");
+ Cmd_AddCommand(CMD_CLIENT, "impulse", IN_Impulse, "send an impulse number to server (select weapon, use item, etc)");
+ Cmd_AddCommand(CMD_CLIENT, "+klook", IN_KLookDown, "activate keyboard looking mode, do not recenter view");
+ Cmd_AddCommand(CMD_CLIENT, "-klook", IN_KLookUp, "deactivate keyboard looking mode");
+ Cmd_AddCommand(CMD_CLIENT, "+mlook", IN_MLookDown, "activate mouse looking mode, do not recenter view");
+ Cmd_AddCommand(CMD_CLIENT, "-mlook", IN_MLookUp, "deactivate mouse looking mode");
+
+ // LadyHavoc: added lots of buttons
+ Cmd_AddCommand(CMD_CLIENT, "+use", IN_UseDown, "use something (may be used by some mods)");
+ Cmd_AddCommand(CMD_CLIENT, "-use", IN_UseUp, "stop using something");
+ Cmd_AddCommand(CMD_CLIENT, "+button3", IN_Button3Down, "activate button3 (behavior depends on mod)");
+ Cmd_AddCommand(CMD_CLIENT, "-button3", IN_Button3Up, "deactivate button3");
+ Cmd_AddCommand(CMD_CLIENT, "+button4", IN_Button4Down, "activate button4 (behavior depends on mod)");
+ Cmd_AddCommand(CMD_CLIENT, "-button4", IN_Button4Up, "deactivate button4");
+ Cmd_AddCommand(CMD_CLIENT, "+button5", IN_Button5Down, "activate button5 (behavior depends on mod)");
+ Cmd_AddCommand(CMD_CLIENT, "-button5", IN_Button5Up, "deactivate button5");
+ Cmd_AddCommand(CMD_CLIENT, "+button6", IN_Button6Down, "activate button6 (behavior depends on mod)");
+ Cmd_AddCommand(CMD_CLIENT, "-button6", IN_Button6Up, "deactivate button6");
+ Cmd_AddCommand(CMD_CLIENT, "+button7", IN_Button7Down, "activate button7 (behavior depends on mod)");
+ Cmd_AddCommand(CMD_CLIENT, "-button7", IN_Button7Up, "deactivate button7");
+ Cmd_AddCommand(CMD_CLIENT, "+button8", IN_Button8Down, "activate button8 (behavior depends on mod)");
+ Cmd_AddCommand(CMD_CLIENT, "-button8", IN_Button8Up, "deactivate button8");
+ Cmd_AddCommand(CMD_CLIENT, "+button9", IN_Button9Down, "activate button9 (behavior depends on mod)");
+ Cmd_AddCommand(CMD_CLIENT, "-button9", IN_Button9Up, "deactivate button9");
+ Cmd_AddCommand(CMD_CLIENT, "+button10", IN_Button10Down, "activate button10 (behavior depends on mod)");
+ Cmd_AddCommand(CMD_CLIENT, "-button10", IN_Button10Up, "deactivate button10");
+ Cmd_AddCommand(CMD_CLIENT, "+button11", IN_Button11Down, "activate button11 (behavior depends on mod)");
+ Cmd_AddCommand(CMD_CLIENT, "-button11", IN_Button11Up, "deactivate button11");
+ Cmd_AddCommand(CMD_CLIENT, "+button12", IN_Button12Down, "activate button12 (behavior depends on mod)");
+ Cmd_AddCommand(CMD_CLIENT, "-button12", IN_Button12Up, "deactivate button12");
+ Cmd_AddCommand(CMD_CLIENT, "+button13", IN_Button13Down, "activate button13 (behavior depends on mod)");
+ Cmd_AddCommand(CMD_CLIENT, "-button13", IN_Button13Up, "deactivate button13");
+ Cmd_AddCommand(CMD_CLIENT, "+button14", IN_Button14Down, "activate button14 (behavior depends on mod)");
+ Cmd_AddCommand(CMD_CLIENT, "-button14", IN_Button14Up, "deactivate button14");
+ Cmd_AddCommand(CMD_CLIENT, "+button15", IN_Button15Down, "activate button15 (behavior depends on mod)");
+ Cmd_AddCommand(CMD_CLIENT, "-button15", IN_Button15Up, "deactivate button15");
+ Cmd_AddCommand(CMD_CLIENT, "+button16", IN_Button16Down, "activate button16 (behavior depends on mod)");
+ Cmd_AddCommand(CMD_CLIENT, "-button16", IN_Button16Up, "deactivate button16");
+
+ // LadyHavoc: added bestweapon command
+ Cmd_AddCommand(CMD_CLIENT, "bestweapon", IN_BestWeapon_f, "send an impulse number to server to select the first usable weapon out of several (example: 8 7 6 5 4 3 2 1)");
+ Cmd_AddCommand(CMD_CLIENT, "register_bestweapon", IN_BestWeapon_Register_f, "(for QC usage only) change weapon parameters to be used by bestweapon; stuffcmd this in ClientConnect");