\r
#pragma warning ( disable : 4786 )\r
\r
-\r
#include <iostream>\r
#include <ostream>\r
#include <istream>\r
#include <cmath>\r
#include <ctime>\r
\r
-#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