aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii/osystem.h
diff options
context:
space:
mode:
authorAndre Heider2009-09-18 18:56:16 +0000
committerAndre Heider2009-09-18 18:56:16 +0000
commit3e24220a19005a0c53ed436ded721ee77bc68e7f (patch)
treea258a179f17f162f89f8e9b9778f9227215fbc31 /backends/platform/wii/osystem.h
parente1ad748f0d7802ea0e6772c14546117b75c60220 (diff)
downloadscummvm-rg350-3e24220a19005a0c53ed436ded721ee77bc68e7f.tar.gz
scummvm-rg350-3e24220a19005a0c53ed436ded721ee77bc68e7f.tar.bz2
scummvm-rg350-3e24220a19005a0c53ed436ded721ee77bc68e7f.zip
Moved the Wii gfx code to its own library. Added a onscreen console for stdout/err, toggable via pad keys.
svn-id: r44189
Diffstat (limited to 'backends/platform/wii/osystem.h')
-rw-r--r--backends/platform/wii/osystem.h17
1 files changed, 9 insertions, 8 deletions
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 <gctypes.h>
+#include <gccore.h>
+#include <ogcsys.h>
+
+#include <gfx/gfx.h>
+
#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 <gctypes.h>
-#include <gccore.h>
-#include <ogcsys.h>
-
#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;