diff options
author | Alyssa Milburn | 2011-08-17 09:28:51 +0200 |
---|---|---|
committer | Alyssa Milburn | 2011-08-17 09:28:51 +0200 |
commit | ae287ccee58ebf68ab6125e5bbb4d8a44874330e (patch) | |
tree | 2f4cee4b2940466b8a578962e0174c6f89077a40 /graphics/maccursor.h | |
parent | f5255288eabc0527c4c6b727a9db6b8d09a31206 (diff) | |
parent | e36832bbf84cba88fe6b17e1634fab0d550f13df (diff) | |
download | scummvm-rg350-ae287ccee58ebf68ab6125e5bbb4d8a44874330e.tar.gz scummvm-rg350-ae287ccee58ebf68ab6125e5bbb4d8a44874330e.tar.bz2 scummvm-rg350-ae287ccee58ebf68ab6125e5bbb4d8a44874330e.zip |
Merge remote-tracking branch 'origin/master' into soccer
Conflicts:
engines/scumm/he/logic_he.cpp
engines/scumm/he/logic_he.h
Diffstat (limited to 'graphics/maccursor.h')
-rw-r--r-- | graphics/maccursor.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/graphics/maccursor.h b/graphics/maccursor.h index cca7f3456b..f5efc20655 100644 --- a/graphics/maccursor.h +++ b/graphics/maccursor.h @@ -28,18 +28,19 @@ * - scumm */ -#include "common/stream.h" - #ifndef GRAPHICS_MACCURSOR_H #define GRAPHICS_MACCURSOR_H +#include "common/stream.h" + +#include "graphics/cursor.h" + namespace Graphics { /** * A Mac crsr or CURS cursor - * TODO: Think about making a base class with WinCursor */ -class MacCursor { +class MacCursor : public Cursor { public: MacCursor(); ~MacCursor(); @@ -56,7 +57,10 @@ public: byte getKeyColor() const { return 0xFF; } const byte *getSurface() const { return _surface; } + const byte *getPalette() const { return _palette; } + byte getPaletteStartIndex() const { return 0; } + uint16 getPaletteCount() const { return 256; } /** Read the cursor's data out of a stream. */ bool readFromStream(Common::SeekableReadStream &stream, bool forceMonochrome = false); |