From 7874aca10ce6da823f88e8aabe4a0ea6431cc480 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Sun, 16 Jun 2013 21:39:21 +0200 Subject: Enhanced logging, option to auto-start mission * added logging of application events * changed debug mode flag to independent debug modes * added option to auto-start mission (load a mission immediately after startup) * removed "enum value out of range" prints * some refactoring --- src/graphics/engine/modelfile.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/graphics/engine/modelfile.h') diff --git a/src/graphics/engine/modelfile.h b/src/graphics/engine/modelfile.h index 9a01f78..3b4019b 100644 --- a/src/graphics/engine/modelfile.h +++ b/src/graphics/engine/modelfile.h @@ -137,6 +137,9 @@ public: //! Returns the triangle vector const std::vector& GetTriangles(); + //! Controls printing of debug information + void SetPrintDebugInfo(bool printDebugInfo); + protected: //@{ //! @deprecated min, max conversions @@ -147,6 +150,7 @@ protected: protected: //! Model triangles std::vector m_triangles; + bool m_printDebugInfo; }; }; // namespace Gfx -- cgit v1.2.3-1-g7c22