Crossfire Server, Trunk
timeofday_t Struct Reference

#include <tod.h>

+ Collaboration diagram for timeofday_t:

Data Fields

int day
 
int dayofweek
 
int hour
 
int minute
 
int month
 
int periodofday
 
int season
 
int weekofmonth
 
int year
 

Detailed Description

Represents the ingame time.

Definition at line 38 of file tod.h.

Field Documentation

◆ day

int timeofday_t::day

Definition at line 41 of file tod.h.

Referenced by format_time(), get_tod(), getTime(), print_tod(), and store_time().

◆ dayofweek

int timeofday_t::dayofweek

Definition at line 42 of file tod.h.

Referenced by get_tod(), getTime(), and print_tod().

◆ hour

int timeofday_t::hour

◆ minute

int timeofday_t::minute

Definition at line 44 of file tod.h.

Referenced by format_time(), get_tod(), getTime(), store_time(), and time_format_time().

◆ month

int timeofday_t::month

Definition at line 40 of file tod.h.

Referenced by format_time(), get_tod(), getTime(), print_tod(), and store_time().

◆ periodofday

int timeofday_t::periodofday

Definition at line 47 of file tod.h.

Referenced by get_tod(), and getTime().

◆ season

int timeofday_t::season

Definition at line 46 of file tod.h.

Referenced by dawn_to_dusk(), get_tod(), getTime(), print_tod(), and set_darkness_map().

◆ weekofmonth

int timeofday_t::weekofmonth

Definition at line 45 of file tod.h.

Referenced by get_tod(), and getTime().

◆ year

int timeofday_t::year

Definition at line 39 of file tod.h.

Referenced by format_time(), get_tod(), getTime(), print_tod(), and store_time().


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