diff options
author | Einar Johan Trøan Sømåen | 2012-06-22 13:56:51 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-22 13:56:51 +0200 |
commit | 5a5fd609f13ef8754fb256d7ed3d774f51100ebb (patch) | |
tree | ee700071ac48f7a3b559382b072d00a68a6ff6a4 /engines/wintermute/Ad/AdActor.cpp | |
parent | 9b26ea4f7f363c187a2f4be21133d9c77fb46bd6 (diff) | |
download | scummvm-rg350-5a5fd609f13ef8754fb256d7ed3d774f51100ebb.tar.gz scummvm-rg350-5a5fd609f13ef8754fb256d7ed3d774f51100ebb.tar.bz2 scummvm-rg350-5a5fd609f13ef8754fb256d7ed3d774f51100ebb.zip |
WINTERMUTE: Rename the functions and arguments in BPersistMgr
Diffstat (limited to 'engines/wintermute/Ad/AdActor.cpp')
-rw-r--r-- | engines/wintermute/Ad/AdActor.cpp | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/engines/wintermute/Ad/AdActor.cpp b/engines/wintermute/Ad/AdActor.cpp index 3124585bc5..3d4e77565a 100644 --- a/engines/wintermute/Ad/AdActor.cpp +++ b/engines/wintermute/Ad/AdActor.cpp @@ -1187,34 +1187,34 @@ CBSprite *CAdActor::GetTalkStanceOld(const char *Stance) { }
//////////////////////////////////////////////////////////////////////////
-HRESULT CAdActor::Persist(CBPersistMgr *PersistMgr) {
- CAdTalkHolder::Persist(PersistMgr);
-
- PersistMgr->Transfer(TMEMBER_INT(_dir));
- PersistMgr->Transfer(TMEMBER(_path));
- PersistMgr->Transfer(TMEMBER(_pFCount));
- PersistMgr->Transfer(TMEMBER(_pFStepX));
- PersistMgr->Transfer(TMEMBER(_pFStepY));
- PersistMgr->Transfer(TMEMBER(_pFX));
- PersistMgr->Transfer(TMEMBER(_pFY));
- PersistMgr->Transfer(TMEMBER(_standSprite));
- _talkSprites.Persist(PersistMgr);
- _talkSpritesEx.Persist(PersistMgr);
- PersistMgr->Transfer(TMEMBER_INT(_targetDir));
- PersistMgr->Transfer(TMEMBER_INT(_afterWalkDir));
- PersistMgr->Transfer(TMEMBER(_targetPoint));
- PersistMgr->Transfer(TMEMBER(_turnLeftSprite));
- PersistMgr->Transfer(TMEMBER(_turnRightSprite));
- PersistMgr->Transfer(TMEMBER(_walkSprite));
-
- PersistMgr->Transfer(TMEMBER(_animSprite2));
- PersistMgr->Transfer(TMEMBER(_talkAnimName));
- PersistMgr->Transfer(TMEMBER(_idleAnimName));
- PersistMgr->Transfer(TMEMBER(_walkAnimName));
- PersistMgr->Transfer(TMEMBER(_turnLeftAnimName));
- PersistMgr->Transfer(TMEMBER(_turnRightAnimName));
-
- _anims.Persist(PersistMgr);
+HRESULT CAdActor::Persist(CBPersistMgr *persistMgr) {
+ CAdTalkHolder::Persist(persistMgr);
+
+ persistMgr->transfer(TMEMBER_INT(_dir));
+ persistMgr->transfer(TMEMBER(_path));
+ persistMgr->transfer(TMEMBER(_pFCount));
+ persistMgr->transfer(TMEMBER(_pFStepX));
+ persistMgr->transfer(TMEMBER(_pFStepY));
+ persistMgr->transfer(TMEMBER(_pFX));
+ persistMgr->transfer(TMEMBER(_pFY));
+ persistMgr->transfer(TMEMBER(_standSprite));
+ _talkSprites.Persist(persistMgr);
+ _talkSpritesEx.Persist(persistMgr);
+ persistMgr->transfer(TMEMBER_INT(_targetDir));
+ persistMgr->transfer(TMEMBER_INT(_afterWalkDir));
+ persistMgr->transfer(TMEMBER(_targetPoint));
+ persistMgr->transfer(TMEMBER(_turnLeftSprite));
+ persistMgr->transfer(TMEMBER(_turnRightSprite));
+ persistMgr->transfer(TMEMBER(_walkSprite));
+
+ persistMgr->transfer(TMEMBER(_animSprite2));
+ persistMgr->transfer(TMEMBER(_talkAnimName));
+ persistMgr->transfer(TMEMBER(_idleAnimName));
+ persistMgr->transfer(TMEMBER(_walkAnimName));
+ persistMgr->transfer(TMEMBER(_turnLeftAnimName));
+ persistMgr->transfer(TMEMBER(_turnRightAnimName));
+
+ _anims.Persist(persistMgr);
return S_OK;
}
|