projects
/
matthijs
/
ABM2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* ifdef back ~Item, to make everything compile and even link!
[matthijs/ABM2.git]
/
ABM2
/
Playground.cpp
diff --git
a/ABM2/Playground.cpp
b/ABM2/Playground.cpp
index edf532567810cc65b9604ebbf8327df29019df07..a115d520a757d77ccd4b8b5692693db1c6ba4be3 100755
(executable)
--- 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;
\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