Ticket #15482: fate-1.5.txt

File fate-1.5.txt, 4.5 KB (added by eriktorbjorn, 13 hours ago)
Line 
1diff --git a/engines/scumm/macgui/macgui_strings.cpp b/engines/scumm/macgui/macgui_strings.cpp
2index 8d435348cf9..df43b002e0b 100644
3--- a/engines/scumm/macgui/macgui_strings.cpp
4+++ b/engines/scumm/macgui/macgui_strings.cpp
5@@ -415,6 +415,67 @@ static MacGuiImpl::MacSTRSParsingEntry strsIndy4CDVariant1Table[] = {
6 { MacGuiImpl::kMSIAboutString37, MacGuiImpl::kStrPascal, 1 },
7 };
8
9+static MacGuiImpl::MacSTRSParsingEntry strsIndy4CDVariant2Table[] = {
10+ SKIP_C(97),
11+ SKIP_P(1),
12+ { MacGuiImpl::kMSIAboutGameName, MacGuiImpl::kStrPascal, 1 },
13+ SKIP_P(2),
14+ { MacGuiImpl::kMSIAreYouSureYouWantToQuit, MacGuiImpl::kStrC, 1 },
15+ { MacGuiImpl::kMSIRoughCommandMsg, MacGuiImpl::kStrC, 1 },
16+ SKIP_C(1),
17+ { MacGuiImpl::kMSIAreYouSureYouWantToRestart, MacGuiImpl::kStrC, 1 },
18+ SKIP_C(1),
19+ SKIP_P(1),
20+ { MacGuiImpl::kMSIGameName, MacGuiImpl::kStrPascal, 1 },
21+ SKIP_C(1),
22+ { MacGuiImpl::kMSIOpenGameFile, MacGuiImpl::kStrPascal, 1 },
23+ SKIP_P(1),
24+ SKIP_P(1),
25+ SKIP_P(1),
26+ SKIP_P(1),
27+ { MacGuiImpl::kMSISaveGameFileAs, MacGuiImpl::kStrPascal, 1 },
28+ { MacGuiImpl::kMSIGameFile, MacGuiImpl::kStrPascal, 1 },
29+ SKIP_C(6),
30+ SKIP_P(2),
31+ { MacGuiImpl::kMSIAboutString1, MacGuiImpl::kStrPascal, 1 },
32+ { MacGuiImpl::kMSIAboutString2, MacGuiImpl::kStrPascal, 1 },
33+ { MacGuiImpl::kMSIAboutString3, MacGuiImpl::kStrPascal, 1 },
34+ { MacGuiImpl::kMSIAboutString4, MacGuiImpl::kStrPascal, 1 },
35+ { MacGuiImpl::kMSIAboutString5, MacGuiImpl::kStrPascal, 1 },
36+ { MacGuiImpl::kMSIAboutString6, MacGuiImpl::kStrPascal, 1 },
37+ { MacGuiImpl::kMSIAboutString7, MacGuiImpl::kStrPascal, 1 },
38+ { MacGuiImpl::kMSIAboutString8, MacGuiImpl::kStrPascal, 1 },
39+ { MacGuiImpl::kMSIAboutString9, MacGuiImpl::kStrPascal, 1 },
40+ { MacGuiImpl::kMSIAboutString10, MacGuiImpl::kStrPascal, 1 },
41+ { MacGuiImpl::kMSIAboutString11, MacGuiImpl::kStrPascal, 1 },
42+ { MacGuiImpl::kMSIAboutString12, MacGuiImpl::kStrPascal, 1 },
43+ { MacGuiImpl::kMSIAboutString13, MacGuiImpl::kStrPascal, 1 },
44+ { MacGuiImpl::kMSIAboutString14, MacGuiImpl::kStrPascal, 1 },
45+ { MacGuiImpl::kMSIAboutString15, MacGuiImpl::kStrPascal, 1 },
46+ { MacGuiImpl::kMSIAboutString16, MacGuiImpl::kStrPascal, 1 },
47+ { MacGuiImpl::kMSIAboutString17, MacGuiImpl::kStrPascal, 1 },
48+ { MacGuiImpl::kMSIAboutString18, MacGuiImpl::kStrPascal, 1 },
49+ { MacGuiImpl::kMSIAboutString19, MacGuiImpl::kStrPascal, 1 },
50+ { MacGuiImpl::kMSIAboutString20, MacGuiImpl::kStrPascal, 1 },
51+ { MacGuiImpl::kMSIAboutString21, MacGuiImpl::kStrPascal, 1 },
52+ { MacGuiImpl::kMSIAboutString22, MacGuiImpl::kStrPascal, 1 },
53+ { MacGuiImpl::kMSIAboutString23, MacGuiImpl::kStrPascal, 1 },
54+ { MacGuiImpl::kMSIAboutString24, MacGuiImpl::kStrPascal, 1 },
55+ { MacGuiImpl::kMSIAboutString25, MacGuiImpl::kStrPascal, 1 },
56+ { MacGuiImpl::kMSIAboutString26, MacGuiImpl::kStrPascal, 1 },
57+ { MacGuiImpl::kMSIAboutString27, MacGuiImpl::kStrPascal, 1 },
58+ { MacGuiImpl::kMSIAboutString28, MacGuiImpl::kStrPascal, 1 },
59+ { MacGuiImpl::kMSIAboutString29, MacGuiImpl::kStrPascal, 1 },
60+ { MacGuiImpl::kMSIAboutString30, MacGuiImpl::kStrPascal, 1 },
61+ { MacGuiImpl::kMSIAboutString31, MacGuiImpl::kStrPascal, 1 },
62+ { MacGuiImpl::kMSIAboutString32, MacGuiImpl::kStrPascal, 1 },
63+ { MacGuiImpl::kMSIAboutString33, MacGuiImpl::kStrPascal, 1 },
64+ { MacGuiImpl::kMSIAboutString34, MacGuiImpl::kStrPascal, 1 },
65+ { MacGuiImpl::kMSIAboutString35, MacGuiImpl::kStrPascal, 1 },
66+ { MacGuiImpl::kMSIAboutString36, MacGuiImpl::kStrPascal, 1 },
67+ { MacGuiImpl::kMSIAboutString37, MacGuiImpl::kStrPascal, 1 },
68+};
69+
70 static MacGuiImpl::MacSTRSParsingEntry strsIndy4FloppyVariant1Table[] = {
71 SKIP_C(93),
72 SKIP_P(1),
73@@ -609,6 +670,11 @@ void MacGuiImpl::readStrings() {
74 parsingTable = strsIndy4CDVariant1Table;
75 parsingTableSize = ARRAYSIZE(strsIndy4CDVariant1Table);
76 break;
77+ case 6772: // CD
78+ // fate_v1.5
79+ parsingTable = strsIndy4CDVariant2Table;
80+ parsingTableSize = ARRAYSIZE(strsIndy4CDVariant2Table);
81+ break;
82 }
83 } else {
84 error("MacGuiImpl::readStrings(): String parsing table not defined for this game");