Home
last modified time | relevance | path

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

/dports/games/flightgear/flightgear-2020.3.11/src/AIModel/
H A DAIShip.cxx829 double day_sec = getDaySeconds(); in initFlightPlan() local
831 if (_start_sec < day_sec){ in initFlightPlan()
833 init = advanceFlightPlan(_start_sec, day_sec); in initFlightPlan()
835 } else if (_start_sec > day_sec && _repeat) { in initFlightPlan()
839 init = advanceFlightPlan(_start_sec, day_sec); in initFlightPlan()
912 bool FGAIShip::advanceFlightPlan (double start_sec, double day_sec) { in advanceFlightPlan() argument
919 while ( elapsed_sec < day_sec ) { in advanceFlightPlan()
940 if ( elapsed_sec >= day_sec) in advanceFlightPlan()
963 if (elapsed_sec >= day_sec ) in advanceFlightPlan()
983 if (elapsed_sec >= day_sec) in advanceFlightPlan()
[all …]
H A DAIShip.hxx116 bool advanceFlightPlan (double elapsed_sec, double day_sec);
/dports/games/gemrb/gemrb-0.9.0/gemrb/core/
H A DInterface.h143 unsigned int day_sec; member
146 int GetHour(unsigned int time) { return (time/AI_UPDATE_TIME)%day_sec/hour_sec; } in GetHour()
H A DInterface.cpp691 Time.day_sec = Time.hour_sec * 24; // move to table if pst turns out to be different in ReadGameTimeTable()
692 Time.day_size = Time.day_sec * AI_UPDATE_TIME; in ReadGameTimeTable()