diff options
author | Joost Peters | 2009-08-21 22:30:35 +0000 |
---|---|---|
committer | Joost Peters | 2009-08-21 22:30:35 +0000 |
commit | 9a3218e67302e825b3df4e2f26df5601fb48f0db (patch) | |
tree | 21da52ccd6589d3ddffe4803c16953deb77855fa /backends/platform/psp/osys_psp.h | |
parent | 894635e91d7bdaa4517618a957441db016b2798b (diff) | |
download | scummvm-rg350-9a3218e67302e825b3df4e2f26df5601fb48f0db.tar.gz scummvm-rg350-9a3218e67302e825b3df4e2f26df5601fb48f0db.tar.bz2 scummvm-rg350-9a3218e67302e825b3df4e2f26df5601fb48f0db.zip |
unify OSystem_PSP_GU and OSystem_PSP (which was hopelessly outdated and mostly useless)
svn-id: r43615
Diffstat (limited to 'backends/platform/psp/osys_psp.h')
-rw-r--r-- | backends/platform/psp/osys_psp.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/backends/platform/psp/osys_psp.h b/backends/platform/psp/osys_psp.h index 68e1a7da22..353561cced 100644 --- a/backends/platform/psp/osys_psp.h +++ b/backends/platform/psp/osys_psp.h @@ -50,6 +50,11 @@ public: static OSystem *instance(); protected: + struct Vertex { + float u,v; + float x,y,z; + }; + uint16 _screenWidth; uint16 _screenHeight; uint16 _overlayWidth; @@ -71,6 +76,14 @@ protected: byte *_mouseBuf; bool _cursorPaletteDisabled; + int _graphicMode; + Vertex *_vertices; + unsigned short* _clut; + unsigned short* _kbdClut; + bool _keyboardVisible; + int _keySelected; + int _keyboardMode; + uint32 _prevButtons; uint32 _lastPadCheck; uint32 _padAccel; @@ -101,6 +114,8 @@ public: virtual int16 getWidth(); virtual int16 getHeight(); virtual void setPalette(const byte *colors, uint start, uint num); + virtual void setCursorPalette(const byte *colors, uint start, uint num); + virtual void disableCursorPalette(bool disable); virtual void copyRectToScreen(const byte *buf, int pitch, int x, int y, int w, int h); virtual Graphics::Surface *lockScreen(); virtual void unlockScreen(); @@ -123,6 +138,7 @@ public: virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, int cursorTargetScale, const Graphics::PixelFormat *format); virtual bool pollEvent(Common::Event &event); + virtual bool processInput(Common::Event &event); virtual uint32 getMillis(); virtual void delayMillis(uint msecs); |