src/date.cpp
changeset 6451 7baba06b4b85
parent 6206 67358999d80d
child 6298 c30fe89622df
child 9881 fbb3eab0e186
equal deleted inserted replaced
6450:1c2016673250 6451:7baba06b4b85
     1 /* $Id$ */
     1 /* $Id$ */
       
     2 
       
     3 /** @file date.cpp */
     2 
     4 
     3 #include "stdafx.h"
     5 #include "stdafx.h"
     4 #include "openttd.h"
     6 #include "openttd.h"
     5 #include "date.h"
     7 #include "date.h"
     6 #include "variables.h"
     8 #include "variables.h"
   195 
   197 
   196 extern void ShowEndGameChart(void);
   198 extern void ShowEndGameChart(void);
   197 
   199 
   198 
   200 
   199 static const Month _autosave_months[] = {
   201 static const Month _autosave_months[] = {
   200 	 0, // never
   202 	 0, ///< never
   201 	 1, // every month
   203 	 1, ///< every month
   202 	 3, // every 3 months
   204 	 3, ///< every 3 months
   203 	 6, // every 6 months
   205 	 6, ///< every 6 months
   204 	12, // every 12 months
   206 	12, ///< every 12 months
   205 };
   207 };
   206 
   208 
   207 /**
   209 /**
   208  * Runs the day_proc for every DAY_TICKS vehicle starting at daytick.
   210  * Runs the day_proc for every DAY_TICKS vehicle starting at daytick.
   209  */
   211  */