Home
last modified time | relevance | path

Searched refs:lastLapTime (Results 1 – 4 of 4) sorted by relevance

/dports/games/dustrac/DustRacing2D-ae380b8/src/game/
H A Dtiming.cpp41 times.lastLapTime = elapsed - times.raceTime; in setLapCompleted()
44 …ug() << "Lap (" << times.lap << ") completed for car index=" << index << ": " << times.lastLapTime; in setLapCompleted()
48 if (times.lastLapTime < times.recordLapTime || times.recordLapTime == -1) in setLapCompleted()
50 times.recordLapTime = times.lastLapTime; in setLapCompleted()
58 juzzlin::L().debug() << "Human lap completed: " << times.lastLapTime; in setLapCompleted()
61 if (times.lastLapTime < m_lapRecord || m_lapRecord == -1) in setLapCompleted()
63 m_lapRecord = times.lastLapTime; in setLapCompleted()
69 emit lapCompleted(index, times.lastLapTime); in setLapCompleted()
200 int Timing::lastLapTime(size_t index) const in lastLapTime() function in Timing
207 return m_times.at(index).lastLapTime; in lastLapTime()
H A Dtimingoverlay.cpp256 const int lastLapTime = m_race->timing().lastLapTime(m_car->index()); in renderCurrentLapTime() local
263 ss << m_race->timing().msecsToString(lastLapTime); in renderCurrentLapTime()
272 if (lastLapTime == -1 || currentLapTime == lastLapTime) in renderCurrentLapTime()
277 else if (currentLapTime < lastLapTime) in renderCurrentLapTime()
299 const int lastLapTime = m_race->timing().lastLapTime(m_car->index()); in renderLastLapTime() local
306 ss << QObject::tr("L:").toStdWString() << m_race->timing().msecsToString(lastLapTime); in renderLastLapTime()
H A Dtiming.hpp66 int lastLapTime(size_t index) const;
115 int lastLapTime = -1; member
/dports/games/torcs/torcs-1.3.7/src/interfaces/
H A Dcar.h146 double lastLapTime; member
172 #define _lastLapTime race.lastLapTime