comparison engine/core/controller/engine.i @ 642:6e2151325017

* Added the ability to query the current running screen mode * Added a method to detect the closest supported screen mode (not complete yet). If no matching screen modes are detected an exception is thrown. * Small change to the way the screen is initialized. The screen mode now MUST be in the supported screen mode list before the screen will initialize.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 08 Oct 2010 21:22:02 +0000
parents 855ad500f991
children 51bbda7676f0
comparison
equal deleted inserted replaced
641:52708806f35c 642:6e2151325017
38 class GuiFont; 38 class GuiFont;
39 class VFS; 39 class VFS;
40 class Cursor; 40 class Cursor;
41 class RendererBase; 41 class RendererBase;
42 class DeviceCaps; 42 class DeviceCaps;
43 class ScreenMode;
43 44
44 class EngineSettings { 45 class EngineSettings {
45 public: 46 public:
46 ~EngineSettings(); 47 ~EngineSettings();
47 void validate() const; 48 void validate() const;
91 void initializePumping(); 92 void initializePumping();
92 void finalizePumping(); 93 void finalizePumping();
93 void pump(); 94 void pump();
94 95
95 EngineSettings& getSettings(); 96 EngineSettings& getSettings();
96 DeviceCaps& getDeviceCaps(); 97 const DeviceCaps& getDeviceCaps() const;
98 const ScreenMode& getCurrentScreenMode() const;
97 99
98 void init(); 100 void init();
99 void destroy(); 101 void destroy();
100 102
101 SoundManager* getSoundManager(); 103 SoundManager* getSoundManager();