Skip to navigation

Aviator on the BBC Micro

3D geometry: objectGroup

Name: objectGroup [Show more] Type: Variable Category: 3D geometry Summary: The current group number for object IDs 6, 7, 8 and 9 Deep dive: 3D objects
Context: See this variable in context in the source code References: This variable is used as follows: * NextObjectGroup calls objectGroup * SetObjectCoords (Part 4 of 11) calls objectGroup

The current object number in each of the four object groups. The values in this table cycle through the following values: * 0 to 7 the current group number for object ID 6 * 8 to 15 the current group number for object ID 7 * 16 to 23 the current group number for object ID 8 * 24 to 31 the current group number for object ID 9 and then back round to the start. The cycling is performed by successive calls to the NextObjectGroup routine.
.objectGroup EQUB 0, 8, 16, 24