diff options
author | Paul Gilbert | 2008-01-02 11:15:36 +0000 |
---|---|---|
committer | Paul Gilbert | 2008-01-02 11:15:36 +0000 |
commit | 977c9fb5f338780d3886b6695c8082a98381ab00 (patch) | |
tree | a95882899ad6ab1806e852bfe8ab85eb7b14d337 /engines/lure/res.h | |
parent | eff113c486ca9b68dba28537c002b74d94152abb (diff) | |
download | scummvm-rg350-977c9fb5f338780d3886b6695c8082a98381ab00.tar.gz scummvm-rg350-977c9fb5f338780d3886b6695c8082a98381ab00.tar.bz2 scummvm-rg350-977c9fb5f338780d3886b6695c8082a98381ab00.zip |
Enhanced cursor code to handle cursors in EGA mode
svn-id: r30143
Diffstat (limited to 'engines/lure/res.h')
-rw-r--r-- | engines/lure/res.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/lure/res.h b/engines/lure/res.h index c95f254b57..3c13ce1891 100644 --- a/engines/lure/res.h +++ b/engines/lure/res.h @@ -90,6 +90,7 @@ private: int _talkSelection; int _talkStartEntry; uint16 _talkingCharacter; + byte _cursor[CURSOR_WIDTH * CURSOR_HEIGHT]; void reloadData(); void freeData(); @@ -104,10 +105,7 @@ public: RoomData *getRoom(uint16 roomNumber); bool checkHotspotExtent(HotspotData *hotspot); void insertPaletteSubset(Palette &p); - - byte *getCursor(uint8 cursorNum) { - return _cursors->data() + (cursorNum * CURSOR_SIZE); - } + byte *getCursor(uint8 cursorNum); HotspotDataList &hotspotData() { return _hotspotData; } HotspotOverrideList &hotspotOverrides() { return _hotspotOverrides; } HotspotAnimList &animRecords() { return _animData; } |