aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/cursors.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/cursors.h')
-rw-r--r--engines/mohawk/cursors.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/engines/mohawk/cursors.h b/engines/mohawk/cursors.h
index 742ae30107..d0d38c9b46 100644
--- a/engines/mohawk/cursors.h
+++ b/engines/mohawk/cursors.h
@@ -28,11 +28,14 @@
namespace Common {
class MacResManager;
class NEResources;
-class PEResources;
class SeekableReadStream;
class String;
}
+namespace Graphics {
+struct WinCursorGroup;
+}
+
#include "mohawk/resource.h"
namespace Mohawk {
@@ -170,10 +173,15 @@ public:
~PECursorManager();
void setCursor(uint16 id);
- bool hasSource() const { return _exe != 0; }
+ bool hasSource() const { return !_cursors.empty(); }
private:
- Common::PEResources *_exe;
+ struct CursorItem {
+ uint16 id;
+ Graphics::WinCursorGroup *cursorGroup;
+ };
+
+ Common::Array<CursorItem> _cursors;
};
} // End of namespace Mohawk