diff options
author | Max Horn | 2009-09-25 11:27:41 +0000 |
---|---|---|
committer | Max Horn | 2009-09-25 11:27:41 +0000 |
commit | 20ad5714387906acac142d4040525630dbeac319 (patch) | |
tree | ad6dddca2be14d6c0a62fdb651110bd9aad45789 /backends/platform/linuxmoto/linuxmoto-sdl.h | |
parent | 957f9c0b551282d94693ac4762033e6b1630af0d (diff) | |
download | scummvm-rg350-20ad5714387906acac142d4040525630dbeac319.tar.gz scummvm-rg350-20ad5714387906acac142d4040525630dbeac319.tar.bz2 scummvm-rg350-20ad5714387906acac142d4040525630dbeac319.zip |
Last part of patch #2850021: disable hq-scaler&mt32emu for motoezx&motomagx-platform
svn-id: r44345
Diffstat (limited to 'backends/platform/linuxmoto/linuxmoto-sdl.h')
-rw-r--r-- | backends/platform/linuxmoto/linuxmoto-sdl.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/backends/platform/linuxmoto/linuxmoto-sdl.h b/backends/platform/linuxmoto/linuxmoto-sdl.h index 27c423b071..57d1dc8972 100644 --- a/backends/platform/linuxmoto/linuxmoto-sdl.h +++ b/backends/platform/linuxmoto/linuxmoto-sdl.h @@ -23,11 +23,11 @@ * */ - #ifndef LINUXMOTO_SDL #define LINUXMOTO_SDL #include "backends/platform/sdl/sdl.h" +#include "backends/platform/linuxmoto/linuxmoto-scaler.h" #include <SDL.h> @@ -35,12 +35,29 @@ class OSystem_LINUXMOTO : public OSystem_SDL { private: bool _audioSuspended; public: + /* Graphics */ + void initSize(uint w, uint h); + void setGraphicsModeIntern(); + bool setGraphicsMode(int mode); + void internUpdateScreen(); + const OSystem::GraphicsMode *getSupportedGraphicsModes() const; + bool setGraphicsMode(const char *name); + int getDefaultGraphicsMode() const; + bool loadGFXMode(); + void drawMouse(); + void undrawMouse(); + void showOverlay(); + void hideOverlay(); + + /* Event Stuff */ virtual bool remapKey(SDL_Event &ev, Common::Event &event); virtual void preprocessEvents(SDL_Event *event); virtual void setupMixer(); virtual Common::HardwareKeySet *getHardwareKeySet(); + void fillMouseEvent(Common::Event&, int, int); void suspendAudio(); int resumeAudio(); + void warpMouse(int, int); }; #endif |