diff options
author | Johannes Schickel | 2005-12-31 17:25:47 +0000 |
---|---|---|
committer | Johannes Schickel | 2005-12-31 17:25:47 +0000 |
commit | 22055730de26b895265eab1cf37b8dad9ebc6eb5 (patch) | |
tree | ef39f57e6df1287b8553c1293ac60a83eb0dc758 /kyra/staticres.cpp | |
parent | a10097eaa41357beb2dc4be4f790717fe9fe70a3 (diff) | |
download | scummvm-rg350-22055730de26b895265eab1cf37b8dad9ebc6eb5.tar.gz scummvm-rg350-22055730de26b895265eab1cf37b8dad9ebc6eb5.tar.bz2 scummvm-rg350-22055730de26b895265eab1cf37b8dad9ebc6eb5.zip |
Implemented:
- cmd_drinkPotionAnimation
- cmd_fillFlaskWithWater
- cmd_getIdolGem
- cmd_itemOnGroundHere
- cmd_queryCrystalState
- cmd_setCrystalState
- cmd_setBrandonScaleXAndY
- cmd_resetScaleMode
- cmd_getScaleDepthTableValue
- cmd_setScaleDepthTableValue
- cmd_brandonHealingSequence
svn-id: r19871
Diffstat (limited to 'kyra/staticres.cpp')
-rw-r--r-- | kyra/staticres.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/kyra/staticres.cpp b/kyra/staticres.cpp index 04dece3f1f..626fffc230 100644 --- a/kyra/staticres.cpp +++ b/kyra/staticres.cpp @@ -26,7 +26,7 @@ namespace Kyra { -#define RESFILE_VERSION 9 +#define RESFILE_VERSION 10 #define GAME_FLAGS (GF_FLOPPY | GF_TALKIE | GF_DEMO | GF_AUDIOCD) #define LANGUAGE_FLAGS (GF_ENGLISH | GF_FRENCH | GF_GERMAN | GF_SPANISH | GF_LNGUNK) @@ -238,6 +238,9 @@ void KyraEngine::res_loadResources(int type) { res_loadLangTable("WISPJEWEL.", &resFile, (byte***)&_wispJewelStrings, &_wispJewelStrings_Size, loadNativeLanguage); res_loadLangTable("MAGICJEWEL.", &resFile, (byte***)&_magicJewelString, &_magicJewelString_Size, loadNativeLanguage); + + res_loadLangTable("FLASKFULL.", &resFile, (byte***)&_flaskFull, &_fullFlask_Size, loadNativeLanguage); + res_loadLangTable("FULLFLASK.", &resFile, (byte***)&_fullFlask, &_fullFlask_Size, loadNativeLanguage); } #undef loadRooms @@ -344,6 +347,9 @@ void KyraEngine::res_unloadResources(int type) { delete [] _brandonStoneTable; _brandonStoneTable = 0; _brandonStoneTableSize = 0; + + res_freeLangTable(&_flaskFull, &_flaskFull_Size); + res_freeLangTable(&_fullFlask, &_fullFlask_Size); } } |