--- a/src/Graphics.hh Tue Jan 13 21:14:12 2009 +0200
+++ b/src/Graphics.hh Tue Jan 13 21:36:43 2009 +0200
@@ -38,10 +38,23 @@
public:
Graphics (Engine &engine, GameState &state, PixelCoordinate resolution, bool fullscreen);
-
+
+ /**
+ * Returns a CL_Font that can be used for drawing text
+ */
CL_Font& getSimpleFont (void) { return simple_font; }
+
+ /**
+ * Returns a vector of CL_DisplayModes that lists possible display modes to use for fullscreen mode.
+ */
+ static const std::vector<CL_DisplayMode> & getDisplayModes (void);
- static const std::vector<CL_DisplayMode> & getDisplayModes (void);
+ /**
+ * Returns the "best" CL_DisplayMode to use for fullscreen mode.
+ *
+ * Currently, this just means the largest resolution.
+ */
+ static const CL_DisplayMode getBestMode (void);
private:
/**