diff 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
line wrap: on
line diff
--- a/engine/core/controller/engine.i	Wed Oct 06 15:49:53 2010 +0000
+++ b/engine/core/controller/engine.i	Wed Oct 06 19:19:08 2010 +0000
@@ -21,6 +21,7 @@
 %module fife
 %{
 #include "controller/engine.h"
+#include "video/devicecaps.h"
 %}
 
 namespace FIFE {
@@ -39,6 +40,7 @@
 	class VFS;
 	class Cursor;
 	class RendererBase;
+	class DeviceCaps;
 
 	class EngineSettings {
 	public:
@@ -90,6 +92,8 @@
 		void pump();
 
 		EngineSettings& getSettings();
+		DeviceCaps& getDeviceCaps();
+		
 		void init();
 		void destroy();