diff options
author | Florian Kagerer | 2009-12-26 19:02:16 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-12-26 19:02:16 +0000 |
commit | 2a0b03218c3d6afffac9bebff798850c27f67bd0 (patch) | |
tree | 44cf168fef6b93ee28e7a003c148b263cc2d9170 /engines/kyra/lol.h | |
parent | 78d268b21a65bcf4e7909f87374a08bec22c7ffe (diff) | |
download | scummvm-rg350-2a0b03218c3d6afffac9bebff798850c27f67bd0.tar.gz scummvm-rg350-2a0b03218c3d6afffac9bebff798850c27f67bd0.tar.bz2 scummvm-rg350-2a0b03218c3d6afffac9bebff798850c27f67bd0.zip |
LOL: - added workaround for portrait speech animations which would sometimes "freeze"
- renamed some stuff
svn-id: r46601
Diffstat (limited to 'engines/kyra/lol.h')
-rw-r--r-- | engines/kyra/lol.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/kyra/lol.h b/engines/kyra/lol.h index 2fa916ce94..f7fe2c5c28 100644 --- a/engines/kyra/lol.h +++ b/engines/kyra/lol.h @@ -49,7 +49,7 @@ struct LoLCharacter { uint8 raceClassSex; int16 id; uint8 curFaceFrame; - uint8 defaultFaceFrame; + uint8 tempFaceFrame; uint8 screamSfx; const uint16 *defaultModifiers; uint16 itemsMight[8]; @@ -629,7 +629,7 @@ private: // text int characterSays(int track, int charId, bool redraw); - int playCharacterScriptChat(int charId, int mode, int unk1, char *str, EMCState *script, const uint16 *paramList, int16 paramIndex); + int playCharacterScriptChat(int charId, int mode, int restorePortrait, char *str, EMCState *script, const uint16 *paramList, int16 paramIndex); TextDisplayer_LoL *_txt; @@ -747,7 +747,7 @@ private: int olol_characterSkillTest(EMCState *script); int olol_countAllMonsters(EMCState *script); int olol_playEndSequence(EMCState *script); - int olol_updatePortraits(EMCState *script); + int olol_stopPortraitSpeechAnim(EMCState *script); int olol_setPaletteBrightness(EMCState *script); int olol_calcInflictableDamage(EMCState *script); int olol_getInflictedDamage(EMCState *script); @@ -921,7 +921,7 @@ private: void calcCharPortraitXpos(); void updatePortraitSpeechAnim(); - void updatePortraits(); + void stopPortraitSpeechAnim(); void initTextFading(int textType, int clearField); void setCharFaceFrame(int charNum, int frameNum); void faceFrameRefresh(int charNum); @@ -940,7 +940,7 @@ private: int _updateCharNum; int _updatePortraitSpeechAnimDuration; int _portraitSpeechAnimMode; - int _updateCharV3; + int _resetPortraitAfterSpeechAnim; int _textColorFlag; bool _fadeText; int _needSceneRestore; |