doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Enumerations | Variables
UsercmdGen.cpp File Reference
#include "../idlib/precompiled.h"
#include "Session_local.h"

Go to the source code of this file.

Classes

struct  userCmdString_t
 
class  buttonState_t
 
class  idUsercmdGenLocal
 

Enumerations

enum  usercmdButton_t {
  UB_NONE, UB_UP, UB_DOWN, UB_LEFT,
  UB_RIGHT, UB_FORWARD, UB_BACK, UB_LOOKUP,
  UB_LOOKDOWN, UB_STRAFE, UB_MOVELEFT, UB_MOVERIGHT,
  UB_BUTTON0, UB_BUTTON1, UB_BUTTON2, UB_BUTTON3,
  UB_BUTTON4, UB_BUTTON5, UB_BUTTON6, UB_BUTTON7,
  UB_ATTACK, UB_SPEED, UB_ZOOM, UB_SHOWSCORES,
  UB_MLOOK, UB_IMPULSE0, UB_IMPULSE1, UB_IMPULSE2,
  UB_IMPULSE3, UB_IMPULSE4, UB_IMPULSE5, UB_IMPULSE6,
  UB_IMPULSE7, UB_IMPULSE8, UB_IMPULSE9, UB_IMPULSE10,
  UB_IMPULSE11, UB_IMPULSE12, UB_IMPULSE13, UB_IMPULSE14,
  UB_IMPULSE15, UB_IMPULSE16, UB_IMPULSE17, UB_IMPULSE18,
  UB_IMPULSE19, UB_IMPULSE20, UB_IMPULSE21, UB_IMPULSE22,
  UB_IMPULSE23, UB_IMPULSE24, UB_IMPULSE25, UB_IMPULSE26,
  UB_IMPULSE27, UB_IMPULSE28, UB_IMPULSE29, UB_IMPULSE30,
  UB_IMPULSE31, UB_IMPULSE32, UB_IMPULSE33, UB_IMPULSE34,
  UB_IMPULSE35, UB_IMPULSE36, UB_IMPULSE37, UB_IMPULSE38,
  UB_IMPULSE39, UB_IMPULSE40, UB_IMPULSE41, UB_IMPULSE42,
  UB_IMPULSE43, UB_IMPULSE44, UB_IMPULSE45, UB_IMPULSE46,
  UB_IMPULSE47, UB_IMPULSE48, UB_IMPULSE49, UB_IMPULSE50,
  UB_IMPULSE51, UB_IMPULSE52, UB_IMPULSE53, UB_IMPULSE54,
  UB_IMPULSE55, UB_IMPULSE56, UB_IMPULSE57, UB_IMPULSE58,
  UB_IMPULSE59, UB_IMPULSE60, UB_IMPULSE61, UB_IMPULSE62,
  UB_IMPULSE63, UB_MAX_BUTTONS
}
 

Variables

const int KEY_MOVESPEED = 127
 
userCmdString_t userCmdStrings []
 
const int NUM_USER_COMMANDS = sizeof(userCmdStrings) / sizeof(userCmdString_t)
 
const int MAX_CHAT_BUFFER = 127
 
idUsercmdGenusercmdGen = &localUsercmdGen
 

Enumeration Type Documentation

Enumerator
UB_NONE 
UB_UP 
UB_DOWN 
UB_LEFT 
UB_RIGHT 
UB_FORWARD 
UB_BACK 
UB_LOOKUP 
UB_LOOKDOWN 
UB_STRAFE 
UB_MOVELEFT 
UB_MOVERIGHT 
UB_BUTTON0 
UB_BUTTON1 
UB_BUTTON2 
UB_BUTTON3 
UB_BUTTON4 
UB_BUTTON5 
UB_BUTTON6 
UB_BUTTON7 
UB_ATTACK 
UB_SPEED 
UB_ZOOM 
UB_SHOWSCORES 
UB_MLOOK 
UB_IMPULSE0 
UB_IMPULSE1 
UB_IMPULSE2 
UB_IMPULSE3 
UB_IMPULSE4 
UB_IMPULSE5 
UB_IMPULSE6 
UB_IMPULSE7 
UB_IMPULSE8 
UB_IMPULSE9 
UB_IMPULSE10 
UB_IMPULSE11 
UB_IMPULSE12 
UB_IMPULSE13 
UB_IMPULSE14 
UB_IMPULSE15 
UB_IMPULSE16 
UB_IMPULSE17 
UB_IMPULSE18 
UB_IMPULSE19 
UB_IMPULSE20 
UB_IMPULSE21 
UB_IMPULSE22 
UB_IMPULSE23 
UB_IMPULSE24 
UB_IMPULSE25 
UB_IMPULSE26 
UB_IMPULSE27 
UB_IMPULSE28 
UB_IMPULSE29 
UB_IMPULSE30 
UB_IMPULSE31 
UB_IMPULSE32 
UB_IMPULSE33 
UB_IMPULSE34 
UB_IMPULSE35 
UB_IMPULSE36 
UB_IMPULSE37 
UB_IMPULSE38 
UB_IMPULSE39 
UB_IMPULSE40 
UB_IMPULSE41 
UB_IMPULSE42 
UB_IMPULSE43 
UB_IMPULSE44 
UB_IMPULSE45 
UB_IMPULSE46 
UB_IMPULSE47 
UB_IMPULSE48 
UB_IMPULSE49 
UB_IMPULSE50 
UB_IMPULSE51 
UB_IMPULSE52 
UB_IMPULSE53 
UB_IMPULSE54 
UB_IMPULSE55 
UB_IMPULSE56 
UB_IMPULSE57 
UB_IMPULSE58 
UB_IMPULSE59 
UB_IMPULSE60 
UB_IMPULSE61 
UB_IMPULSE62 
UB_IMPULSE63 
UB_MAX_BUTTONS 

Definition at line 68 of file UsercmdGen.cpp.

Variable Documentation

const int KEY_MOVESPEED = 127

Definition at line 66 of file UsercmdGen.cpp.

const int MAX_CHAT_BUFFER = 127

Definition at line 307 of file UsercmdGen.cpp.

const int NUM_USER_COMMANDS = sizeof(userCmdStrings) / sizeof(userCmdString_t)

Definition at line 305 of file UsercmdGen.cpp.

idUsercmdGen* usercmdGen = &localUsercmdGen

Definition at line 419 of file UsercmdGen.cpp.

userCmdString_t userCmdStrings[]

Definition at line 171 of file UsercmdGen.cpp.