UFO: Alien Invasion
Loading...
Searching...
No Matches
dateLong_t Struct Reference

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

#include <cp_time.h>

Collaboration diagram for dateLong_t:
Collaboration graph

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
CP_DateConvertLong

Definition at line 36 of file cp_time.h.

Field Documentation

◆ day

byte dateLong_t::day

◆ hour

byte dateLong_t::hour

Hour of the day.

Todo
check what number-range this gives)

Definition at line 40 of file cp_time.h.

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

◆ min

byte dateLong_t::min

Minute of the hour.

Definition at line 41 of file cp_time.h.

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

◆ month

byte dateLong_t::month

◆ sec

byte dateLong_t::sec

Second of the minute.

Definition at line 42 of file cp_time.h.

Referenced by CP_DateConvertLong().

◆ year

short dateLong_t::year

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