aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/staticres.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-10-14 14:17:15 +0000
committerJohannes Schickel2009-10-14 14:17:15 +0000
commit51975b50cb8f95d15b3d9e63b8de4b590eb90016 (patch)
treeba3c92f2789cecd54a690d693032d007ea8755c9 /engines/kyra/staticres.cpp
parentc93c9cb68dded6d4a47de73c2de74d433b027439 (diff)
downloadscummvm-rg350-51975b50cb8f95d15b3d9e63b8de4b590eb90016.tar.gz
scummvm-rg350-51975b50cb8f95d15b3d9e63b8de4b590eb90016.tar.bz2
scummvm-rg350-51975b50cb8f95d15b3d9e63b8de4b590eb90016.zip
Add LoL PC98 credits entries to kyra.dat.
svn-id: r45082
Diffstat (limited to 'engines/kyra/staticres.cpp')
-rw-r--r--engines/kyra/staticres.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp
index bddeb758e0..395fe5d544 100644
--- a/engines/kyra/staticres.cpp
+++ b/engines/kyra/staticres.cpp
@@ -45,7 +45,7 @@
namespace Kyra {
-#define RESFILE_VERSION 58
+#define RESFILE_VERSION 59
namespace {
bool checkKyraDat(Common::SeekableReadStream *file) {
@@ -469,6 +469,8 @@ bool StaticResource::init() {
{ kLolLightningDefs, kRawData, "MLGHTNG.DEF" },
{ kLolFireballCoords, kLolRawDataBe16, "MFIREBLL.DEF" },
+ { kLolCredits, kRawData, "LOLCREDITS" },
+
{ kLolHistory, kRawData, "HISTORY.FLS" },
{ 0, 0, 0 }
@@ -501,10 +503,10 @@ void StaticResource::deinit() {
}
const char * const *StaticResource::loadStrings(int id, int &strings) {
- const char * const*temp = (const char* const *)getData(id, kStringList, strings);
+ const char * const *temp = (const char * const *)getData(id, kStringList, strings);
if (temp)
return temp;
- return (const char* const *)getData(id, kLanguageList, strings);
+ return (const char * const *)getData(id, kLanguageList, strings);
}
const uint8 *StaticResource::loadRawData(int id, int &size) {