(svn r18292) -Codechange: add a command to set the start date of a timetable. Based on work by PhilSophus.

This commit is contained in:
rubidium
2009-11-25 23:37:15 +00:00
parent 1a8c203d6e
commit a951c505bf
7 changed files with 55 additions and 6 deletions

View File

@@ -75,7 +75,7 @@ enum {
#define MAX_YEAR 5000000
/** The number of days till the last day */
#define MAX_DAY DAYS_TILL(MAX_YEAR + 1) - 1
#define MAX_DAY (DAYS_TILL(MAX_YEAR + 1) - 1)
typedef int32 Date; ///< The type to store our dates in
typedef uint16 DateFract; ///< The fraction of a date we're in, i.e. the number of ticks since the last date changeover