aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/cursors.h
diff options
context:
space:
mode:
authorAlyssa Milburn2010-12-21 18:15:56 +0000
committerAlyssa Milburn2010-12-21 18:15:56 +0000
commite97b2d25d1cf649c1e6ec9a41c85fbc76c41e2d3 (patch)
tree96d56d4c6f5d9a79a3d2f63954d9b95123ae30df /engines/mohawk/cursors.h
parent7b0760f1bc5c28abcede041a6e3930f84ff3d319 (diff)
downloadscummvm-rg350-e97b2d25d1cf649c1e6ec9a41c85fbc76c41e2d3.tar.gz
scummvm-rg350-e97b2d25d1cf649c1e6ec9a41c85fbc76c41e2d3.tar.bz2
scummvm-rg350-e97b2d25d1cf649c1e6ec9a41c85fbc76c41e2d3.zip
MOHAWK: Allow DefaultCursorManager to use alternative tags
svn-id: r54987
Diffstat (limited to 'engines/mohawk/cursors.h')
-rw-r--r--engines/mohawk/cursors.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/mohawk/cursors.h b/engines/mohawk/cursors.h
index 7ff99a342f..067c3bad7f 100644
--- a/engines/mohawk/cursors.h
+++ b/engines/mohawk/cursors.h
@@ -35,6 +35,8 @@ namespace Common {
class String;
}
+#include "mohawk/resource.h"
+
namespace Mohawk {
// 803-805 are animated, one large bmp which is in chunks - these are NEVER USED
@@ -87,13 +89,14 @@ protected:
// Uses standard tCUR resources
class DefaultCursorManager : public CursorManager {
public:
- DefaultCursorManager(MohawkEngine *vm) : _vm(vm) {}
+ DefaultCursorManager(MohawkEngine *vm, uint32 tag = ID_TCUR) : _vm(vm), _tag(tag) {}
~DefaultCursorManager() {}
void setCursor(uint16 id);
private:
MohawkEngine *_vm;
+ uint32 _tag;
};
// The cursor manager for Myst