[Scummvm-cvs-logs] SF.net SVN: scummvm: [31562] scummvm/trunk/tools/create_kyradat
athrxx at users.sourceforge.net
athrxx at users.sourceforge.net
Fri Apr 18 21:14:45 CEST 2008
Revision: 31562
http://scummvm.svn.sourceforge.net/scummvm/?rev=31562&view=rev
Author: athrxx
Date: 2008-04-18 12:14:44 -0700 (Fri, 18 Apr 2008)
Log Message:
-----------
update kyradat tool
Modified Paths:
--------------
scummvm/trunk/tools/create_kyradat/create_kyradat.cpp
scummvm/trunk/tools/create_kyradat/create_kyradat.h
scummvm/trunk/tools/create_kyradat/hof_demo.h
scummvm/trunk/tools/create_kyradat/misc.h
Modified: scummvm/trunk/tools/create_kyradat/create_kyradat.cpp
===================================================================
--- scummvm/trunk/tools/create_kyradat/create_kyradat.cpp 2008-04-18 19:13:49 UTC (rev 31561)
+++ scummvm/trunk/tools/create_kyradat/create_kyradat.cpp 2008-04-18 19:14:44 UTC (rev 31562)
@@ -31,7 +31,7 @@
#include "md5.h"
enum {
- kKyraDatVersion = 23,
+ kKyraDatVersion = 24,
kIndexSize = 12
};
@@ -224,6 +224,7 @@
{ k2IngameTalkObjIndex, kTypeRawData, "I_TALKOBJECTS.MAP" },
{ k2IngameTimJpStrings, kTypeStringList, "I_TIMJPSTR.TXT" },
{ k2IngameItemAnimData, k2TypeShpDataV2, "I_INVANIM.SHP" },
+ { k2IngameTlkDemoStrings, kTypeLanguageList, "I_TLKDEMO.TXT" },
{ -1, 0, 0 }
};
Modified: scummvm/trunk/tools/create_kyradat/create_kyradat.h
===================================================================
--- scummvm/trunk/tools/create_kyradat/create_kyradat.h 2008-04-18 19:13:49 UTC (rev 31561)
+++ scummvm/trunk/tools/create_kyradat/create_kyradat.h 2008-04-18 19:14:44 UTC (rev 31562)
@@ -162,6 +162,7 @@
k2IngameTalkObjIndex,
k2IngameTimJpStrings,
k2IngameItemAnimData,
+ k2IngameTlkDemoStrings,
kMaxResIDs
};
@@ -200,7 +201,11 @@
k2FloppyFile1 = 15,
k2FloppyFile2 = 16,
- k2DemoVersion = 17
+ k2DemoVersion = 17,
+
+ k2DemoVersionTlkE = 18,
+ k2DemoVersionTlkF = 19,
+ k2DemoVersionTlkG = 20
};
struct SpecialExtension {
Modified: scummvm/trunk/tools/create_kyradat/hof_demo.h
===================================================================
--- scummvm/trunk/tools/create_kyradat/hof_demo.h 2008-04-18 19:13:49 UTC (rev 31561)
+++ scummvm/trunk/tools/create_kyradat/hof_demo.h 2008-04-18 19:14:44 UTC (rev 31562)
@@ -7,7 +7,26 @@
{ -1, 0, 0 }
};
+const ExtractEntry kyra2DemoCDE[] = {
+ { k2IngameTlkDemoStrings, 0x0002F367, 0x0002F432 },
+ { -1, 0, 0 }
+};
+
+const ExtractEntry kyra2DemoCDF[] = {
+ { k2IngameTlkDemoStrings, 0x0002F432, 0x0002F4F0 },
+ { -1, 0, 0 }
+};
+
+const ExtractEntry kyra2DemoCDG[] = {
+ { k2IngameTlkDemoStrings, 0x0002F4F0, 0x0002F5CC },
+ { -1, 0, 0 }
+};
+
const Game kyra2Demos[] = {
{ kKyra2, EN_ANY, k2DemoVersion, "a620a37579dd44ab0403482285e3897f", kyra2Demo},
+ { kKyra2, EN_ANY, k2CDFile2E, "fa54d8abfe05f9186c05f7de7eaf1480", kyra2DemoCDE},
+ { kKyra2, FR_FRA, k2CDFile2F, "fa54d8abfe05f9186c05f7de7eaf1480", kyra2DemoCDF},
+ { kKyra2, DE_DEU, k2CDFile2G, "fa54d8abfe05f9186c05f7de7eaf1480", kyra2DemoCDG},
+
GAME_DUMMY_ENTRY
};
Modified: scummvm/trunk/tools/create_kyradat/misc.h
===================================================================
--- scummvm/trunk/tools/create_kyradat/misc.h 2008-04-18 19:13:49 UTC (rev 31561)
+++ scummvm/trunk/tools/create_kyradat/misc.h 2008-04-18 19:14:44 UTC (rev 31562)
@@ -455,6 +455,11 @@
-1
};
+const int kyra2TlkDemoNeed[] = {
+ k2IngameTlkDemoStrings,
+ -1
+};
+
const GameNeed gameNeedTable[] = {
{ kKyra1, -1, kyra1FloppyNeed },
{ kKyra1, kTalkieVersion, kyra1CDNeed },
@@ -476,6 +481,9 @@
{ kKyra2, k2TownsFile2E , kyra2TownsFile2EngNeed },
{ kKyra2, k2TownsFile2J, kyra2TownsFile2JapNeed },
{ kKyra2, k2DemoVersion, kyra2DemoNeed},
+ { kKyra2, k2DemoVersionTlkE, kyra2TlkDemoNeed},
+ { kKyra2, k2DemoVersionTlkF, kyra2TlkDemoNeed},
+ { kKyra2, k2DemoVersionTlkG, kyra2TlkDemoNeed},
{ -1, -1, 0 }
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list