diff options
author | peter1138 <peter1138@openttd.org> | 2006-09-28 18:42:35 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-09-28 18:42:35 +0000 |
commit | 681c8c016213c471bb2061e7297536b945ea9228 (patch) | |
tree | 62ea5052459de216d783281da856bf237479cc9d /date.h | |
parent | b49018f7b16288601987e78f762f6de974a6d002 (diff) | |
download | openttd-681c8c016213c471bb2061e7297536b945ea9228.tar.xz |
(svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch]
Diffstat (limited to 'date.h')
-rw-r--r-- | date.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,8 @@ /* $Id$ */ +#ifndef DATE_H +#define DATE_H + /** * 1 day is 74 ticks; _date_fract used to be uint16 and incremented by 885. On * an overflow the new day begun and 65535 / 885 = 74. @@ -52,3 +55,5 @@ extern DateFract _date_fract; void SetDate(Date date); void ConvertDateToYMD(Date date, YearMonthDay *ymd); Date ConvertYMDToDate(Year year, Month month, Day day); + +#endif /* DATE_H */ |