UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
dateLong_s Struct Reference

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

#include <cp_time.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).
CP_DateConvertLong

Definition at line 34 of file cp_time.h.

Field Documentation

byte dateLong_s::day
byte dateLong_s::hour

Hour of the day.

Todo:
check what number-range this gives)

Definition at line 38 of file cp_time.h.

Referenced by CP_DateConvertLong(), CP_UpdateTime(), and MS_TimestampedText().

byte dateLong_s::min

Minute of the hour.

Definition at line 39 of file cp_time.h.

Referenced by CP_DateConvertLong(), CP_UpdateTime(), and MS_TimestampedText().

byte dateLong_s::month
byte dateLong_s::sec

Second of the minute.

Definition at line 40 of file cp_time.h.

Referenced by CP_DateConvertLong().

short dateLong_s::year

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