Prev: 44096 Up: Map Next: 44295
44276: Append Entity Item
Used by the routine at PrepareEntityItem.
Adds an entity to the draw list without preparing a table record for it. Used for entity types 12 and 16.
Input
IX The entity
AppendEntityItem 44276 EXX Keep the other registers aside.
44277 LD HL,(45164) The next free entry of the draw list.
44280 LD (HL),1 Mark the entry as an entity and move on.
44282 INC HL
44283 PUSH IX Write this entity's address into the entry.
44285 POP DE
44286 LD (HL),E
44287 INC HL
44288 LD (HL),D
44289 INC HL
44290 LD (45164),HL The list continues after this entry.
44293 EXX Bring the other registers back.
44294 RET Return.
Prev: 44096 Up: Map Next: 44295