X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=ABM2%2FPlayground.h;h=bed17cccd2a23abd3f565e2b816a82d5a174ce56;hb=357a451150c18b27f99cecd5f9d13be1ae5a9fdf;hp=1c99ab4030b095164f1e8a079a20255c783e1ca2;hpb=0835c5605c80efd286ccb7eff92fffc07689f359;p=matthijs%2FABM2.git diff --git a/ABM2/Playground.h b/ABM2/Playground.h index 1c99ab4..bed17cc 100755 --- a/ABM2/Playground.h +++ b/ABM2/Playground.h @@ -33,19 +33,25 @@ public: int getFieldCenterX(); int getFieldCenterY(); private: +#ifdef WIN32 int x,y; LPDIRECT3DTEXTURE9 texture; +#endif // WIN32 }; class Item { public: +#ifdef WIN32 Item(LPDIRECT3DTEXTURE9 t, int texnr, int subwidth, int subheight, int colnr, int rownr); +#endif // WIN32 ~Item(); void Draw(); int col, row, tex_num, subitem_height, subitem_width; private: +#ifdef WIN32 LPDIRECT3DTEXTURE9 texture; +#endif // WIN32 }; class Playground : public ITask @@ -56,6 +62,7 @@ public: void Stop(); AUTO_SIZE; private: +#ifdef WIN32 LPDIRECT3DTEXTURE9 background; LPDIRECT3DTEXTURE9 foreground; @@ -68,4 +75,5 @@ private: void move_left(); DWORD old_counter; +#endif // WIN32 };