diff options
| -rw-r--r-- | backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp | 8 | ||||
| -rw-r--r-- | backends/graphics/dinguxsdl/dinguxsdl-graphics.h | 37 | ||||
| -rw-r--r-- | backends/graphics/gph/gph-graphics.cpp | 12 | ||||
| -rw-r--r-- | backends/graphics/gph/gph-graphics.h | 37 | ||||
| -rw-r--r-- | backends/graphics/linuxmotosdl/linuxmotosdl-graphics.h | 24 | ||||
| -rw-r--r-- | backends/graphics/maemosdl/maemosdl-graphics.h | 2 | ||||
| -rw-r--r-- | backends/graphics/null/null-graphics.h | 76 | ||||
| -rw-r--r-- | backends/graphics/openpandora/op-graphics.h | 4 | ||||
| -rw-r--r-- | backends/graphics/psp2sdl/psp2sdl-graphics.h | 22 | ||||
| -rw-r--r-- | backends/graphics/samsungtvsdl/samsungtvsdl-graphics.cpp | 4 | ||||
| -rw-r--r-- | backends/graphics/samsungtvsdl/samsungtvsdl-graphics.h | 6 | ||||
| -rw-r--r-- | backends/graphics/symbiansdl/symbiansdl-graphics.cpp | 2 | ||||
| -rw-r--r-- | backends/graphics/symbiansdl/symbiansdl-graphics.h | 10 | ||||
| -rw-r--r-- | backends/graphics/wincesdl/wincesdl-graphics.cpp | 4 | ||||
| -rw-r--r-- | backends/graphics/wincesdl/wincesdl-graphics.h | 4 | 
15 files changed, 115 insertions, 137 deletions
diff --git a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp index 10605f45a7..3de6439d1a 100644 --- a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp +++ b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp @@ -487,14 +487,6 @@ bool DINGUXSdlGraphicsManager::getFeatureState(OSystem::Feature f) {  	}  } -SurfaceSdlGraphicsManager::MousePos *DINGUXSdlGraphicsManager::getMouseCurState() { -	return &_mouseCurState; -} - -SurfaceSdlGraphicsManager::VideoState *DINGUXSdlGraphicsManager::getVideoMode() { -	return &_videoMode; -} -  void DINGUXSdlGraphicsManager::warpMouse(int x, int y) {  	if (_mouseCurState.x != x || _mouseCurState.y != y) {  		if (_videoMode.mode == GFX_HALF && !_overlayVisible) { diff --git a/backends/graphics/dinguxsdl/dinguxsdl-graphics.h b/backends/graphics/dinguxsdl/dinguxsdl-graphics.h index 8a356106ad..89ee1411f1 100644 --- a/backends/graphics/dinguxsdl/dinguxsdl-graphics.h +++ b/backends/graphics/dinguxsdl/dinguxsdl-graphics.h @@ -36,26 +36,23 @@ class DINGUXSdlGraphicsManager : public SurfaceSdlGraphicsManager {  public:  	DINGUXSdlGraphicsManager(SdlEventSource *boss, SdlWindow *window); -	bool hasFeature(OSystem::Feature f); -	void setFeatureState(OSystem::Feature f, bool enable); -	bool getFeatureState(OSystem::Feature f); -	int getDefaultGraphicsMode() const; - -	void initSize(uint w, uint h); -	const OSystem::GraphicsMode *getSupportedGraphicsModes() const; -	bool setGraphicsMode(const char *name); -	bool setGraphicsMode(int mode); -	void setGraphicsModeIntern(); -	void internUpdateScreen(); -	void showOverlay(); -	void hideOverlay(); -	bool loadGFXMode(); -	void drawMouse(); -	void undrawMouse(); -	virtual void warpMouse(int x, int y); - -	SurfaceSdlGraphicsManager::MousePos *getMouseCurState(); -	SurfaceSdlGraphicsManager::VideoState *getVideoMode(); +	bool hasFeature(OSystem::Feature f) const override; +	void setFeatureState(OSystem::Feature f, bool enable) override; +	bool getFeatureState(OSystem::Feature f) override; +	int getDefaultGraphicsMode() const override; + +	void initSize(uint w, uint h) override; +	const OSystem::GraphicsMode *getSupportedGraphicsModes() const override; +	bool setGraphicsMode(const char *name) override; +	bool setGraphicsMode(int mode) override; +	void setGraphicsModeIntern() override; +	void internUpdateScreen() override; +	void showOverlay() override; +	void hideOverlay() override; +	bool loadGFXMode() override; +	void drawMouse() override; +	void undrawMouse() override; +	void warpMouse(int x, int y) override;  	virtual void transformMouseCoordinates(Common::Point &point);  }; diff --git a/backends/graphics/gph/gph-graphics.cpp b/backends/graphics/gph/gph-graphics.cpp index 767fb57e11..e2c84114c4 100644 --- a/backends/graphics/gph/gph-graphics.cpp +++ b/backends/graphics/gph/gph-graphics.cpp @@ -477,7 +477,7 @@ bool GPHGraphicsManager::loadGFXMode() {  	return true;  } -bool GPHGraphicsManager::hasFeature(OSystem::Feature f) { +bool GPHGraphicsManager::hasFeature(OSystem::Feature f) const {  	return  	    (f == OSystem::kFeatureAspectRatioCorrection) ||  	    (f == OSystem::kFeatureCursorPalette); @@ -497,7 +497,7 @@ void GPHGraphicsManager::setFeatureState(OSystem::Feature f, bool enable) {  	}  } -bool GPHGraphicsManager::getFeatureState(OSystem::Feature f) { +bool GPHGraphicsManager::getFeatureState(OSystem::Feature f) const {  	assert(_transactionMode == kTransactionNone);  	switch (f) { @@ -510,14 +510,6 @@ bool GPHGraphicsManager::getFeatureState(OSystem::Feature f) {  	}  } -SurfaceSdlGraphicsManager::MousePos *GPHGraphicsManager::getMouseCurState() { -	return &_mouseCurState; -} - -SurfaceSdlGraphicsManager::VideoState *GPHGraphicsManager::getVideoMode() { -	return &_videoMode; -} -  void GPHGraphicsManager::warpMouse(int x, int y) {  	if (_mouseCurState.x != x || _mouseCurState.y != y) {  		if (_videoMode.mode == GFX_HALF && !_overlayVisible) { diff --git a/backends/graphics/gph/gph-graphics.h b/backends/graphics/gph/gph-graphics.h index 152d29ddf4..69e3b8947f 100644 --- a/backends/graphics/gph/gph-graphics.h +++ b/backends/graphics/gph/gph-graphics.h @@ -35,26 +35,23 @@ class GPHGraphicsManager : public SurfaceSdlGraphicsManager {  public:  	GPHGraphicsManager(SdlEventSource *boss, SdlWindow *window); -	bool hasFeature(OSystem::Feature f); -	void setFeatureState(OSystem::Feature f, bool enable); -	bool getFeatureState(OSystem::Feature f); -	int getDefaultGraphicsMode() const; - -	void initSize(uint w, uint h, const Graphics::PixelFormat *format = NULL); -	const OSystem::GraphicsMode *getSupportedGraphicsModes() const; -	bool setGraphicsMode(const char *name); -	bool setGraphicsMode(int mode); -	void setGraphicsModeIntern(); -	void internUpdateScreen(); -	void showOverlay(); -	void hideOverlay(); -	bool loadGFXMode(); -	void drawMouse(); -	void undrawMouse(); -	virtual void warpMouse(int x, int y); - -	SurfaceSdlGraphicsManager::MousePos *getMouseCurState(); -	SurfaceSdlGraphicsManager::VideoState *getVideoMode(); +	bool hasFeature(OSystem::Feature f) const override; +	void setFeatureState(OSystem::Feature f, bool enable) override; +	bool getFeatureState(OSystem::Feature f) const; +	int getDefaultGraphicsMode() const override; + +	void initSize(uint w, uint h, const Graphics::PixelFormat *format = NULL) override; +	const OSystem::GraphicsMode *getSupportedGraphicsModes() const override; +	bool setGraphicsMode(const char *name) override; +	bool setGraphicsMode(int mode) override; +	void setGraphicsModeIntern() override; +	void internUpdateScreen() override; +	void showOverlay() override; +	void hideOverlay() override; +	bool loadGFXMode() override; +	void drawMouse() override; +	void undrawMouse() override; +	void warpMouse(int x, int y) override;  	virtual void transformMouseCoordinates(Common::Point &point);  }; diff --git a/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.h b/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.h index d7a13b1cb4..e7f96e877c 100644 --- a/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.h +++ b/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.h @@ -29,18 +29,18 @@ class LinuxmotoSdlGraphicsManager : public SurfaceSdlGraphicsManager {  public:  	LinuxmotoSdlGraphicsManager(SdlEventSource *sdlEventSource, SdlWindow *window); -	virtual void initSize(uint w, uint h); -	virtual void setGraphicsModeIntern(); -	virtual bool setGraphicsMode(int mode); -	virtual void internUpdateScreen(); -	virtual const OSystem::GraphicsMode *getSupportedGraphicsModes() const; -	virtual int getDefaultGraphicsMode() const; -	virtual bool loadGFXMode(); -	virtual void drawMouse(); -	virtual void undrawMouse(); -	virtual void showOverlay(); -	virtual void hideOverlay(); -	virtual void warpMouse(int x, int y); +	virtual void initSize(uint w, uint h) override; +	virtual void setGraphicsModeIntern() override; +	virtual bool setGraphicsMode(int mode) override; +	virtual void internUpdateScreen() override; +	virtual const OSystem::GraphicsMode *getSupportedGraphicsModes() const override; +	virtual int getDefaultGraphicsMode() const override; +	virtual bool loadGFXMode() override; +	virtual void drawMouse() override; +	virtual void undrawMouse() override; +	virtual void showOverlay() override; +	virtual void hideOverlay() override; +	virtual void warpMouse(int x, int y) override;  	virtual void transformMouseCoordinates(Common::Point &point);  }; diff --git a/backends/graphics/maemosdl/maemosdl-graphics.h b/backends/graphics/maemosdl/maemosdl-graphics.h index 4cb84c81ee..ff4278b48c 100644 --- a/backends/graphics/maemosdl/maemosdl-graphics.h +++ b/backends/graphics/maemosdl/maemosdl-graphics.h @@ -32,7 +32,7 @@ public:  	MaemoSdlGraphicsManager(SdlEventSource *sdlEventSource, SdlWindow *window);  protected: -	virtual bool loadGFXMode(); +	virtual bool loadGFXMode() override;  };  #endif diff --git a/backends/graphics/null/null-graphics.h b/backends/graphics/null/null-graphics.h index a870a76b73..4c628568ff 100644 --- a/backends/graphics/null/null-graphics.h +++ b/backends/graphics/null/null-graphics.h @@ -31,55 +31,55 @@ class NullGraphicsManager : public GraphicsManager {  public:  	virtual ~NullGraphicsManager() {} -	bool hasFeature(OSystem::Feature f) { return false; } -	void setFeatureState(OSystem::Feature f, bool enable) {} -	bool getFeatureState(OSystem::Feature f) { return false; } +	bool hasFeature(OSystem::Feature f) const override { return false; } +	void setFeatureState(OSystem::Feature f, bool enable) override {} +	bool getFeatureState(OSystem::Feature f) const override { return false; } -	const OSystem::GraphicsMode *getSupportedGraphicsModes() const { return s_noGraphicsModes; } -	int getDefaultGraphicsMode() const { return 0; } -	bool setGraphicsMode(int mode) { return true; } -	void resetGraphicsScale(){} -	int getGraphicsMode() const { return 0; } -	inline Graphics::PixelFormat getScreenFormat() const { +	const OSystem::GraphicsMode *getSupportedGraphicsModes() const override { return s_noGraphicsModes; } +	int getDefaultGraphicsMode() const override { return 0; } +	bool setGraphicsMode(int mode) override { return true; } +	void resetGraphicsScale() override {} +	int getGraphicsMode() const override { return 0; } +	inline Graphics::PixelFormat getScreenFormat() const override {  		return Graphics::PixelFormat::createFormatCLUT8();  	} -	inline Common::List<Graphics::PixelFormat> getSupportedFormats() const { +	inline Common::List<Graphics::PixelFormat> getSupportedFormats() const override {  		Common::List<Graphics::PixelFormat> list;  		list.push_back(Graphics::PixelFormat::createFormatCLUT8());  		return list;  	} -	void initSize(uint width, uint height, const Graphics::PixelFormat *format = NULL) {} -	virtual int getScreenChangeID() const { return 0; } +	void initSize(uint width, uint height, const Graphics::PixelFormat *format = NULL) override {} +	virtual int getScreenChangeID() const override { return 0; } -	void beginGFXTransaction() {} -	OSystem::TransactionError endGFXTransaction() { return OSystem::kTransactionSuccess; } +	void beginGFXTransaction() override {} +	OSystem::TransactionError endGFXTransaction() override { return OSystem::kTransactionSuccess; } -	int16 getHeight() const { return 0; } -	int16 getWidth() const { return 0; } -	void setPalette(const byte *colors, uint start, uint num) {} -	void grabPalette(byte *colors, uint start, uint num) {} -	void copyRectToScreen(const void *buf, int pitch, int x, int y, int w, int h) {} -	Graphics::Surface *lockScreen() { return NULL; } -	void unlockScreen() {} -	void fillScreen(uint32 col) {} -	void updateScreen() {} -	void setShakePos(int shakeOffset) {} -	void setFocusRectangle(const Common::Rect& rect) {} -	void clearFocusRectangle() {} +	int16 getHeight() const override { return 0; } +	int16 getWidth() const override { return 0; } +	void setPalette(const byte *colors, uint start, uint num) override {} +	void grabPalette(byte *colors, uint start, uint num) const override {} +	void copyRectToScreen(const void *buf, int pitch, int x, int y, int w, int h) override {} +	Graphics::Surface *lockScreen() override { return NULL; } +	void unlockScreen() override {} +	void fillScreen(uint32 col) override {} +	void updateScreen() override {} +	void setShakePos(int shakeOffset) override {} +	void setFocusRectangle(const Common::Rect& rect) override {} +	void clearFocusRectangle() override {} -	void showOverlay() {} -	void hideOverlay() {} -	Graphics::PixelFormat getOverlayFormat() const { return Graphics::PixelFormat(); } -	void clearOverlay() {} -	void grabOverlay(void *buf, int pitch) {} -	void copyRectToOverlay(const void *buf, int pitch, int x, int y, int w, int h) {} -	int16 getOverlayHeight() { return 0; } -	int16 getOverlayWidth() { return 0; } +	void showOverlay() override {} +	void hideOverlay() override {} +	Graphics::PixelFormat getOverlayFormat() const override { return Graphics::PixelFormat(); } +	void clearOverlay() override {} +	void grabOverlay(void *buf, int pitch) const override {} +	void copyRectToOverlay(const void *buf, int pitch, int x, int y, int w, int h) override {} +	int16 getOverlayHeight() const override { return 0; } +	int16 getOverlayWidth() const override { return 0; } -	bool showMouse(bool visible) { return !visible; } -	void warpMouse(int x, int y) {} -	void setMouseCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool dontScale = false, const Graphics::PixelFormat *format = NULL) {} -	void setCursorPalette(const byte *colors, uint start, uint num) {} +	bool showMouse(bool visible) override { return !visible; } +	void warpMouse(int x, int y) override {} +	void setMouseCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool dontScale = false, const Graphics::PixelFormat *format = NULL) override {} +	void setCursorPalette(const byte *colors, uint start, uint num) override {}  };  #endif diff --git a/backends/graphics/openpandora/op-graphics.h b/backends/graphics/openpandora/op-graphics.h index 50994072bb..56777dc892 100644 --- a/backends/graphics/openpandora/op-graphics.h +++ b/backends/graphics/openpandora/op-graphics.h @@ -34,8 +34,8 @@ class OPGraphicsManager : public SurfaceSdlGraphicsManager {  public:  	OPGraphicsManager(SdlEventSource *sdlEventSource, SdlWindow *window); -	bool loadGFXMode(); -	void unloadGFXMode(); +	bool loadGFXMode() override; +	void unloadGFXMode() override;  };  #endif /* BACKENDS_GRAPHICS_OP_H */ diff --git a/backends/graphics/psp2sdl/psp2sdl-graphics.h b/backends/graphics/psp2sdl/psp2sdl-graphics.h index 638437c9a6..0cabeb094d 100644 --- a/backends/graphics/psp2sdl/psp2sdl-graphics.h +++ b/backends/graphics/psp2sdl/psp2sdl-graphics.h @@ -30,19 +30,19 @@ class PSP2SdlGraphicsManager : public SurfaceSdlGraphicsManager {  public:  	PSP2SdlGraphicsManager(SdlEventSource *sdlEventSource, SdlWindow *window);  	virtual ~PSP2SdlGraphicsManager(); -	 -	virtual OSystem::TransactionError endGFXTransaction(); -	virtual const OSystem::GraphicsMode *getSupportedShaders() const; + +	virtual OSystem::TransactionError endGFXTransaction() override; +	virtual const OSystem::GraphicsMode *getSupportedShaders() const override;  protected: -	virtual void setGraphicsModeIntern(); -	virtual void unloadGFXMode(); -	virtual bool hotswapGFXMode(); - -	virtual void internUpdateScreen(); -	virtual void updateShader(); -	virtual void setAspectRatioCorrection(bool enable); -	virtual SDL_Surface *SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags); +	virtual void setGraphicsModeIntern() override; +	virtual void unloadGFXMode() override; +	virtual bool hotswapGFXMode() override; + +	virtual void internUpdateScreen() override; +	virtual void updateShader() override; +	virtual void setAspectRatioCorrection(bool enable) override; +	virtual SDL_Surface *SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags) override;  	void PSP2_UpdateRects(SDL_Surface *screen, int numrects, SDL_Rect *rects);  	void PSP2_UpdateFiltering(); diff --git a/backends/graphics/samsungtvsdl/samsungtvsdl-graphics.cpp b/backends/graphics/samsungtvsdl/samsungtvsdl-graphics.cpp index 0c98462891..befa793263 100644 --- a/backends/graphics/samsungtvsdl/samsungtvsdl-graphics.cpp +++ b/backends/graphics/samsungtvsdl/samsungtvsdl-graphics.cpp @@ -32,7 +32,7 @@ SamsungTVSdlGraphicsManager::SamsungTVSdlGraphicsManager(SdlEventSource *sdlEven  	: SurfaceSdlGraphicsManager(sdlEventSource, window) {  } -bool SamsungTVSdlGraphicsManager::hasFeature(OSystem::Feature f) { +bool SamsungTVSdlGraphicsManager::hasFeature(OSystem::Feature f) const {  	return  		(f == OSystem::kFeatureAspectRatioCorrection) ||  		(f == OSystem::kFeatureCursorPalette); @@ -48,7 +48,7 @@ void SamsungTVSdlGraphicsManager::setFeatureState(OSystem::Feature f, bool enabl  	}  } -bool SamsungTVSdlGraphicsManager::getFeatureState(OSystem::Feature f) { +bool SamsungTVSdlGraphicsManager::getFeatureState(OSystem::Feature f) const {  	switch (f) {  	case OSystem::kFeatureAspectRatioCorrection:  		return SurfaceSdlGraphicsManager::getFeatureState(f); diff --git a/backends/graphics/samsungtvsdl/samsungtvsdl-graphics.h b/backends/graphics/samsungtvsdl/samsungtvsdl-graphics.h index 8699d77bc8..b86ebe2c45 100644 --- a/backends/graphics/samsungtvsdl/samsungtvsdl-graphics.h +++ b/backends/graphics/samsungtvsdl/samsungtvsdl-graphics.h @@ -31,9 +31,9 @@ class SamsungTVSdlGraphicsManager : public SurfaceSdlGraphicsManager {  public:  	SamsungTVSdlGraphicsManager(SdlEventSource *sdlEventSource, SdlWindow *window); -	bool hasFeature(OSystem::Feature f); -	void setFeatureState(OSystem::Feature f, bool enable); -	bool getFeatureState(OSystem::Feature f); +	bool hasFeature(OSystem::Feature f) const override; +	void setFeatureState(OSystem::Feature f, bool enable) override; +	bool getFeatureState(OSystem::Feature f) const override;  };  #endif diff --git a/backends/graphics/symbiansdl/symbiansdl-graphics.cpp b/backends/graphics/symbiansdl/symbiansdl-graphics.cpp index c17cfd5efa..227674f811 100644 --- a/backends/graphics/symbiansdl/symbiansdl-graphics.cpp +++ b/backends/graphics/symbiansdl/symbiansdl-graphics.cpp @@ -50,7 +50,7 @@ bool SymbianSdlGraphicsManager::setGraphicsMode(int /*name*/) {  	return SurfaceSdlGraphicsManager::setGraphicsMode(getDefaultGraphicsMode());  } -bool SymbianSdlGraphicsManager::hasFeature(OSystem::Feature f) { +bool SymbianSdlGraphicsManager::hasFeature(OSystem::Feature f) const {  	switch (f) {  	case OSystem::kFeatureFullscreenMode:  	case OSystem::kFeatureAspectRatioCorrection: diff --git a/backends/graphics/symbiansdl/symbiansdl-graphics.h b/backends/graphics/symbiansdl/symbiansdl-graphics.h index fb9a49a834..0fcfb70f24 100644 --- a/backends/graphics/symbiansdl/symbiansdl-graphics.h +++ b/backends/graphics/symbiansdl/symbiansdl-graphics.h @@ -30,12 +30,12 @@ public:  	SymbianSdlGraphicsManager(SdlEventSource *sdlEventSource, SdlWindow *window);  public: -	virtual bool hasFeature(OSystem::Feature f); -	virtual void setFeatureState(OSystem::Feature f, bool enable); +	virtual bool hasFeature(OSystem::Feature f) const override; +	virtual void setFeatureState(OSystem::Feature f, bool enable) override; -	virtual const OSystem::GraphicsMode *getSupportedGraphicsModes() const; -	virtual int getDefaultGraphicsMode() const; -	virtual bool setGraphicsMode(int mode); +	virtual const OSystem::GraphicsMode *getSupportedGraphicsModes() const override; +	virtual int getDefaultGraphicsMode() const override; +	virtual bool setGraphicsMode(int mode) override;  };  #endif diff --git a/backends/graphics/wincesdl/wincesdl-graphics.cpp b/backends/graphics/wincesdl/wincesdl-graphics.cpp index 44a1214a44..1677ecac06 100644 --- a/backends/graphics/wincesdl/wincesdl-graphics.cpp +++ b/backends/graphics/wincesdl/wincesdl-graphics.cpp @@ -115,7 +115,7 @@ const OSystem::GraphicsMode *WINCESdlGraphicsManager::getSupportedGraphicsModes(  		return s_supportedGraphicsModesLow;  } -bool WINCESdlGraphicsManager::hasFeature(OSystem::Feature f) { +bool WINCESdlGraphicsManager::hasFeature(OSystem::Feature f) const {  	return (f == OSystem::kFeatureVirtualKeyboard);  } @@ -153,7 +153,7 @@ void WINCESdlGraphicsManager::setFeatureState(OSystem::Feature f, bool enable) {  	}  } -bool WINCESdlGraphicsManager::getFeatureState(OSystem::Feature f) { +bool WINCESdlGraphicsManager::getFeatureState(OSystem::Feature f) const {  	switch (f) {  	case OSystem::kFeatureFullscreenMode:  		return false; diff --git a/backends/graphics/wincesdl/wincesdl-graphics.h b/backends/graphics/wincesdl/wincesdl-graphics.h index 9316c69e44..4842d49023 100644 --- a/backends/graphics/wincesdl/wincesdl-graphics.h +++ b/backends/graphics/wincesdl/wincesdl-graphics.h @@ -46,9 +46,9 @@ public:  	const OSystem::GraphicsMode *getSupportedGraphicsModes() const;  	void initSize(uint w, uint h, const Graphics::PixelFormat *format = NULL); -	bool hasFeature(OSystem::Feature f); +	bool hasFeature(OSystem::Feature f) const;  	void setFeatureState(OSystem::Feature f, bool enable); -	bool getFeatureState(OSystem::Feature f); +	bool getFeatureState(OSystem::Feature f) const;  	int getDefaultGraphicsMode() const;  	bool setGraphicsMode(int mode);  | 
