X Tutup
Skip to content

Commit ddfbb2d

Browse files
committed
FREESCAPE: added background in castle amiga
1 parent ea8004d commit ddfbb2d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

engines/freescape/games/castle/amiga.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,12 @@ void CastleEngine::loadAssetsAmigaDemo() {
177177
_border = loadFrameFromPlanesVertical(&file, 160, 200);
178178
_border->convertToInPlace(_gfx->_texturePixelFormat, (byte *)kAmigaCastlePalette, 16);
179179

180+
// Mountains skybox panorama used by FUN_3E38.
181+
// Source at memory 0x406A (file 0x4086), 63 words x 22 rows, interleaved 4-plane.
182+
file.seek(0x4086);
183+
_background = loadFrameFromPlanesInterleaved(&file, 63, 22);
184+
_background->convertToInPlace(_gfx->_texturePixelFormat, (byte *)kAmigaCastlePalette, 16);
185+
180186
// Menu image used by drawInfoMenu:
181187
// Assembly at ~0x1AE0 copies from mem 0x350CA in a 14-word x 116-row loop.
182188
// File offset = mem + 0x1C header => 0x350E6.

0 commit comments

Comments
 (0)
X Tutup