Skip to navigation


Dashboard: leftDashMask

Name: leftDashMask [Show more] Type: Variable Category: Dashboard Summary: Pixel mask for the left edge of the dashboard Deep dive: Drawing around the dashboard
Context: See this variable in context in the source code References: This variable is used as follows: * DrawTrackView (Part 2 of 4) uses leftDashMask * DrawTrackView (Part 3 of 4) uses leftDashMask

Contains a mask byte for the track pixels along the left edge of the central part of the dashboard. There is a byte for each track line from 43 (the track line at the top of the dashboard) down to 3 (the lowest track line, just above where the wing mirror joins the car body). Lines 0 to 2 are not used. Set bits correspond to the track pixels, while clear bits correspond to the dashboard pixels.
.leftDashMask EQUB %11111111 \ Line 0 EQUB %11111111 \ Line 1 EQUB %10001000 \ Line 2 EQUB %10001000 \ Line 3 EQUB %11001100 \ Line 4 EQUB %11101110 \ Line 5 EQUB %11111111 \ Line 6 EQUB %10001000 \ Line 7 EQUB %10001000 \ Line 8 EQUB %11001100 \ Line 9 EQUB %11101110 \ Line 10 EQUB %11111111 \ Line 11 EQUB %10001000 \ Line 12 EQUB %11001100 \ Line 13 EQUB %11101110 \ Line 14 EQUB %11111111 \ Line 15 EQUB %10001000 \ Line 16 EQUB %11001100 \ Line 17 EQUB %11101110 \ Line 18 EQUB %11111111 \ Line 19 EQUB %10001000 \ Line 20 EQUB %11001100 \ Line 21 EQUB %11101110 \ Line 22 EQUB %11111111 \ Line 23 EQUB %10001000 \ Line 24 EQUB %11001100 \ Line 25 EQUB %11101110 \ Line 26 EQUB %11111111 \ Line 27 EQUB %10001000 \ Line 28 EQUB %10001000 \ Line 29 EQUB %11001100 \ Line 30 EQUB %11001100 \ Line 31 EQUB %11001100 \ Line 32 EQUB %11101110 \ Line 33 EQUB %11101110 \ Line 34 EQUB %11101110 \ Line 35 EQUB %11111111 \ Line 36 EQUB %11111111 \ Line 37 EQUB %11111111 \ Line 38 EQUB %10001000 \ Line 39 EQUB %10001000 \ Line 40 EQUB %10001000 \ Line 41 EQUB %11001100 \ Line 42 EQUB %11001100 \ Line 43