branch | NewGRF_ports |
changeset 6872 | 1c4a4a609f85 |
child 11044 | 097ea3e7ec56 |
6871:5a9dc001e1ad | 6872:1c4a4a609f85 |
---|---|
1 /* $Id$ */ |
|
2 |
|
3 /** @file date_func.h Functions related to dates. */ |
|
4 |
|
5 #ifndef DATE_FUNC_H |
|
6 #define DATE_FUNC_H |
|
7 |
|
8 #include "date_type.h" |
|
9 |
|
10 extern Year _cur_year; |
|
11 extern Month _cur_month; |
|
12 extern Date _date; |
|
13 extern DateFract _date_fract; |
|
14 |
|
15 void SetDate(Date date); |
|
16 void ConvertDateToYMD(Date date, YearMonthDay *ymd); |
|
17 Date ConvertYMDToDate(Year year, Month month, Day day); |
|
18 |
|
19 #endif /* DATE_FUNC_H */ |