Prev: 63365 Up: Map Next: 63663
63507: Handler: Room Images
Draw the location pictures. Each entry loads a graphic pointer and either draws it directly or expands and tints the shared room picture.
Displays the image for in deep space.
game-in-deep-space
DisplayImage_InDeepSpace 63507 LD IX,39629 IX=Image_InDeepSpace.
63511 CALL Print_RoomImage Call Print_RoomImage to draw the room picture.
63514 RET Return.
Displays the image for in orbit around an unknown planet.
game-in-orbit
DisplayImage_InOrbit 63515 LD IX,40707 IX=Image_InOrbitAroundAnUnknownPlanet.
63519 CALL Print_RoomImage Call Print_RoomImage to draw the room picture.
63522 RET Return.
Displays the image for the landing pad.
game-landing-pad
DisplayImage_LandingPad 63523 LD IX,55879 IX=Image_TheLandingPad.
63527 CALL Print_RoomImage Call Print_RoomImage to draw the room picture.
63530 RET Return.
Displays the image for the yellow room.
game-yellow-room
DisplayImage_YellowRoom 63531 LD IX,59665 IX=Image_TheWhiteRoom.
63535 CALL PrintRoomGraphic Call PrintRoomGraphic to expand the room picture.
63538 LD A,48 Tint that picture yellow (48).
63540 CALL RecolourRoomImage Call RecolourRoomImage to recolour the picture.
63543 RET Return.
Displays the image for the green room.
game-green-room
DisplayImage_GreenRoom 63544 LD IX,59665 IX=Image_TheWhiteRoom.
63548 CALL PrintRoomGraphic Call PrintRoomGraphic to expand the room picture.
63551 LD A,32 Tint that picture green (32).
63553 CALL RecolourRoomImage Call RecolourRoomImage to recolour the picture.
63556 RET Return.
Displays the image for the blue room.
game-blue-room
DisplayImage_BlueRoom 63557 LD IX,59665 IX=Image_TheWhiteRoom.
63561 CALL PrintRoomGraphic Call PrintRoomGraphic to expand the room picture.
63564 LD A,40 Tint that picture cyan (40), the colour the game calls blue.
63566 CALL RecolourRoomImage Call RecolourRoomImage to recolour the picture.
63569 RET Return.
Displays the image for the red room.
game-red-room
DisplayImage_RedRoom 63570 LD IX,59665 IX=Image_TheWhiteRoom.
63574 CALL PrintRoomGraphic Call PrintRoomGraphic to expand the room picture.
63577 LD A,80 Tint that picture red (80).
63579 CALL RecolourRoomImage Call RecolourRoomImage to recolour the picture.
63582 RET Return.
Paint the whole picture with the attribute in A first (PaintRoomImage), then blank the 71 attribute cells listed at Table_AttributeAddresses.
RecolourRoomImage 63583 CALL PaintRoomImage Call PaintRoomImage to paint every picture attribute with A.
63586 LD IX,63365 Point at Table_AttributeAddresses and prepare to blank its 71 attribute cells (black ink on black paper).
63590 LD B,71
63592 XOR A
RecolourRoomImage_Loop 63593 LD L,(IX+0) Blank every attribute address in that list.
63596 LD H,(IX+1)
63599 LD (HL),A
63600 INC IX
63602 INC IX
63604 DJNZ RecolourRoomImage_Loop
63606 RET Return.
Displays the image for the white room.
game-white-room
DisplayImage_WhiteRoom 63607 LD IX,59665 IX=Image_TheWhiteRoom.
63611 CALL Print_RoomImage Call Print_RoomImage to draw the room picture.
63614 RET Return.
Displays the image for the limestone maze.
game-limestone-maze
DisplayImage_LimestoneMaze 63615 LD IX,42629 IX=Image_TheLimestoneMaze.
63619 CALL Print_RoomImage Call Print_RoomImage to draw the room picture.
63622 RET Return.
Displays the image for the tall canyon.
game-tall-canyon
DisplayImage_TallCanyon 63623 LD IX,49147 IX=Image_TheTallCanyon.
63627 CALL Print_RoomImage Call Print_RoomImage to draw the room picture.
63630 RET Return.
Displays the image for the reactor room.
game-reactor-room
DisplayImage_ReactorRoom 63631 LD IX,53795 IX=Image_TheReactorRoom.
63635 CALL Print_RoomImage Call Print_RoomImage to draw the room picture.
63638 RET Return.
Displays the image for the west bank of the lake.
game-west-bank-of-the-lake
DisplayImage_WestBankOfTheLake 63639 LD IX,51429 IX=Image_TheWestBankOfTheLake.
63643 CALL Print_RoomImage Call Print_RoomImage to draw the room picture.
63646 RET Return.
Displays the image for the plateau.
game-plateau
DisplayImage_Plateau 63647 LD IX,45629 IX=Image_ThePlateau.
63651 CALL Print_RoomImage Call Print_RoomImage to draw the room picture.
63654 RET Return.
Displays the image for the repair bay.
game-repair-bay
DisplayImage_RepairBay 63655 LD IX,57655 IX=Image_TheRepairBay.
63659 CALL Print_RoomImage Call Print_RoomImage to draw the room picture.
63662 RET Return.
Prev: 63365 Up: Map Next: 63663