aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/chargen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/chargen.cpp')
-rw-r--r--engines/kyra/chargen.cpp26
1 files changed, 2 insertions, 24 deletions
diff --git a/engines/kyra/chargen.cpp b/engines/kyra/chargen.cpp
index a288359092..f7a546091d 100644
--- a/engines/kyra/chargen.cpp
+++ b/engines/kyra/chargen.cpp
@@ -224,7 +224,8 @@ bool CharacterGenerator::start(EobCharacter *characters, uint8 ***faceShapes) {
finish();
}
- _vm->sound()->playTrack(15);
+ if (_vm->game() == GI_EOB2)
+ _vm->sound()->playTrack(15);
*faceShapes = _faceShapes;
return true;
@@ -1406,29 +1407,6 @@ const EobRect8 CharacterGenerator::_chargenButtonBodyCoords[] = {
{ 0x14, 0x90, 0x0B, 0x10 }
};
-const EobRect16 GUI_Eob::_updateBoxFrameHighLights[] = {
- { 0x00B7, 0x0001, 0x00F7, 0x0034 },
- { 0x00FF, 0x0001, 0x013F, 0x0034 },
- { 0x00B7, 0x0035, 0x00F7, 0x0068 },
- { 0x00FF, 0x0035, 0x013F, 0x0068 },
- { 0x00B7, 0x0069, 0x00F7, 0x009C },
- { 0x00FF, 0x0069, 0x013F, 0x009C },
- { 0x0010, 0x003F, 0x0030, 0x0060 },
- { 0x0050, 0x003F, 0x0070, 0x0060 },
- { 0x0010, 0x007F, 0x0030, 0x00A0 },
- { 0x0050, 0x007F, 0x0070, 0x00A0 },
- { 0x00B0, 0x0042, 0x00D0, 0x0061 },
- { 0x00D0, 0x0042, 0x00F0, 0x0061 },
- { 0x00F0, 0x0042, 0x0110, 0x0061 },
- { 0x0110, 0x0042, 0x0130, 0x0061 },
- { 0x0004, 0x0018, 0x0024, 0x0039 },
- { 0x00A3, 0x0018, 0x00C3, 0x0039 },
- { 0x0004, 0x0040, 0x0024, 0x0061 },
- { 0x00A3, 0x0040, 0x00C3, 0x0061 },
- { 0x0004, 0x0068, 0x0024, 0x0089 },
- { 0x00A3, 0x0068, 0x00C3, 0x0089 }
-};
-
const int16 CharacterGenerator::_chargenBoxX[] = { 0x10, 0x50, 0x10, 0x50 };
const int16 CharacterGenerator::_chargenBoxY[] = { 0x3F, 0x3F, 0x7F, 0x7F };
const int16 CharacterGenerator::_chargenNameFieldX[] = { 0x02, 0x42, 0x02, 0x42 };