* Fix casing of the scheme filename.
[matthijs/ABM2.git] / ABM2 / Playground.cpp
index edf532567810cc65b9604ebbf8327df29019df07..7b686e16f35c41620b1d37a483fba2958b6e2298 100755 (executable)
@@ -66,7 +66,7 @@ bool Playground::Start()
 \r
        #endif\r
        // init playing field\r
-       SchemeReader *scheme = new SchemeReader("data/schemes/BASIC.SCH");\r
+       SchemeReader *scheme = new SchemeReader("Data/schemes/BASIC.SCH");\r
        for (int i=0; i<PLAYGROUND_COLS; ++i) \r
        {\r
                for (int j=0; j<PLAYGROUND_ROWS; ++j)\r
@@ -115,7 +115,6 @@ bool Playground::Start()
                field[0][1] = NULL;\r
        }\r
 \r
-\r
        old_counter = GetTickCount();\r
        return true;\r
 }\r
@@ -501,11 +500,13 @@ Item::    Item(LPDIRECT3DTEXTURE9 t, int texnr, int subwidth, int subheight, int co
        subitem_height = subheight;\r
        subitem_width = subwidth;\r
 }\r
+#endif // WIN32\r
 \r
 Item::~Item()\r
 {\r
 }\r
 \r
+#ifdef WIN32\r
 void Item::Draw()\r
 {\r
        D3DXVECTOR3 center(0.0f, 0.0f, 0.0f);    // center at the upper-left corner\r