28 #include "../../DateTime.h" 29 #include "../../cl_shared.h" 36 typedef struct dateLong_s {
void CP_UpdateTime(void)
Updates date/time and timescale (=timelapse) on the geoscape menu.
void CP_GameTimeSlow(void)
Decrease game time speed.
Class describing a point of time.
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.
Human readable time information in the game.
int Date_DateToSeconds(const DateTime &date)
Convert a date to seconds.
void CP_DateConvertLong(const DateTime &date, dateLong_t *dateLong)
Converts a date from the engine in a (longer) human-readable format.
void CP_GameTimeFast(void)
Increase game time speed.
void CP_GameTimeStop(void)
Stop game time speed.
bool CP_IsTimeStopped(void)
Check if time is stopped.
DateTime Date_Random(const DateTime &minFrame, const DateTime &maxFrame)
Return a random relative date which lies between a lower and upper limit.
const char * Date_GetMonthName(int month)
Returns the short monthame to the given month index.