comparison Party.h @ 141:cca78efb377e

Constants -> enums
author Nomad
date Tue, 12 Feb 2013 03:02:13 +0200
parents 1c471f3629fb
children 1f0af5cac2dd
comparison
equal deleted inserted replaced
140:f4d7a9a8c363 141:cca78efb377e
12 12
13 13
14 14
15 15
16 /* 355 */ 16 /* 355 */
17 enum PARTY_FLAGS_2 : __int32 17 enum PARTY_FLAGS_1: __int32
18 {
19 PARTY_FLAGS_1_LANDING = 0x100,
20 };
21 enum PARTY_FLAGS_2: __int32
18 { 22 {
19 PARTY_FLAGS_2_RUNNING = 0x2, 23 PARTY_FLAGS_2_RUNNING = 0x2,
20 }; 24 };
21 25
22 /* 347 */ 26 /* 347 */
172 inline bool FlyActive() {return pPartyBuffs[PARTY_BUFF_FLY].uExpireTime > 0;} 176 inline bool FlyActive() {return pPartyBuffs[PARTY_BUFF_FLY].uExpireTime > 0;}
173 inline bool WaterWalkActive() {return pPartyBuffs[PARTY_BUFF_WATER_WALK].uExpireTime > 0;} 177 inline bool WaterWalkActive() {return pPartyBuffs[PARTY_BUFF_WATER_WALK].uExpireTime > 0;}
174 inline bool ImmolationActive() {return pPartyBuffs[PARTY_BUFF_IMMOLATION].uExpireTime > 0;} 178 inline bool ImmolationActive() {return pPartyBuffs[PARTY_BUFF_IMMOLATION].uExpireTime > 0;}
175 inline bool ImmolationSkillLevel() {return pPartyBuffs[PARTY_BUFF_IMMOLATION].uSkill;} 179 inline bool ImmolationSkillLevel() {return pPartyBuffs[PARTY_BUFF_IMMOLATION].uSkill;}
176 inline bool FeatherFallActive() {return pPartyBuffs[PARTY_BUFF_FEATHER_FALL].uExpireTime > 0;} 180 inline bool FeatherFallActive() {return pPartyBuffs[PARTY_BUFF_FEATHER_FALL].uExpireTime > 0;}
181 inline bool Invisible() {return pPartyBuffs[PARTY_BUFF_INVISIBILITY].uExpireTime > 0;}
177 182
178 183
179 int field_0; 184 int field_0;
180 unsigned int uPartyHeight; 185 unsigned int uPartyHeight;
181 unsigned int uDefaultPartyHeight; 186 unsigned int uDefaultPartyHeight;