struct dateLong_s dateLong_t
Human readable time information in the game.
void CP_UpdateTime(void)
Updates date/time and timescale (=timelapse) on the geoscape menu.
int Date_DateToSeconds(const date_t *date)
Convert a date_t date to seconds.
void CP_GameTimeSlow(void)
Decrease game time speed.
date_t Date_Random(date_t minFrame, date_t maxFrame)
Return a random relative date which lies between a lower and upper limit.
bool Date_IsDue(const date_t *date)
Checks whether a given date is equal or earlier than the current campaign date.
const char * CP_SecondConvert(int second)
Converts a number of second into a char to display.
void CP_SetGameTime_f(void)
Set a new time game from id.
Engine-side time information in the game.
void CP_DateConvertLong(const date_t *date, dateLong_t *dateLong)
Converts a date from the engine in a (longer) human-readable format.
void CP_GameTimeFast(void)
Increase game time speed.
Human readable time information in the game.
bool Date_LaterThan(const date_t *now, const date_t *compare)
Check whether the given date and time is later than current date.
date_t Date_Substract(date_t a, const date_t &b)
Substract the second date from the first and return the result.
void CP_GameTimeStop(void)
Stop game time speed.
bool CP_IsTimeStopped(void)
Check if time is stopped.
date_t Date_Add(date_t a, const date_t &b)
Add two dates and return the result.
const char * Date_GetMonthName(int month)
Returns the short monthame to the given month index.