![]() |
Data |
| Prev: 59904 | Up: Map |
|
Used by the routine at 35068.
The first 128 bytes define the room layout. Each bit-pair (bits 7 and 6, 5 and 4, 3 and 2, or 1 and 0 of each byte) determines the type of tile (background, floor, wall or nasty) that will be drawn at the corresponding location.
|
|||||||||
| 60160 | DEFB 0,0,0,0,0,0,0,0 | Room layout | |||||||
| 60168 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 60176 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 60184 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 60192 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 60200 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 60208 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 60216 | DEFB 0,0,0,0,0,42,170,170 | ||||||||
| 60224 | DEFB 0,0,0,0,0,48,195,12 | ||||||||
| 60232 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 60240 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 60248 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 60256 | DEFB 0,0,0,0,0,0,0,0 | ||||||||
| 60264 | DEFB 0,0,0,0,0,0,80,0 | ||||||||
| 60272 | DEFB 0,0,0,0,0,0,5,85 | ||||||||
| 60280 | DEFB 0,0,0,0,0,4,0,0 | ||||||||
|
The next 32 bytes contain the room name.
|
|||||||||
| 60288 | DEFM " Conservatory Roof " | Room name | |||||||
|
The next 54 bytes contain the attributes and graphic data for the tiles used to build the room.
|
|||||||||
| 60320 | DEFB 0,0,0,0,0,0,0,0,0 | Background | |||||||
| 60329 | DEFB 4,172,83,42,208,138,36,34,4 | Floor | |||||||
| 60338 | DEFB 5,247,239,0,0,0,102,102,0 | Wall | |||||||
| 60347 | DEFB 67,218,213,127,46,17,31,10,27 | Nasty | |||||||
| 60356 | DEFB 7,1,2,4,16,8,32,64,128 | Ramp | |||||||
| 60365 | DEFB 255,0,0,0,0,0,0,0,0 | Conveyor | |||||||
|
The next 8 bytes define the direction, location and length of the conveyor and ramp.
|
|||||||||
| 60374 | DEFB 1,186,95,6 | Conveyor direction (right), location (x=26, y=13) and length (6) | |||||||
| 60378 | DEFB 1,236,95,9 | Ramp direction (right), location (x=12, y=15) and length (9) | |||||||
|
The next byte specifies the border colour.
|
|||||||||
| 60382 | DEFB 5 | Border colour | |||||||
| 60383 | DEFB 0,0 | Unused | |||||||
|
The next 8 bytes define the item graphic.
|
|||||||||
| 60385 | DEFB 24,24,248,60,126,96,96,126 | Item graphic | |||||||
|
The next 4 bytes specify the rooms to the left, to the right, above and below.
|
|||||||||
| 60393 | DEFB 0 | Room to the left (The Off Licence) | |||||||
| 60394 | DEFB 42 | Room to the right (Under the Roof) | |||||||
| 60395 | DEFB 0 | Room above (The Off Licence) | |||||||
| 60396 | DEFB 37 | Room below (Orangery) | |||||||
| 60397 | DEFB 0,0,0 | Unused | |||||||
|
The next 8 pairs of bytes specify the entities (ropes, arrows, guardians) in this room. The first byte in each pair identifies one of the entity definitions at 40960. The meaning of the second byte depends on the entity type: it determines the base sprite index and x-coordinate of a guardian, the y-coordinate of an arrow, or the x-coordinate of the top of a rope.
|
|||||||||
| 60400 | DEFB 106,20 | Guardian no. 106 (horizontal), base sprite 0, initial x=20 (41808) | |||||||
| 60402 | DEFB 61,24 | Guardian no. 61 (horizontal), base sprite 0, initial x=24 (41448) | |||||||
| 60404 | DEFB 255,0 | Terminator (41976) | |||||||
| 60406 | DEFB 0,0 | Nothing (40960) | |||||||
| 60408 | DEFB 0,0 | Nothing (40960) | |||||||
| 60410 | DEFB 0,0 | Nothing (40960) | |||||||
| 60412 | DEFB 0,0 | Nothing (40960) | |||||||
| 60414 | DEFB 0,0 | Nothing (40960) | |||||||
| Prev: 59904 | Up: Map |