Mercurial > mm7
comparison DecorationList.h @ 380:2f67762d04f6
DecorationDesc: flags -> methods
author | Nomad |
---|---|
date | Fri, 22 Feb 2013 22:34:35 +0200 |
parents | 5bea494a2365 |
children | 39eaa6b00141 |
comparison
equal
deleted
inserted
replaced
379:5bea494a2365 | 380:2f67762d04f6 |
---|---|
23 | 23 |
24 /* 54 */ | 24 /* 54 */ |
25 #pragma pack(push, 1) | 25 #pragma pack(push, 1) |
26 struct DecorationDesc | 26 struct DecorationDesc |
27 { | 27 { |
28 inline bool SoundOnDawn() {return uFlags & DECORATION_SOUND_ON_DAWN;} | 28 inline bool CanMoveThrough() {return uFlags & DECORATION_MOVE_THROUGH;} |
29 inline bool SoundOnDusk() {return uFlags & DECORATION_SOUND_ON_DUSK;} | 29 inline bool DontDraw() {return uFlags & DECORATION_DONT_DRAW;} |
30 inline bool SoundOnDawn() {return uFlags & DECORATION_SOUND_ON_DAWN;} | |
31 inline bool SoundOnDusk() {return uFlags & DECORATION_SOUND_ON_DUSK;} | |
30 | 32 |
31 char pName[32]; | 33 char pName[32]; |
32 char field_20[32]; | 34 char field_20[32]; |
33 __int16 uType; | 35 __int16 uType; |
34 unsigned __int16 uDecorationHeight; | 36 unsigned __int16 uDecorationHeight; |