aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource_v2.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2005-04-10 09:58:37 +0000
committerEugene Sandulenko2005-04-10 09:58:37 +0000
commit582c56c236a859da23c287986e1021fa0735f197 (patch)
treebc3d71ab907e1b8b089feeccdcb7c90a88782bd4 /scumm/resource_v2.cpp
parent82c10524b431061e0e79a8ed5eacf894109533b2 (diff)
downloadscummvm-rg350-582c56c236a859da23c287986e1021fa0735f197.tar.gz
scummvm-rg350-582c56c236a859da23c287986e1021fa0735f197.tar.bz2
scummvm-rg350-582c56c236a859da23c287986e1021fa0735f197.zip
Do not hardcode character translation tables and verbs prepositions
in MM NES but extract it directly from ROM. Patch from Quietust svn-id: r17505
Diffstat (limited to 'scumm/resource_v2.cpp')
-rw-r--r--scumm/resource_v2.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/scumm/resource_v2.cpp b/scumm/resource_v2.cpp
index 1e968d6b00..fb8dddc807 100644
--- a/scumm/resource_v2.cpp
+++ b/scumm/resource_v2.cpp
@@ -38,9 +38,12 @@ void ScummEngine_v2::readClassicIndexFile() {
_numRooms = 55;
if (_features & GF_NES)
- // costumes 25-37 are special. see v1MMNEScostTables[] in costume.cpp
- // costumes 38-77 are room graphics resources, to be referenced in
- _numCostumes = 77;
+ // costumes 25-36 are special. see v1MMNEScostTables[] in costume.cpp
+ // costumes 37-76 are room graphics resources
+ // costume 77 is a character set translation table
+ // costume 78 is a preposition list
+ // costume 79 is unused but allocated, so the total is a nice even number :)
+ _numCostumes = 80;
else
_numCostumes = 35;