From: Matthijs Kooijman Date: Mon, 11 Jun 2007 08:06:16 +0000 (+0200) Subject: * ifdef back ~Item, to make everything compile and even link! X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=f96b3a5be4bd9b5193297a5b7f9ff260f467b141;p=matthijs%2FABM2.git * ifdef back ~Item, to make everything compile and even link! --- 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