diff options
| author | Johannes Schickel | 2005-12-20 12:42:22 +0000 |
|---|---|---|
| committer | Johannes Schickel | 2005-12-20 12:42:22 +0000 |
| commit | df493c63c4a0ffc66aa8576dae80a914c344606b (patch) | |
| tree | cffd92f632d6f2c7e8ceb4e6dc16c1f87c8db0e8 /kyra/staticres.cpp | |
| parent | f241049961e4758894a0d1abefce6a225956f7d8 (diff) | |
| download | scummvm-rg350-df493c63c4a0ffc66aa8576dae80a914c344606b.tar.gz scummvm-rg350-df493c63c4a0ffc66aa8576dae80a914c344606b.tar.bz2 scummvm-rg350-df493c63c4a0ffc66aa8576dae80a914c344606b.zip | |
Implemented cmd_makeAmuletAppear.
svn-id: r19815
Diffstat (limited to 'kyra/staticres.cpp')
| -rw-r--r-- | kyra/staticres.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/kyra/staticres.cpp b/kyra/staticres.cpp index d6e19a323b..1f5afdff97 100644 --- a/kyra/staticres.cpp +++ b/kyra/staticres.cpp @@ -26,7 +26,7 @@ namespace Kyra { -#define RESFILE_VERSION 4 +#define RESFILE_VERSION 5 #define GAME_FLAGS (GF_FLOPPY | GF_TALKIE | GF_DEMO | GF_AUDIOCD) #define LANGUAGE_FLAGS (GF_ENGLISH | GF_FRENCH | GF_GERMAN | GF_SPANISH | GF_LNGUNK) @@ -194,6 +194,8 @@ void KyraEngine::res_loadResources(int type) { res_loadLangTable("PLACED.", &resFile, (byte***)&_placedList, &_placedList_Size, loadNativeLanguage); res_loadLangTable("DROPPED.", &resFile, (byte***)&_droppedList, &_droppedList_Size, loadNativeLanguage); res_loadLangTable("NODROP.", &resFile, (byte***)&_noDropList, &_noDropList_Size, loadNativeLanguage); + + loadRawFile(resFile, "AMULETEANIM.SEQ", _amuleteAnim); } #undef loadRooms @@ -299,6 +301,9 @@ void KyraEngine::res_unloadResources(int type) { delete [] _noDropList; _noDropList_Size = 0; _noDropList = 0; + + delete [] _amuleteAnim; + _amuleteAnim = 0; } } @@ -627,7 +632,6 @@ const int8 KyraEngine::_addYPosTable[] = { 0, -2, -2, -2, 0, 2, 2, 2 }; -const uint16 KyraEngine::_amuletX[] = {231, 275, 253, 253}; -const uint16 KyraEngine::_amuletY[] = {170, 170, 159, 181}; - +const uint16 KyraEngine::_amuletX[] = { 231, 275, 253, 253 }; +const uint16 KyraEngine::_amuletY[] = { 170, 170, 159, 181 }; } // End of namespace Kyra |
