date.h
branchcustombridgeheads
changeset 5642 bfa6074e2833
parent 4666 850b5b6e4bac
equal deleted inserted replaced
5641:d4d00a16ef26 5642:bfa6074e2833
     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.