diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2013-06-17 11:48:57 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2013-06-17 11:48:57 +0200 |
commit | b4700e3bedc52f9fc7b5008ae06c4e6f9e3fe130 (patch) | |
tree | 04133fcf6008ca91386035baffc8d2c73d919c54 /src/graphics/engine/engine.h | |
parent | 7874aca10ce6da823f88e8aabe4a0ea6431cc480 (diff) | |
download | colobot-b4700e3bedc52f9fc7b5008ae06c4e6f9e3fe130.tar.gz colobot-b4700e3bedc52f9fc7b5008ae06c4e6f9e3fe130.tar.bz2 colobot-b4700e3bedc52f9fc7b5008ae06c4e6f9e3fe130.zip |
Fix for #133
* objects are now copied and textures are updated correctly
* also added function to debug objects
Diffstat (limited to 'src/graphics/engine/engine.h')
-rw-r--r-- | src/graphics/engine/engine.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/graphics/engine/engine.h b/src/graphics/engine/engine.h index 27aa5dc..207ae27 100644 --- a/src/graphics/engine/engine.h +++ b/src/graphics/engine/engine.h @@ -118,7 +118,7 @@ enum EngineRenderState //! Mode for rendering text ENG_RSTATE_TEXT = (1<<18), //! Only opaque texture, no blending, etc. - ENG_RSTATE_OPAQUE_TEXTURE = (1<<19), + ENG_RSTATE_OPAQUE_TEXTURE = (1<<19), //! Only opaque color, no texture, blending, etc. ENG_RSTATE_OPAQUE_COLOR = (1<<20) }; @@ -807,6 +807,9 @@ public: // Objects + //! Print debug info about an object + void DebugObject(int rank); + //! Creates a new object and returns its rank int CreateObject(); //! Deletes all objects, shadows and ground spots |