Skip to navigation

Aviator on the BBC Micro

3D geometry: xLinearHi

Name: xLinearHi [Show more] Type: Variable Category: 3D geometry Summary: High byte of point 252 (x-coordinate)
Context: See this variable in context in the source code References: This variable is used as follows: * ApplyFlightModel (Part 4 of 7) calls xLinearHi * ApplyFlightModel (Part 5 of 7) calls xLinearHi * ApplyTurnAndThrust (Part 2 of 2) calls xLinearHi
.xLinearHi EQUB &20 \ High byte of point 252 (x-coordinate) \ \ Point 252 is used to store the sum of all the forces \ on the plane when calculating the flight model \ \ Stored as a 16-bit value (xLinearHi xLinearLo)