![]() |
Data |
| Prev: 74E9 | Up: Map | Next: 758A |
Lying on the planet, as the compositor draw_sprite_pair draws a type $0C object; and fitted to the ship: build_ship_sprite builds the ship's picture with it (its mask, if it has one, ANDed on first by addon_mask_and_draw) and the direct drawer draw_direct_pair draws the ship.
The add-ons (addon_graphics, drawn into the ship's sprite by fit_addon) have a byte before them, the height the ship's sprite must have to show the add-on; then width, height and the picture bottom line first; then $FF, or a mask of the same size that addon_mask_and_draw ANDs on before the picture is ORed. 2 bytes by 4 lines, masked.
|
||||
| addon_bar_graphic | 7577 | DEFB $02,$04 | Width in bytes, height in lines | |
| 7579 | DEFB $00,$10 | The lines, bottom first | ||
| 757B | DEFB $01,$F6 | |||
| 757D | DEFB $1F,$E0 | |||
| 757F | DEFB $07,$C0 | |||
| 7581 | DEFB $FE,$01 | The mask | ||
| 7583 | DEFB $E0,$00 | |||
| 7585 | DEFB $C0,$01 | |||
| 7587 | DEFB $E0,$1F | |||
| 7589 | DEFB $10 | Add-on 6's height byte | ||
| Prev: 74E9 | Up: Map | Next: 758A |