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