dateLong_s Struct Reference

Human readable time information in the game. More...

#include <cp_campaign.h>

Data Fields

short year
byte month
byte day
byte hour
byte min
byte sec

Detailed Description

Human readable time information in the game.

Note:
Use this on runtime - please avoid for structs that get saved.
See also:
date_t For storage & network transmitting (engine only).
CL_DateConvertLong

Definition at line 552 of file cp_campaign.h.


Field Documentation

Hour of the day.

Todo:
check what number-range this gives)

Definition at line 556 of file cp_campaign.h.

Referenced by CL_DateConvertLong(), CL_UpdateTime(), and MS_TimestampedText().

Minute of the hour.

Definition at line 557 of file cp_campaign.h.

Referenced by CL_DateConvertLong(), CL_UpdateTime(), and MS_TimestampedText().

Number of month (starting with 1).

Definition at line 554 of file cp_campaign.h.

Referenced by CL_DateConvertLong(), CL_EventAddMail_f(), CL_UpdateTime(), MS_TimestampedText(), SAV_GameSave(), UP_OpenMail_f(), and UP_SetMailHeader().

Second of the minute.

Definition at line 558 of file cp_campaign.h.

Referenced by CL_DateConvertLong().


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2