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
commit243872b4fd82a1ee024e98eaae3e17f6b36a6707 (patch)
treece66f3f78e1bc27ddba6fa055772ec9eb5492f84 /main_gui.c
parent01cd75cc10a9a9d2cd1687b9914a5e7dfc4888c3 (diff)
downloadopenttd-243872b4fd82a1ee024e98eaae3e17f6b36a6707.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;