doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Enumerations | Variables
UsercmdGen.h File Reference

Go to the source code of this file.

Classes

class  usercmd_t
 
class  idUsercmdGen
 

Enumerations

enum  inhibit_t { INHIBIT_SESSION = 0, INHIBIT_ASYNC }
 

Variables

const int USERCMD_HZ = 60
 
const int USERCMD_MSEC = 1000 / USERCMD_HZ
 
const int BUTTON_ATTACK = BIT(0)
 
const int BUTTON_RUN = BIT(1)
 
const int BUTTON_ZOOM = BIT(2)
 
const int BUTTON_SCORES = BIT(3)
 
const int BUTTON_MLOOK = BIT(4)
 
const int BUTTON_5 = BIT(5)
 
const int BUTTON_6 = BIT(6)
 
const int BUTTON_7 = BIT(7)
 
const int IMPULSE_0 = 0
 
const int IMPULSE_1 = 1
 
const int IMPULSE_2 = 2
 
const int IMPULSE_3 = 3
 
const int IMPULSE_4 = 4
 
const int IMPULSE_5 = 5
 
const int IMPULSE_6 = 6
 
const int IMPULSE_7 = 7
 
const int IMPULSE_8 = 8
 
const int IMPULSE_9 = 9
 
const int IMPULSE_10 = 10
 
const int IMPULSE_11 = 11
 
const int IMPULSE_12 = 12
 
const int IMPULSE_13 = 13
 
const int IMPULSE_14 = 14
 
const int IMPULSE_15 = 15
 
const int IMPULSE_16 = 16
 
const int IMPULSE_17 = 17
 
const int IMPULSE_18 = 18
 
const int IMPULSE_19 = 19
 
const int IMPULSE_20 = 20
 
const int IMPULSE_21 = 21
 
const int IMPULSE_22 = 22
 
const int IMPULSE_23 = 23
 
const int IMPULSE_24 = 24
 
const int IMPULSE_25 = 25
 
const int IMPULSE_26 = 26
 
const int IMPULSE_27 = 27
 
const int IMPULSE_28 = 28
 
const int IMPULSE_29 = 29
 
const int IMPULSE_40 = 40
 
const int UCF_IMPULSE_SEQUENCE = 0x0001
 
const int MAX_BUFFERED_USERCMD = 64
 
idUsercmdGenusercmdGen
 

Enumeration Type Documentation

enum inhibit_t
Enumerator
INHIBIT_SESSION 
INHIBIT_ASYNC 

Definition at line 110 of file UsercmdGen.h.

Variable Documentation

const int BUTTON_5 = BIT(5)

Definition at line 49 of file UsercmdGen.h.

const int BUTTON_6 = BIT(6)

Definition at line 50 of file UsercmdGen.h.

const int BUTTON_7 = BIT(7)

Definition at line 51 of file UsercmdGen.h.

const int BUTTON_ATTACK = BIT(0)

Definition at line 44 of file UsercmdGen.h.

const int BUTTON_MLOOK = BIT(4)

Definition at line 48 of file UsercmdGen.h.

const int BUTTON_RUN = BIT(1)

Definition at line 45 of file UsercmdGen.h.

const int BUTTON_SCORES = BIT(3)

Definition at line 47 of file UsercmdGen.h.

const int BUTTON_ZOOM = BIT(2)

Definition at line 46 of file UsercmdGen.h.

const int IMPULSE_0 = 0

Definition at line 54 of file UsercmdGen.h.

const int IMPULSE_1 = 1

Definition at line 55 of file UsercmdGen.h.

const int IMPULSE_10 = 10

Definition at line 64 of file UsercmdGen.h.

const int IMPULSE_11 = 11

Definition at line 65 of file UsercmdGen.h.

const int IMPULSE_12 = 12

Definition at line 66 of file UsercmdGen.h.

const int IMPULSE_13 = 13

Definition at line 67 of file UsercmdGen.h.

const int IMPULSE_14 = 14

Definition at line 68 of file UsercmdGen.h.

const int IMPULSE_15 = 15

Definition at line 69 of file UsercmdGen.h.

const int IMPULSE_16 = 16

Definition at line 70 of file UsercmdGen.h.

const int IMPULSE_17 = 17

Definition at line 71 of file UsercmdGen.h.

const int IMPULSE_18 = 18

Definition at line 72 of file UsercmdGen.h.

const int IMPULSE_19 = 19

Definition at line 73 of file UsercmdGen.h.

const int IMPULSE_2 = 2

Definition at line 56 of file UsercmdGen.h.

const int IMPULSE_20 = 20

Definition at line 74 of file UsercmdGen.h.

const int IMPULSE_21 = 21

Definition at line 75 of file UsercmdGen.h.

const int IMPULSE_22 = 22

Definition at line 76 of file UsercmdGen.h.

const int IMPULSE_23 = 23

Definition at line 77 of file UsercmdGen.h.

const int IMPULSE_24 = 24

Definition at line 78 of file UsercmdGen.h.

const int IMPULSE_25 = 25

Definition at line 79 of file UsercmdGen.h.

const int IMPULSE_26 = 26

Definition at line 80 of file UsercmdGen.h.

const int IMPULSE_27 = 27

Definition at line 81 of file UsercmdGen.h.

const int IMPULSE_28 = 28

Definition at line 82 of file UsercmdGen.h.

const int IMPULSE_29 = 29

Definition at line 83 of file UsercmdGen.h.

const int IMPULSE_3 = 3

Definition at line 57 of file UsercmdGen.h.

const int IMPULSE_4 = 4

Definition at line 58 of file UsercmdGen.h.

const int IMPULSE_40 = 40

Definition at line 84 of file UsercmdGen.h.

const int IMPULSE_5 = 5

Definition at line 59 of file UsercmdGen.h.

const int IMPULSE_6 = 6

Definition at line 60 of file UsercmdGen.h.

const int IMPULSE_7 = 7

Definition at line 61 of file UsercmdGen.h.

const int IMPULSE_8 = 8

Definition at line 62 of file UsercmdGen.h.

const int IMPULSE_9 = 9

Definition at line 63 of file UsercmdGen.h.

const int MAX_BUFFERED_USERCMD = 64

Definition at line 115 of file UsercmdGen.h.

const int UCF_IMPULSE_SEQUENCE = 0x0001

Definition at line 87 of file UsercmdGen.h.

const int USERCMD_HZ = 60

Definition at line 40 of file UsercmdGen.h.

const int USERCMD_MSEC = 1000 / USERCMD_HZ

Definition at line 41 of file UsercmdGen.h.

idUsercmdGen* usercmdGen

Definition at line 419 of file UsercmdGen.cpp.