From 3e24220a19005a0c53ed436ded721ee77bc68e7f Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Fri, 18 Sep 2009 18:56:16 +0000 Subject: Moved the Wii gfx code to its own library. Added a onscreen console for stdout/err, toggable via pad keys. svn-id: r44189 --- backends/platform/wii/osystem.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'backends/platform/wii/osystem.h') diff --git a/backends/platform/wii/osystem.h b/backends/platform/wii/osystem.h index c4f79d9386..0a5dac95b3 100644 --- a/backends/platform/wii/osystem.h +++ b/backends/platform/wii/osystem.h @@ -22,6 +22,12 @@ #ifndef _WII_OSYSTEM_H_ #define _WII_OSYSTEM_H_ +#include +#include +#include + +#include + #include "base/main.h" #include "common/fs.h" #include "common/rect.h" @@ -33,12 +39,6 @@ #include "graphics/surface.h" #include "sound/mixer_intern.h" -#include "gfx.h" - -#include -#include -#include - #ifdef __cplusplus extern "C" { #endif @@ -67,7 +67,7 @@ private: u16 _gameWidth, _gameHeight; u8 *_gamePixels; Graphics::Surface _surface; - gfx_coords_t _coordsGame; + gfx_screen_coords_t _coordsGame; gfx_tex_t _texGame; bool _gameDirty; @@ -75,7 +75,7 @@ private: u16 _overlayWidth, _overlayHeight; u32 _overlaySize; OverlayColor *_overlayPixels; - gfx_coords_t _coordsOverlay; + gfx_screen_coords_t _coordsOverlay; gfx_tex_t _texOverlay; bool _overlayDirty; @@ -94,6 +94,7 @@ private: Graphics::PixelFormat _pfCursor; #endif + bool _consoleVisible; bool _optionsDlgActive; bool _fullscreen; bool _arCorrection; -- cgit v1.2.3