Mercurial > fife-parpg
comparison engine/core/controller/engine.i @ 635:3094988564d5
* Added a simple method to query the default video card capabilities. This is still a work in progress. You can now get a list of ScreenModes the device supports. ScreenMode includes information on the screen resolution, if the mode is fullscreen/windowed and if it would use the OpenGL or SDL renderer.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 06 Oct 2010 19:19:08 +0000 |
parents | a7909cdcdc85 |
children | 685d250f2c2d |
comparison
equal
deleted
inserted
replaced
634:5f381fa34769 | 635:3094988564d5 |
---|---|
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * | 19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * |
20 ***************************************************************************/ | 20 ***************************************************************************/ |
21 %module fife | 21 %module fife |
22 %{ | 22 %{ |
23 #include "controller/engine.h" | 23 #include "controller/engine.h" |
24 #include "video/devicecaps.h" | |
24 %} | 25 %} |
25 | 26 |
26 namespace FIFE { | 27 namespace FIFE { |
27 | 28 |
28 class SoundManager; | 29 class SoundManager; |
37 class LogManager; | 38 class LogManager; |
38 class GuiFont; | 39 class GuiFont; |
39 class VFS; | 40 class VFS; |
40 class Cursor; | 41 class Cursor; |
41 class RendererBase; | 42 class RendererBase; |
43 class DeviceCaps; | |
42 | 44 |
43 class EngineSettings { | 45 class EngineSettings { |
44 public: | 46 public: |
45 ~EngineSettings(); | 47 ~EngineSettings(); |
46 void validate() const; | 48 void validate() const; |
88 void initializePumping(); | 90 void initializePumping(); |
89 void finalizePumping(); | 91 void finalizePumping(); |
90 void pump(); | 92 void pump(); |
91 | 93 |
92 EngineSettings& getSettings(); | 94 EngineSettings& getSettings(); |
95 DeviceCaps& getDeviceCaps(); | |
96 | |
93 void init(); | 97 void init(); |
94 void destroy(); | 98 void destroy(); |
95 | 99 |
96 SoundManager* getSoundManager(); | 100 SoundManager* getSoundManager(); |
97 EventManager* getEventManager(); | 101 EventManager* getEventManager(); |