Skip to navigation

Revs on the BBC Micro

Car geometry: xPlayerCoordTop

Name: xPlayerCoordTop [Show more] Type: Variable Category: Car geometry Summary: The top byte of the x-coordinate of the player's 3D coordinates
Context: See this variable in context in the source code References: This variable is used as follows: * AddScaledVector calls xPlayerCoordTop * ApplyDeltas calls xPlayerCoordTop * BuildPlayerCar calls xPlayerCoordTop * GetObjYawAngle (Part 1 of 4) calls xPlayerCoordTop

The coordinate is stored as a 24-bit number in (xPlayerCoordTop xPlayerCoordHi xPlayerCoordLo).
.xPlayerCoordTop EQUB 0