X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=ABM2%2FPlayground.h;h=99896744af2675deb649af4f06644b6cdc340999;hb=66098f209ae8d9e953a8329f9007cf5e6096e178;hp=9cb5e22063f7ca47c2ccfc8d137da2bef014159c;hpb=4ab7ea7617b0c8cb1ab19bea1d439b3d1bb9839c;p=matthijs%2FABM2.git diff --git a/ABM2/Playground.h b/ABM2/Playground.h index 9cb5e22..9989674 100755 --- a/ABM2/Playground.h +++ b/ABM2/Playground.h @@ -16,7 +16,7 @@ enum TMoveDirection { N,NNE,NE,NEE,E,SEE,SE,SSE,S,SSW,SW,SWW,W,NWW,NW,NNW }; //( class Bomberman { public: - Bomberman(int xloc, int yloc); + Bomberman(const CMMPointer &sprite, int xloc, int yloc); ~Bomberman(); void Update(); void move(int xloc, int yloc); @@ -34,9 +34,7 @@ public: int getFieldCenterY(); private: int x,y; -#ifdef WIN32 - LPDIRECT3DTEXTURE9 texture; -#endif // WIN32 + CMMPointer sprite; }; class Tile @@ -59,10 +57,6 @@ public: void Stop(); AUTO_SIZE; private: -#ifdef WIN32 - LPDIRECT3DTEXTURE9 background; - LPDIRECT3DTEXTURE9 foreground; -#endif // WIN32 Bomberman *bomberman; Tile *field[PLAYGROUND_COLS][PLAYGROUND_ROWS];