![]() |
Routines |
| Prev: 45457 | Up: Map | Next: 45832 |
|
Used by the routine at InitialiseDisplayBuffer.
Asks the picture handler whether this object has anything to draw.
|
||||
| ReadRoomGraphicsParameter | 45791 | CALL ReportNextEmptyDisplayStep | Call ReportNextEmptyDisplayStep to report that this display step found nothing. | |
| ReadRoomGraphicsParameter_0 | 45794 | CALL MatchSecondNoun | Go to ReadRoomGraphicsParameter_RecordRoomGraphics if bit 7 of the display mode flag at 45433 is set or the handler returns 255. | |
| 45797 | JR Z,ReadRoomGraphicsParameter_RecordRoomGraphics | |||
| 45799 | CALL ProcessObjectDisplayLogic | Jump back to ReadRoomGraphicsParameter_0 while the object has nothing to display. | ||
| 45802 | JR Z,ReadRoomGraphicsParameter_0 | |||
| 45804 | LD A,(41013) | Save the room graphics parameter at 45445. | ||
| 45807 | LD (45445),A | |||
| 45810 | LD HL,45425 | Point HL at the pass count at 45425. | ||
| 45813 | INC (HL) | Count one more pass at 45425 and jump back to ReadRoomGraphicsParameter_0 if the saved flag at ObjectTablePointer+18 is zero. | ||
| 45814 | LD A,(45456) | |||
| 45817 | AND A | |||
| 45818 | JR Z,ReadRoomGraphicsParameter_0 | |||
| ReadRoomGraphicsParameter_RecordRoomGraphics | 45820 | LD A,(45445) | Record the room graphics parameter. | |
| 45823 | LD (41013),A | |||
| 45826 | RET | Return. | ||
|
This entry point is used by the routine at InitialiseDisplayBuffer.
Leave the room-graphics handler at 46766 and return zero.
|
||||
| ReadRoomGraphicsParameter_LeaveRoomGraphics | 45827 | LD HL,46766 | Leave the room-graphics handler at 46766. | |
| 45830 | XOR A | Clear A. | ||
| 45831 | RET | Return. | ||
| Prev: 45457 | Up: Map | Next: 45832 |