-
Notifications
You must be signed in to change notification settings - Fork 1
/
actions.h
51 lines (43 loc) · 888 Bytes
/
actions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef ACTIONS_H
#define ACTIONS_H
enum ACTION {
ACTION_NOTHING=0,
ACTION_WAIT,
ACTION_MOVE,
ACTION_GET,
ACTION_INVENTORY, /* every operation in inventory takes the same time */
ACTION_FIRE,
ACTION_SHOW_HELP,
ACTION_INC_FIRE,
ACTION_DEC_FIRE,
ACTION_OPTIONS,
ACTION_RELOAD,
ACTION_SHOW_INFO,
ACTION_LOOK,
ACTION_SHOW_VISIBLE,
ACTION_OPEN,
ACTION_CLOSE,
ACTION_THROW,
ACTION_WAIT_STUNNED,
ACTION_STAIRS_UP,
ACTION_STAIRS_DOWN,
ACTION_REST,
ACTION_ATTACK,
ACTION_BUILD_ROBOT,
ACTION_SHOW_MESSAGE_BUFFER,
ACTION_ACTIVATE_ARMOR,
ACTION_ACTIVATE_WEAPON,
ACTION_SHOUT,
ACTION_ATTACK_2,
ACTION_ATTACK_3,
ACTION_ATTACK_4,
ACTION_ATTACK_5,
ACTION_EXPLORE,
ACTION_TRAVEL,
ACTION_SAVE=254,
ACTION_QUIT=255
};
typedef unsigned long TIME;
#define TIME_LEVEL_CHANGE 0xFFFFFFFF
#define TIME_MOVE 100
#endif