X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2FABM2.git;a=blobdiff_plain;f=ABM2%2FPlayground.cpp;h=a115d520a757d77ccd4b8b5692693db1c6ba4be3;hp=edf532567810cc65b9604ebbf8327df29019df07;hb=f96b3a5be4bd9b5193297a5b7f9ff260f467b141;hpb=54095309978b21c4dc407e7b5d8aca4ad5c1bee3 diff --git a/ABM2/Playground.cpp b/ABM2/Playground.cpp index edf5325..a115d52 100755 --- a/ABM2/Playground.cpp +++ b/ABM2/Playground.cpp @@ -501,11 +501,13 @@ Item:: Item(LPDIRECT3DTEXTURE9 t, int texnr, int subwidth, int subheight, int co subitem_height = subheight; subitem_width = subwidth; } +#endif // WIN32 Item::~Item() { } +#ifdef WIN32 void Item::Draw() { D3DXVECTOR3 center(0.0f, 0.0f, 0.0f); // center at the upper-left corner