Searched refs:day_sec (Results 1 – 4 of 4) sorted by relevance
829 double day_sec = getDaySeconds(); in initFlightPlan() local831 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() argument919 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 …]
116 bool advanceFlightPlan (double elapsed_sec, double day_sec);
143 unsigned int day_sec; member146 int GetHour(unsigned int time) { return (time/AI_UPDATE_TIME)%day_sec/hour_sec; } in GetHour()
691 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()