Race penalty application and penalty-aware race result ordering. More...
#include <raceman.h>

Go to the source code of this file.
Functions | |
| void | ReApplyRaceTimePenalties (tSituation *s, const tTrackPitInfo *pits) |
| Apply race time penalties and update same-lap result order. | |
Race penalty application and penalty-aware race result ordering.
Definition in file racepenalties.h.
|
extern |
Apply race time penalties and update same-lap result order.
Existing time penalties are kept, pending drive-through and stop-and-go penalties are converted into estimated time penalties when the race has usable on-track-side pit information, and then penalized cars are moved down only within their current completed-lap group.
| [in,out] | s | Current race situation containing the ordered car list. |
| [in] | pits | Pit lane information used to estimate pending penalty time. |
Definition at line 107 of file racepenalties.cpp.
