.UNIV FOR I%, 0, NOSH EQUW K% + I% * NIK% ; Address of block no. I%, of size NIK%, in workspace K% NEXTName: UNIV [Show more] Type: Variable Category: Universe Summary: Table of pointers to the local universe's ship data blocks Deep dive: The local bubble of universe Ship data blocksContext: See this variable in context in the source code References: This variable is used as follows: * GINF uses UNIV * KILLSHP uses UNIV * KS2 uses UNIV * TACTICS (Part 1 of 7) uses UNIV
Note that in the NES version, there are four extra bytes at the end of each K% block that don't form part of the core ship block, so each ship in K% contains NIK% = NI% + 4 bytes, rather than NI%.
[X]
Workspace K% (category: Workspaces)
Ship data blocks
[X]
Configuration variable NIK% = 42
The number of bytes in each block in K% (as each block contains four extra bytes)