Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
constants.c
Go to the documentation of this file.
1 
13 const int INPUT_MODULE_TYPE_MASK = 0x00700000;
14 const int INPUT_KEY_MASK = 0x000000ff;
15 const int INPUT_ACTION_TYPE_MASK = 0x00000f00;
16 const int INPUT_AXIS = 0x00010000;
17 const int INPUT_POV = 0x00020000;
18 const int INPUT_COMBO_MASK = 0xff000000;
19 const int INPUT_COMBO_AXIS = 0x00800000;
20 const int INPUT_COMBO_AXIS_OFFSET = 0x00000080;
21 const int INPUT_COMBO_KEY_OFFSET = 0x01000000;
22 
23 const int INPUT_DEVICE_KEYBOARD = 0x00000000;
24 const int INPUT_DEVICE_MOUSE = 0x00100000; // mouse button
25 const int INPUT_DEVICE_STICK = 0x00200000;
26 const int INPUT_DEVICE_XINPUT = 0x00300000; // XInput device
27 const int INPUT_DEVICE_TRACKIR = 0x00400000;
28 const int INPUT_DEVICE_GAMEPAD = 0x00500000;
29 const int INPUT_DEVICE_CHEAT = 0x00600000;
30 
31 const int INPUT_ACTION_TYPE_NONE = 0x00000000;
32 const int INPUT_ACTION_TYPE_STATE = 0x00000100;
33 const int INPUT_ACTION_TYPE_DOWN_EVENT = 0x00000200;
34 const int INPUT_ACTION_TYPE_UP_EVENT = 0x00000300;
35 const int INPUT_ACTION_TYPE_SHORTCLICK_EVENT= 0x00000400;
36 const int INPUT_ACTION_TYPE_HOLD_EVENT = 0x00000500;
37 
38 const int INPUT_ACTION_TYPE_COMBO = 0x00002000;
39 const int INPUT_ACTION_TYPE_SPECIALCOMBO = 0x00004000;
40 const int INPUT_ACTION_TYPE_DOUBLETAP = 0x00008000;
41 
46 
54 const string STRING_EMPTY = "";
63 const int COLOR_WHITE = 0xFFFFFFFF;
64 const int COLOR_RED = 0xFFF22613;
65 const int COLOR_GREEN = 0xFF2ECC71;
66 const int COLOR_BLUE = 0xFF4B77BE;
67 const int COLOR_YELLOW = 0xFFF7CA18;
68 
69 const int COLOR_RED_A = 0x1fF22613;
70 const int COLOR_GREEN_A = 0x1f2ECC71;
71 const int COLOR_BLUE_A = 0x1f4B77BE;
72 const int COLOR_YELLOW_A = 0x1fF7CA18;
73 
82 /****************************************************************************
83  * MATERIALS LIST
84  *
85  * Note: If you add new materials here, don't forget to add physics
86  * parameters to them in physics/materials.xml
87  ***************************************************************************/
88 const int MATERIAL_DEFAULT = 0;
89 const int MATERIAL_METAL = 1; //full steel
90 const int MATERIAL_IRON = 2; //iron
91 const int MATERIAL_GLASS = 3; //glass pane
92 const int MATERIAL_PLASTIC = 4; //plastic object
93 const int MATERIAL_LIQUID = 5; //liquids, water
94 const int MATERIAL_SLIME = 6; //slime, oil etc
95 const int MATERIAL_BETON = 7; //concrete
96 const int MATERIAL_RUBBER = 8; //rubber, linoeum
97 const int MATERIAL_FLESH = 9; //flesh, humanoids
98 const int MATERIAL_GRASS = 10; //grass
99 const int MATERIAL_WOOD = 11; //wood
100 const int MATERIAL_SNOW = 12; //snow
101 const int MATERIAL_SAND = 13; //soft sand
102 const int MATERIAL_DIRT = 14; //super-soft dirt
103 const int MATERIAL_GRAVEL = 15; //gravel
104 const int MATERIAL_STONE = 16; //rocks, cliffs
105 
INPUT_DEVICE_GAMEPAD
const int INPUT_DEVICE_GAMEPAD
Definition: constants.c:28
INPUT_DEVICE_TRACKIR
const int INPUT_DEVICE_TRACKIR
Definition: constants.c:27
STRING_EMPTY
const string STRING_EMPTY
Definition: constants.c:54
MATERIAL_BETON
const int MATERIAL_BETON
Definition: constants.c:95
INPUT_DEVICE_STICK_POV
const int INPUT_DEVICE_STICK_POV
Definition: constants.c:44
MATERIAL_WOOD
const int MATERIAL_WOOD
Definition: constants.c:99
INPUT_DEVICE_CHEAT
const int INPUT_DEVICE_CHEAT
Definition: constants.c:29
INPUT_COMBO_KEY_OFFSET
const int INPUT_COMBO_KEY_OFFSET
Definition: constants.c:21
MATERIAL_RUBBER
const int MATERIAL_RUBBER
Definition: constants.c:96
MATERIAL_PLASTIC
const int MATERIAL_PLASTIC
Definition: constants.c:92
INPUT_ACTION_TYPE_UP_EVENT
const int INPUT_ACTION_TYPE_UP_EVENT
Definition: constants.c:34
INPUT_COMBO_AXIS
const int INPUT_COMBO_AXIS
Definition: constants.c:19
MATERIAL_SLIME
const int MATERIAL_SLIME
Definition: constants.c:94
INPUT_COMBO_MASK
const int INPUT_COMBO_MASK
Definition: constants.c:18
MATERIAL_GRASS
const int MATERIAL_GRASS
Definition: constants.c:98
MATERIAL_FLESH
const int MATERIAL_FLESH
Definition: constants.c:97
INPUT_ACTION_TYPE_DOWN_EVENT
const int INPUT_ACTION_TYPE_DOWN_EVENT
Definition: constants.c:33
MATERIAL_STONE
const int MATERIAL_STONE
Definition: constants.c:104
COLOR_YELLOW_A
const int COLOR_YELLOW_A
Definition: constants.c:72
MATERIAL_GRAVEL
const int MATERIAL_GRAVEL
Definition: constants.c:103
INPUT_KEY_MASK
const int INPUT_KEY_MASK
Definition: constants.c:14
COLOR_RED_A
const int COLOR_RED_A
Definition: constants.c:69
COLOR_YELLOW
const int COLOR_YELLOW
Definition: constants.c:67
INPUT_ACTION_TYPE_DOUBLETAP
const int INPUT_ACTION_TYPE_DOUBLETAP
Definition: constants.c:40
MATERIAL_SAND
const int MATERIAL_SAND
Definition: constants.c:101
INPUT_ACTION_TYPE_STATE
const int INPUT_ACTION_TYPE_STATE
Definition: constants.c:32
INPUT_ACTION_TYPE_SPECIALCOMBO
const int INPUT_ACTION_TYPE_SPECIALCOMBO
Definition: constants.c:39
MATERIAL_DEFAULT
const int MATERIAL_DEFAULT
Definition: constants.c:88
MATERIAL_METAL
const int MATERIAL_METAL
Definition: constants.c:89
INPUT_DEVICE_GAMEPAD_AXIS
const int INPUT_DEVICE_GAMEPAD_AXIS
Definition: constants.c:45
INPUT_DEVICE_STICK
const int INPUT_DEVICE_STICK
Definition: constants.c:25
INPUT_ACTION_TYPE_COMBO
const int INPUT_ACTION_TYPE_COMBO
Definition: constants.c:38
INPUT_MODULE_TYPE_MASK
const int INPUT_MODULE_TYPE_MASK
Definition: constants.c:13
INPUT_DEVICE_MOUSE_AXIS
const int INPUT_DEVICE_MOUSE_AXIS
Definition: constants.c:42
MATERIAL_LIQUID
const int MATERIAL_LIQUID
Definition: constants.c:93
MATERIAL_DIRT
const int MATERIAL_DIRT
Definition: constants.c:102
INPUT_ACTION_TYPE_NONE
const int INPUT_ACTION_TYPE_NONE
Definition: constants.c:31
COLOR_GREEN
const int COLOR_GREEN
Definition: constants.c:65
COLOR_BLUE_A
const int COLOR_BLUE_A
Definition: constants.c:71
COLOR_RED
const int COLOR_RED
Definition: constants.c:64
INPUT_AXIS
const int INPUT_AXIS
Definition: constants.c:16
INPUT_ACTION_TYPE_SHORTCLICK_EVENT
const int INPUT_ACTION_TYPE_SHORTCLICK_EVENT
Definition: constants.c:35
INPUT_DEVICE_MOUSE
const int INPUT_DEVICE_MOUSE
Definition: constants.c:24
INPUT_DEVICE_STICK_AXIS
const int INPUT_DEVICE_STICK_AXIS
Definition: constants.c:43
MATERIAL_IRON
const int MATERIAL_IRON
Definition: constants.c:90
MATERIAL_GLASS
const int MATERIAL_GLASS
Definition: constants.c:91
INPUT_DEVICE_KEYBOARD
const int INPUT_DEVICE_KEYBOARD
Definition: constants.c:23
MATERIAL_SNOW
const int MATERIAL_SNOW
Definition: constants.c:100
INPUT_DEVICE_XINPUT
const int INPUT_DEVICE_XINPUT
Definition: constants.c:26
INPUT_POV
const int INPUT_POV
Definition: constants.c:17
COLOR_BLUE
const int COLOR_BLUE
Definition: constants.c:66
COLOR_GREEN_A
const int COLOR_GREEN_A
Definition: constants.c:70
INPUT_COMBO_AXIS_OFFSET
const int INPUT_COMBO_AXIS_OFFSET
Definition: constants.c:20
COLOR_WHITE
const int COLOR_WHITE
Definition: constants.c:63
INPUT_ACTION_TYPE_MASK
const int INPUT_ACTION_TYPE_MASK
Definition: constants.c:15
INPUT_ACTION_TYPE_HOLD_EVENT
const int INPUT_ACTION_TYPE_HOLD_EVENT
Definition: constants.c:36