DarthMike / indielib-crossplatform

IndieLib is a cross-platform Game Graphics engine. Main focus is OpenGL ES 2.0 for mobile iOS operating system, and OpenGL desktop. **NOT SUPPORTED ANYMORE**
zlib License
61 stars 27 forks source link

We assign, for debug purposes, the ID of an entity/surface as the address it has (integer) #15

Closed M-F-K closed 12 years ago

M-F-K commented 12 years ago

Should be a real ID, it's not portable, specially in different compilers the ugly cast is reported as an error.

See these files: IND_Entity2dManager.cpp IND_SurfaceManager.cpp

And search for the text "g_debug->dataInt((int)"

to see the affected lines. Now they are commented out.

DarthMike commented 12 years ago

Removed Ids from surfaces (make sense?), added static unsigned int for Ids in entitties. May be not best solution but nothing in lib uses these Ids...