LPD3DXFONT font;\r
\r
#endif\r
+\r
+Playground::Playground(CKernel* kernel) {\r
+ this->kernel = kernel;\r
+}\r
+\r
bool Playground::Start()\r
{\r
#if WIN32\r
\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
field[0][1] = NULL;\r
}\r
\r
-\r
old_counter = GetTickCount();\r
return true;\r
}\r
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