Skip to navigation

Aviator on the BBC Micro

Dashboard: indicatorLineJ

Name: indicatorLineJ [Show more] Type: Variable Category: Dashboard Summary: Line buffer storage for the start y-coordinate for each indicator line (J) Deep dive: Line buffers
Context: See this variable in context in the source code References: This variable is used as follows: * DrawIndicatorLine calls indicatorLineJ
.indicatorLineJ \ Storage for the y-coordinate of the starting point of \ of the current hand on indicators 0-6, so we can erase \ it again (this value matches the value of J passed to \ DrawVectorLine and is relative to the top of the \ dashboard at screen y-coordinate 160) EQUB -72 \ Start y-coordinate for indicator 0 (compass) EQUB -23 \ Start y-coordinate for indicator 1 (airspeed) EQUB -68 \ Start y-coordinate for indicator 2 (altimeter small) EQUB -68 \ Start y-coordinate for indicator 3 (altimeter large) EQUB -24 \ Start y-coordinate for indicator 4 (vertical speed) EQUB -70 \ Start y-coordinate for indicator 5 (turn) EQUB -70 \ Start y-coordinate for indicator 6 (slip) \ Storage for the y-coordinate of the starting point of \ of the current artificial horizon on indicator 7, so \ we can erase it again (this value matches the value of \ H passed to DrawVectorLine) EQUB 88 \ Start y-coordinate for indicator 7 (horizon)