Sort include order.
[gemrb.git] / gemrb / includes / opcode_params.h
blob4782f827e91107cbb9c8a65e35320cd35ea40d8f
1 /* GemRB - Infinity Engine Emulator
2 * Copyright (C) 2003 The GemRB Project
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 /**
22 * @file opcode_params.h
23 * Definitions for effect opcode parameters
24 * @author The GemRB Project
27 #ifndef IE_OPCODE_PARAMS_H
28 #define IE_OPCODE_PARAMS_H
30 //regen/poison/disease types
31 #define RPD_PERCENT 1
32 #define RPD_POINTS 2
33 #define RPD_SECONDS 3
34 //only poison
35 #define RPD_ROUNDS 4
36 #define RPD_TURNS 5
37 //only disease
38 #define RPD_STR 4
39 #define RPD_DEX 5
40 #define RPD_CON 6
41 #define RPD_INT 7
42 #define RPD_WIS 8
43 #define RPD_CHA 9
44 #define RPD_SLOW 10
46 //appply spell on condition
47 #define COND_GOTHIT 0
48 #define COND_NEAR 1
49 #define COND_HP_HALF 2
50 #define COND_HP_QUART 3
51 #define COND_HP_LOW 4
52 #define COND_HELPLESS 5
53 #define COND_POISONED 6
54 #define COND_ATTACKED 7
55 #define COND_HIT 8
56 #define COND_ALWAYS 9
58 //resources for the seven eyes effect
59 #define EYE_MIND 0
60 #define EYE_SWORD 1
61 #define EYE_MAGE 2
62 #define EYE_VENOM 3
63 #define EYE_SPIRIT 4
64 #define EYE_FORT 5
65 #define EYE_STONE 6
67 //spell states
68 #define SS_HOPELESSNESS 0
69 #define SS_PROTFROMEVIL 1
70 #define SS_ARMOROFFAITH 2
71 #define SS_NAUSEA 3
72 #define SS_ENFEEBLED 4
73 #define SS_FIRESHIELD 5
74 #define SS_ICESHIELD 6
75 #define SS_HELD 7
76 #define SS_DEATHWARD 8
77 #define SS_HOLYPOWER 9
78 #define SS_GOODCHANT 10
79 #define SS_BADCHANT 11
80 #define SS_GOODPRAYER 12
81 #define SS_BADPRAYER 13
82 #define SS_GOODRECIT 14
83 #define SS_BADRECIT 15
84 #define SS_RIGHTEOUS 16 //allied
85 #define SS_RIGHTEOUS2 17 //allied and same alignment
86 #define SS_STONESKIN 18
87 #define SS_IRONSKIN 19
88 #define SS_SANCTUARY 20
89 #define SS_RESILIENT 21
90 #define SS_BLESS 22
91 #define SS_AID 23
92 #define SS_BARKSKIN 24
93 #define SS_HOLYMIGHT 25
94 #define SS_ENTANGLE 26
95 #define SS_WEB 27
96 #define SS_GREASE 28
97 #define SS_FREEACTION 29
98 #define SS_ENTROPY 30
99 #define SS_STORMSHELL 31
100 #define SS_ELEMPROT 32
101 #define SS_BERSERK 33
102 #define SS_BLOODRAGE 34
103 #define SS_NOHPINFO 35
104 #define SS_NOAWAKE 36
105 #define SS_AWAKE 37
106 #define SS_DEAF 38
107 #define SS_ANIMALRAGE 39
108 #define SS_NOBACKSTAB 40
109 #define SS_CHAOTICCMD 41
110 #define SS_MISCAST 42
111 #define SS_PAIN 43
112 #define SS_MALISON 44
113 //#define SS_CATSGRACE 45 //used explicitly
114 #define SS_MOLDTOUCH 46
115 #define SS_FLAMESHROUD 47
116 #define SS_EYEMIND 48
117 #define SS_EYESWORD 49
118 #define SS_EYEMAGE 50
119 #define SS_EYEVENOM 51
120 #define SS_EYESPIRIT 52
121 #define SS_EYEFORTITUDE 53
122 #define SS_EYESTONE 54
123 #define SS_AEGIS 55
124 #define SS_EXECUTIONER 56
125 #define SS_ENERGYDRAIN 57
126 #define SS_TORTOISE 58
127 #define SS_BLINK 59
128 #define SS_MINORGLOBE 60
129 #define SS_PROTFROMMISS 61
130 #define SS_GHOSTARMOR 62
131 #define SS_REFLECTION 63
132 #define SS_KAI 64
133 #define SS_CALLEDSHOT 65
134 #define SS_MIRRORIMAGE 66
135 #define SS_TURNED 67
136 #define SS_BLADEBARRIER 68
137 #define SS_POISONWEAPON 69
138 #define SS_STUNNINGBLOW 70
139 #define SS_QUIVERPALM 71
140 #define SS_DOMINATION 72
141 #define SS_MAJORGLOBE 73
142 #define SS_SHIELD 74
143 #define SS_ANTIMAGIC 75
144 #define SS_POWERATTACK 76
145 //more powerattack
146 #define SS_EXPERTISE 81
147 //more expertise
148 #define SS_ARTERIAL 86
149 #define SS_HAMSTRING 87
150 #define SS_RAPIDSHOT 88
151 #define SS_IRONBODY 89
152 #define SS_TENSER 90
153 #define SS_SMITEEVIL 91
154 #define SS_ALICORNLANCE 92
155 #define SS_LIGHTNING 93
156 #define SS_CHAMPIONS 94
157 #define SS_BONECIRCLE 95
158 #define SS_CLOAKOFFEAR 96
159 #define SS_PESTILENCE 97
160 #define SS_CONTAGION 98
161 #define SS_BANE 99
162 #define SS_DEFENSIVE 100
163 #define SS_DESTRUCTION 101
164 #define SS_DOLOROUS 102
165 #define SS_DOOM 103
166 #define SS_EXALTATION 104
167 #define SS_FAERIEFIRE 105
168 #define SS_FINDTRAPS 106
169 #define SS_GREATERLATH 107
170 #define SS_MAGICRESIST 108
171 #define SS_NPROTECTION 109
172 #define SS_PROTFROMFIRE 110
173 #define SS_PROTFROMLIGHTNING 111
174 #define SS_ELEMENTAL 112
175 #define SS_LATHANDER 113
176 #define SS_SLOWPOISON 114
177 #define SS_SPELLSHIELD 115
178 #define SS_STATICCHARGE 116
179 #define SS_ACIDARROW 117
180 #define SS_FREEZING 118
181 #define SS_PROTFROMACID 119
182 #define SS_PROTFROMELEC 120
183 #define SS_PFNMISSILES 121
184 #define SS_PROTFROMPETR 122
185 #define SS_ENFEEBLEMENT 123
186 #define SS_SEVENEYES 124
187 //#define SS_SOULEATER 125
189 #define SS_LOWERRESIST 140
190 #define SS_LUCK 141
191 //tested for this, splstate is wrong or this entry has two uses
192 #define SS_DAYBLINDNESS 178
193 #define SS_REBUKED 179
195 #endif //IE_OPCODE_PARAMS_H