equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
2 |
2 |
3 #ifndef DATE_H |
3 #ifndef DATE_H |
4 #define DATE_H |
4 #define DATE_H |
|
5 |
|
6 #include "openttd.h" |
5 |
7 |
6 /** |
8 /** |
7 * 1 day is 74 ticks; _date_fract used to be uint16 and incremented by 885. On |
9 * 1 day is 74 ticks; _date_fract used to be uint16 and incremented by 885. On |
8 * an overflow the new day begun and 65535 / 885 = 74. |
10 * an overflow the new day begun and 65535 / 885 = 74. |
9 * 1 tick is approximately 30 ms. |
11 * 1 tick is approximately 30 ms. |