From b01f601d7e8dc0b7885ff058c8596dc2ad6762f4 Mon Sep 17 00:00:00 2001 From: Tobias Gunkel Date: Sat, 7 Jan 2012 18:05:42 +0100 Subject: SCUMM: use constants for c64 actor miscflags --- engines/scumm/actor.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'engines/scumm/actor.h') diff --git a/engines/scumm/actor.h b/engines/scumm/actor.h index 1584d0a78b..d8e3692619 100644 --- a/engines/scumm/actor.h +++ b/engines/scumm/actor.h @@ -335,10 +335,21 @@ protected: virtual void prepareDrawActorCostume(BaseCostumeRenderer *bcr); }; +enum ActorC64MiscFlags { + kActorMiscFlagStrong = 0x01, // Kid is strong (Hunk-O-Matic used) + kActorMiscFlag_02 = 0x02, // ??? + kActorMiscFlag_04 = 0x04, // ??? + kActorMiscFlagEdsEnemy = 0x08, // Kid is not Weird Ed's friend + kActorMiscFlag_10 = 0x10, // ??? + kActorMiscFlag_20 = 0x20, // ??? + kActorMiscFlagFreeze = 0x40, // Stop moving + kActorMiscFlagHide = 0x80, // Hide actor (e.g. dead or wearing radiation suit) +}; + class ActorC64 : public Actor_v2 { public: byte _costCommand, _costFrame; - byte _miscflags; // 0x1: strong, 0x8: Ed's enemy, 0x40: stop moving, 0x80: hide(dead/radiation suit) + byte _miscflags; byte _speaking, _speakingPrev; public: -- cgit v1.2.3