diff options
author | Eugene Sandulenko | 2005-04-21 01:30:07 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-04-21 01:30:07 +0000 |
commit | 283a9f35ac294fa10105c7d8c18b57d7a2689e19 (patch) | |
tree | d1d35de8ff26764c87f36d3b7fa6adf3e34cb048 /saga/actor.h | |
parent | 7b93b0e079456018fdbc59e780925103ee345ca9 (diff) | |
download | scummvm-rg350-283a9f35ac294fa10105c7d8c18b57d7a2689e19.tar.gz scummvm-rg350-283a9f35ac294fa10105c7d8c18b57d7a2689e19.tar.bz2 scummvm-rg350-283a9f35ac294fa10105c7d8c18b57d7a2689e19.zip |
Add not yet correctly working save/load. Use key F7 for saving
and F8 for loading. Now works only within current scene and restores
to entrance #0 which is wrong.
svn-id: r17726
Diffstat (limited to 'saga/actor.h')
-rw-r--r-- | saga/actor.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/saga/actor.h b/saga/actor.h index 93e3f2a803..c734f4c1ad 100644 --- a/saga/actor.h +++ b/saga/actor.h @@ -382,6 +382,9 @@ public: bool isSpeaking() { return _activeSpeech.stringsCount > 0; } + + void setProtagState(int state); + int getProtagState() { return _protagState; } private: bool loadActorResources(ActorData *actor); @@ -428,14 +431,16 @@ private: protected: friend class IsoMap; + friend class SagaEngine; int _actorsCount; ActorData **_actors; -private: int _objsCount; ObjectData **_objs; +private: SpeechData _activeSpeech; + int _protagState; //path stuff struct PathNode { |