Mercurial > mm7
diff DecorationList.h @ 380:2f67762d04f6
DecorationDesc: flags -> methods
author | Nomad |
---|---|
date | Fri, 22 Feb 2013 22:34:35 +0200 |
parents | 5bea494a2365 |
children | 39eaa6b00141 |
line wrap: on
line diff
--- a/DecorationList.h Fri Feb 22 22:26:51 2013 +0200 +++ b/DecorationList.h Fri Feb 22 22:34:35 2013 +0200 @@ -25,8 +25,10 @@ #pragma pack(push, 1) struct DecorationDesc { - inline bool SoundOnDawn() {return uFlags & DECORATION_SOUND_ON_DAWN;} - inline bool SoundOnDusk() {return uFlags & DECORATION_SOUND_ON_DUSK;} + inline bool CanMoveThrough() {return uFlags & DECORATION_MOVE_THROUGH;} + inline bool DontDraw() {return uFlags & DECORATION_DONT_DRAW;} + inline bool SoundOnDawn() {return uFlags & DECORATION_SOUND_ON_DAWN;} + inline bool SoundOnDusk() {return uFlags & DECORATION_SOUND_ON_DUSK;} char pName[32]; char field_20[32];