aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/arm9/source/osystem_ds.h
diff options
context:
space:
mode:
authorNeil Millstone2008-05-15 22:12:51 +0000
committerNeil Millstone2008-05-15 22:12:51 +0000
commit2c5e8cc93861cded0b9a8ca7c605c61c7c2acc31 (patch)
treef5c0b1d4914d85d5f09eab5b739fbf9a4c3b59a8 /backends/platform/ds/arm9/source/osystem_ds.h
parentdefc030143487550057cac1fb617d31ce9ab1ab2 (diff)
downloadscummvm-rg350-2c5e8cc93861cded0b9a8ca7c605c61c7c2acc31.tar.gz
scummvm-rg350-2c5e8cc93861cded0b9a8ca7c605c61c7c2acc31.tar.bz2
scummvm-rg350-2c5e8cc93861cded0b9a8ca7c605c61c7c2acc31.zip
Porting changes from 0.11.0 branch
svn-id: r32140
Diffstat (limited to 'backends/platform/ds/arm9/source/osystem_ds.h')
-rw-r--r--backends/platform/ds/arm9/source/osystem_ds.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/backends/platform/ds/arm9/source/osystem_ds.h b/backends/platform/ds/arm9/source/osystem_ds.h
index 2bbd82bcf7..5d0c5901e5 100644
--- a/backends/platform/ds/arm9/source/osystem_ds.h
+++ b/backends/platform/ds/arm9/source/osystem_ds.h
@@ -19,8 +19,8 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
-
-
+
+
#ifndef _OSYSTEM_DS_H_
#define _OSYSTEM_DS_H_
#include "common/system.h"
@@ -33,10 +33,10 @@
#include "sound/mixer.h"
#include "graphics/surface.h"
-class DSAudioMixer : public Audio::Mixer {
+class DSAudioMixer : public Audio::Mixer {
};
-class DSTimerManager : public DefaultTimerManager {
+class DSTimerManager : public DefaultTimerManager {
};
@@ -45,10 +45,10 @@ protected:
int eventNum;
int lastPenFrame;
-
+
Common::Event eventQueue[96];
int queuePos;
-
+
DSSaveFileManager saveManager;
GBAMPSaveFileManager mpSaveManager;
DSAudioMixer* _mixer;
@@ -58,7 +58,7 @@ protected:
static OSystem_DS* _instance;
-
+
Graphics::Surface* createTempFrameBuffer();
public:
@@ -98,7 +98,7 @@ public:
inline virtual OverlayColor RGBToColor(uint8 r, uint8 g, uint8 b);
inline virtual void colorToRGB(OverlayColor color, uint8 &r, uint8 &g, uint8 &b);
-
+
virtual bool showMouse(bool visible);
virtual void warpMouse(int x, int y);
@@ -131,21 +131,21 @@ public:
virtual void displayMessageOnOSD(const char *msg);
virtual Common::SaveFileManager *getSavefileManager();
-
+
void addEvent(Common::Event& e);
bool isEventQueueEmpty() { return queuePos == 0; }
-
+
virtual bool grabRawScreen(Graphics::Surface* surf);
-
+
virtual void setFocusRectangle(const Common::Rect& rect);
-
+
virtual void clearFocusRectangle();
-
+
virtual void initBackend();
-
+
virtual Graphics::Surface *lockScreen();
virtual void unlockScreen();
-
+
virtual Audio::Mixer* getMixer() { return _mixer; }
virtual Common::TimerManager* getTimerManager() { return _timer; }
static int timerHandler(int t);