* Add SPR_SUB constants.
[matthijs/ABM2.git] / ABM2 / Engine / engine.h
index cd685faa7d70b0cd90f6c24e8e7a302f529837bd..73b70168a0a96aeeb39dff6c586298c9c1fca1d3 100755 (executable)
@@ -3,7 +3,6 @@
 \r
 #pragma warning ( disable : 4786 )\r
 \r
-\r
 #include <iostream>\r
 #include <ostream>\r
 #include <istream>\r
@@ -24,6 +23,7 @@
 #ifdef WIN32\r
 #include <windows.h>\r
 #endif\r
+#include "porting.h"\r
 \r
 //even though resource.h is technically a Win32-resource file, it's just a bunch of defines, so it's ok (and necessary)\r
 #include "resource.h"\r
 #include "misc.h"\r
 #include "math.h"\r
 \r
+/** Where should this be? */\r
+enum SpriteID {\r
+       SPR_NONE = 0,\r
+       SPR_FIELD,\r
+       SPR_TILE,\r
+       SPR_PLAYER,\r
+};\r
+\r
+enum {\r
+       SPR_SUB_BRICK = 0,\r
+       SPR_SUB_SOLID = 1,\r
+       SPR_SUB_CLEAR = 2,\r
+};\r
+\r
 #endif\r