diff options
author | Johannes Schickel | 2008-05-02 17:14:59 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-05-02 17:14:59 +0000 |
commit | a829244b8ce5f5444e5c109aba6b8744d6327d7b (patch) | |
tree | f2a59570bece7b9d401f1a3b56fd889ca4786f4b /engines/kyra/kyra_hof.cpp | |
parent | c84b3719575cc26ad8f68c41191bd6e9f79f5249 (diff) | |
download | scummvm-rg350-a829244b8ce5f5444e5c109aba6b8744d6327d7b.tar.gz scummvm-rg350-a829244b8ce5f5444e5c109aba6b8744d6327d7b.tar.bz2 scummvm-rg350-a829244b8ce5f5444e5c109aba6b8744d6327d7b.zip |
- Renamed ScreenAnimator -> Animator_v1
- Moved addItemToAnimList and deleteItemAnimEntry to KyraEngine_v2.
svn-id: r31831
Diffstat (limited to 'engines/kyra/kyra_hof.cpp')
-rw-r--r-- | engines/kyra/kyra_hof.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/kyra_hof.cpp b/engines/kyra/kyra_hof.cpp index cb56913e72..347e5f35a4 100644 --- a/engines/kyra/kyra_hof.cpp +++ b/engines/kyra/kyra_hof.cpp @@ -71,7 +71,6 @@ KyraEngine_HoF::KyraEngine_HoF(OSystem *system, const GameFlags &flags) : KyraEn _currentTalkFile = 0; _lastSfxTrack = -1; _handItemSet = -1; - memset(_animObjects, 0, sizeof(_animObjects)); _unkHandleSceneChangeFlag = false; _pathfinderFlag = 0; _mouseX = _mouseY = 0; @@ -282,10 +281,13 @@ void KyraEngine_HoF::startup() { _trackMap = _dosTrackMap; _trackMapSize = _dosTrackMapSize; + allocAnimObjects(1, 10, 30); + _screen->_curPage = 0; delete [] _mouseSHPBuf; _mouseSHPBuf = 0; + _gameShapes.clear(); memset(_sceneShapeTable, 0, sizeof(_sceneShapeTable)); _gamePlayBuffer = new uint8[46080]; _unkBuf500Bytes = new uint8[500]; |