From 5574eccebd16ae38a2a21ed202d1f9d1ba8f67a4 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Wed, 26 Dec 2012 20:58:02 +0100 Subject: Engine optimization - rewritten model management - new class CModelManager - rewritten engine object structure in CEngine - created shared model data instead of separate objects per each model instance - minor refactoring --- src/app/app.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/app/app.h') diff --git a/src/app/app.h b/src/app/app.h index c4288c1..d8f6206 100644 --- a/src/app/app.h +++ b/src/app/app.h @@ -42,6 +42,10 @@ class CEventQueue; class CRobotMain; class CSoundInterface; +namespace Gfx { +class CModelManager; +} + /** * \struct JoystickDevice * \brief Information about a joystick device @@ -369,11 +373,15 @@ protected: Gfx::CEngine* m_engine; //! Graphics device Gfx::CDevice* m_device; + //! 3D models manager + Gfx::CModelManager* m_modelManager; //! Sound subsystem CSoundInterface* m_sound; //! Main class of the proper game engine CRobotMain* m_robotMain; + //! Plugin manager CPluginManager* m_pluginManager; + //! Profile (INI) reader/writer CProfile* m_profile; //! Code to return at exit @@ -449,7 +457,5 @@ protected: //! Low cpu mode bool m_lowCPU; - - int m_useVbo; // TODO: temporary }; -- cgit v1.2.3-1-g7c22