diff Engine/Graphics/Indoor.h @ 2572:d87bfbd3bb3b

Step towards unification of Texture and RGBTexture (class Image)
author a.parshin
date Sat, 05 Mar 2016 01:51:54 +0200
parents b8a56afc6ba1
children dd36326a9994
line wrap: on
line diff
--- a/Engine/Graphics/Indoor.h	Mon Oct 05 00:19:13 2015 +0200
+++ b/Engine/Graphics/Indoor.h	Sat Mar 05 01:51:54 2016 +0200
@@ -344,6 +344,10 @@
   unsigned __int16 uIndex;
   unsigned __int16 uAttributes;
   unsigned int uGroup;
+
+  inline bool IsMonsterSpawn() const { return uKind == 3; }
+  inline bool IsTreasureSpawn() const { return uKind != 3; }
+
 };
 #pragma pack(pop)