forked from elonafoobar/elonafoobar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenums.hpp
88 lines (75 loc) · 1.36 KB
/
enums.hpp
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#pragma once
namespace elona
{
enum class curse_state_t
{
doomed,
cursed,
none,
blessed,
};
inline bool is_cursed(curse_state_t s)
{
return s <= curse_state_t::cursed;
}
enum class identification_state_t
{
unidentified,
partly_identified,
almost_identified,
completely_identified,
};
enum class damage_source_t : int
{
trap = -1,
overcasting = -2,
starvation = -3,
poisoning = -4,
curse = -5,
backpack_weight = -6,
fall_from_stairs = -7,
audience = -8,
burn = -9,
adventuring = -10, // used in unused casino codepath
unseen_hand = -11,
food_poisoning = -12,
blood_loss = -13,
ether_disease = -14,
acid = -15,
shatter = -16,
atomic_bomb = -17,
iron_maiden = -18,
guillotine = -19,
hanging = -20,
mochi = -21,
};
enum class turn_result_t
{
none,
all_turns_finished,
initialize_map,
pass_one_turn,
pass_one_turn_freeze_time,
play_scene,
turn_begin,
turn_end,
pc_turn,
pc_turn_user_error,
npc_turn,
exit_map,
pc_died,
finish_elona,
show_house_board,
show_skill_list,
show_spell_list,
show_chat_history,
show_message_log,
show_quest_board,
menu_journal,
menu_materials,
menu_character_sheet,
menu_equipment,
menu_feats,
ctrl_inventory,
};
} // namespace elona