Skip to navigation


Track geometry: vergeColour

Name: vergeColour [Show more] Type: Variable Category: Track geometry Summary: Lookup table for converting bits 0-2 of the segment flag byte into the verge colour scheme
Context: See this variable in context in the source code References: This variable is used as follows: * GetVergeAndMarkers (Part 1 of 4) uses vergeColour
.vergeColour EQUB 0 \ * 0 = %000 = black right, black left, straight EQUB 0 \ * 1 = %001 = black right, black left, curve EQUB 1 \ * 2 = %010 = black right, red left, straight EQUB 1 \ * 3 = %011 = black right, red left, curve EQUB 1 \ * 4 = %100 = red right, black left, straight EQUB 1 \ * 5 = %101 = red right, black left, curve EQUB 1 \ * 6 = %110 = red right, red left, straight EQUB 1 \ * 7 = %111 = red right, red left, curve