Skip to navigation

Extra tracks: trackLapTimeSec

Name: trackLapTimeSec [Show more] Type: Variable Category: Extra tracks Summary: Lap times for adjusting the race class (seconds) Deep dive: The track data file format The extra tracks data file format The Snetterton track
Context: See this variable in context in the source code References: No direct references to this variable in this source file

If the slowest lap time is a human player, and it's slower than one of these times, then we change the race class to the relevant difficulty. This figure is stored in Binary Coded Decimal (BCD).
EQUB &09 \ Set class to Novice if slowest lap time > 1:09 EQUB &05 \ Set class to Amateur if slowest lap time > 1:05 EQUB 0 \ Otherwise set class to Professional