summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-26 13:50:40 +0000
committerrubidium <rubidium@openttd.org>2007-12-26 13:50:40 +0000
commitb9046c97fb6d3723c48c1004f03c759d1747ba63 (patch)
tree508e8401c183c6c1eea3c3458a291d8ecc8f280f /src/network
parent2786d789a15990a27b73c0a4fbceb429e7dac953 (diff)
downloadopenttd-b9046c97fb6d3723c48c1004f03c759d1747ba63.tar.xz
(svn r11702) -Codechange: move all date related stuff to date*.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/core/game.h2
-rw-r--r--src/network/core/udp.cpp1
-rw-r--r--src/network/network.cpp2
-rw-r--r--src/network/network_client.cpp1
-rw-r--r--src/network/network_gui.cpp2
-rw-r--r--src/network/network_server.cpp2
-rw-r--r--src/network/network_udp.cpp2
7 files changed, 6 insertions, 6 deletions
diff --git a/src/network/core/game.h b/src/network/core/game.h
index 049e5020e..0c0123697 100644
--- a/src/network/core/game.h
+++ b/src/network/core/game.h
@@ -11,8 +11,8 @@
#ifdef ENABLE_NETWORK
#include "config.h"
-#include "../../date.h"
#include "../../newgrf_config.h"
+#include "../../date_type.h"
/**
* This is the struct used by both client and server
diff --git a/src/network/core/udp.cpp b/src/network/core/udp.cpp
index 8cd22ce62..6c8b56a53 100644
--- a/src/network/core/udp.cpp
+++ b/src/network/core/udp.cpp
@@ -11,6 +11,7 @@
#include "../../core/bitmath_func.hpp"
#include "../../core/math_func.hpp"
#include "../../core/alloc_func.hpp"
+#include "../../date_func.h"
#include "packet.h"
#include "udp.h"
diff --git a/src/network/network.cpp b/src/network/network.cpp
index f7689d116..f1c11a3ec 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -14,7 +14,7 @@ extern const char _openttd_revision[];
#include "../map_func.h"
#include "../command_func.h"
#include "../variables.h"
-#include "../date.h"
+#include "../date_func.h"
#include "../newgrf_config.h"
#include "table/strings.h"
#include "network_client.h"
diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp
index 0b830c179..badfde557 100644
--- a/src/network/network_client.cpp
+++ b/src/network/network_client.cpp
@@ -8,7 +8,6 @@
#include "../openttd.h"
#include "network_data.h"
#include "core/tcp.h"
-#include "../date.h"
#include "table/strings.h"
#include "network_client.h"
#include "network_gamelist.h"
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 8fab465c1..cd550ee5d 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -7,7 +7,7 @@
#include "../strings_func.h"
#include "../table/sprites.h"
#include "network.h"
-#include "../date.h"
+#include "../date_func.h"
#include "../fios.h"
#include "table/strings.h"
diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp
index d1719629e..ed4b93959 100644
--- a/src/network/network_server.cpp
+++ b/src/network/network_server.cpp
@@ -11,7 +11,7 @@
#include "core/tcp.h"
#include "../train.h"
#include "../aircraft.h"
-#include "../date.h"
+#include "../date_func.h"
#include "table/strings.h"
#include "network_server.h"
#include "network_udp.h"
diff --git a/src/network/network_udp.cpp b/src/network/network_udp.cpp
index 7388df6ec..573acadfa 100644
--- a/src/network/network_udp.cpp
+++ b/src/network/network_udp.cpp
@@ -13,7 +13,7 @@
#include "../debug.h"
#include "../string.h"
#include "network_data.h"
-#include "../date.h"
+#include "../date_func.h"
#include "../map_func.h"
#include "network_gamelist.h"
#include "network_udp.h"