Skip to navigation

Revs on the BBC Micro

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 Oulton Park 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 &22 \ Set class to Novice if slowest lap time > 1:22 EQUB &18 \ Set class to Amateur if slowest lap time > 1:18 EQUB 0 \ Otherwise set class to Professional