aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/res_struct.h
diff options
context:
space:
mode:
authorPaul Gilbert2006-05-29 08:12:07 +0000
committerPaul Gilbert2006-05-29 08:12:07 +0000
commit5fa3985bcbd96558d8adb0e306f1cfd0b10b2e03 (patch)
treef430e8398c3adef77ba6b09540839e9ba3ffef7d /engines/lure/res_struct.h
parent5d562eb3c588345b93f8c21a3f076a02bbe5a454 (diff)
downloadscummvm-rg350-5fa3985bcbd96558d8adb0e306f1cfd0b10b2e03.tar.gz
scummvm-rg350-5fa3985bcbd96558d8adb0e306f1cfd0b10b2e03.tar.bz2
scummvm-rg350-5fa3985bcbd96558d8adb0e306f1cfd0b10b2e03.zip
Player now moves out of the way if he's blocking an entrance when an NPC enters. Also changed errors in unimplemented NPC actions to warnings
svn-id: r22731
Diffstat (limited to 'engines/lure/res_struct.h')
-rw-r--r--engines/lure/res_struct.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/lure/res_struct.h b/engines/lure/res_struct.h
index 0d02ef3f18..177b83f986 100644
--- a/engines/lure/res_struct.h
+++ b/engines/lure/res_struct.h
@@ -373,6 +373,9 @@ public:
HotspotActionList *getActions(uint16 recordId);
};
+enum CharacterMode {CHARMODE_NONE, CHARMODE_1, CHARMODE_IDLE, CHARMODE_PAUSED,
+ CHARMODE_4, CHARMODE_5, CHARMODE_6, CHARMODE_7};
+
class HotspotData {
public:
HotspotData(HotspotResource *rec);
@@ -405,7 +408,11 @@ public:
uint16 tickProcOffset;
uint16 tickTimeout;
uint16 tickSequenceOffset;
- uint16 npcSchedule;
+ uint16 npcSchedule;
+
+ uint16 delayCtr;
+ CharacterMode characterMode;
+ bool coveredFlag;
void enable() { flags |= 0x80; }
void disable() { flags &= 0x7F; }