summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-14 14:21:15 +0000
committerrubidium <rubidium@openttd.org>2006-08-14 14:21:15 +0000
commit9fc837ad85e06b4f99014990537cf91b95474a3d (patch)
treece66f3f78e1bc27ddba6fa055772ec9eb5492f84 /main_gui.c
parente6e42cd5f3122a1b0dbceb31cc35eb8a9ca23f8b (diff)
downloadopenttd-9fc837ad85e06b4f99014990537cf91b95474a3d.tar.xz
(svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
-Cleanup: fix whitespace related coding style issues in date.[ch] -Cleanup: make original comments doxygen compatible and remove/change outdated comments
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main_gui.c b/main_gui.c
index 581bfe8e8..f9f81c299 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -29,14 +29,15 @@
#include "train.h"
#include "unmovable_map.h"
#include "screenshot.h"
+#include "date.h"
#include "network_data.h"
#include "network_client.h"
#include "network_server.h"
/* Min/Max date for scenario editor */
-static const uint MinDate = 0; // 1920-01-01 (MAX_YEAR_BEGIN_REAL)
-static const uint MaxDate = 29220; // 2000-01-01
+static const Date MinDate = 0; // 1920-01-01 (MAX_YEAR_BEGIN_REAL)
+static const Date MaxDate = 29220; // 2000-01-01
static int _rename_id;
static int _rename_what;