Skip to navigation

Revs on the BBC Micro

Car geometry: xPlayerCoordHi

Name: xPlayerCoordHi [Show more] Type: Variable Category: Car geometry Summary: The high 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 xPlayerCoordHi * ApplyDeltas calls xPlayerCoordHi * BuildPlayerCar calls xPlayerCoordHi * GetObjYawAngle (Part 1 of 4) calls xPlayerCoordHi * ResetVariables calls xPlayerCoordHi

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