diff options
author | Nicola Mettifogo | 2008-11-09 03:53:06 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-11-09 03:53:06 +0000 |
commit | 27a5d8bd5b0ad2d84f6c4f223ce6271876301eeb (patch) | |
tree | dff3e93121270dbdf790e7143d4b9523e2c2a2c7 /engines/parallaction/parallaction.h | |
parent | f076b5e0348b34f0dff1b2fe30b7aabcf00c13b8 (diff) | |
download | scummvm-rg350-27a5d8bd5b0ad2d84f6c4f223ce6271876301eeb.tar.gz scummvm-rg350-27a5d8bd5b0ad2d84f6c4f223ce6271876301eeb.tar.bz2 scummvm-rg350-27a5d8bd5b0ad2d84f6c4f223ce6271876301eeb.zip |
Better cleanup and handling of mouse when changing location in NS.
svn-id: r34942
Diffstat (limited to 'engines/parallaction/parallaction.h')
-rw-r--r-- | engines/parallaction/parallaction.h | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/engines/parallaction/parallaction.h b/engines/parallaction/parallaction.h index f8e775c51f..d63b62cea4 100644 --- a/engines/parallaction/parallaction.h +++ b/engines/parallaction/parallaction.h @@ -166,6 +166,26 @@ public: }; +class CharacterName { + const char *_prefix; + const char *_suffix; + bool _dummy; + char _name[30]; + char _baseName[30]; + char _fullName[30]; + static const char _prefixMini[]; + static const char _suffixTras[]; + static const char _empty[]; + void dummify(); +public: + CharacterName(); + CharacterName(const char *name); + void bind(const char *name); + const char *getName() const; + const char *getBaseName() const; + const char *getFullName() const; + bool dummy() const; +}; struct Character { @@ -190,17 +210,7 @@ struct Character { void free(); protected: - const char *_prefix; - const char *_suffix; - - bool _dummy; - - char _name[30]; - char _baseName[30]; - char _fullName[30]; - static const char _prefixMini[]; - static const char _suffixTras[]; - static const char _empty[]; + CharacterName _name; int16 _direction, _step; @@ -408,6 +418,7 @@ private: ZonePtr _moveSarcZones[5]; ZonePtr _moveSarcExaZones[5]; AnimationPtr _rightHandAnim; + bool _intro; static const Callable _dosCallables[25]; static const Callable _amigaCallables[25]; |