summaryrefslogtreecommitdiff
path: root/network.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-15 16:55:40 +0000
committerrubidium <rubidium@openttd.org>2006-08-15 16:55:40 +0000
commita0b4a29a575b3bf8e3a7573924fa917603d26abc (patch)
tree01a9595835d95746ba82d0ce12e16c393bd99f4e /network.h
parent1cc6e186f06f98c76b43f94a787abaec7f024cd7 (diff)
downloadopenttd-a0b4a29a575b3bf8e3a7573924fa917603d26abc.tar.xz
(svn r5919) -Cleanup: use the type Date when the variable really is a date
Diffstat (limited to 'network.h')
-rw-r--r--network.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/network.h b/network.h
index 5a564107b..150cbf16e 100644
--- a/network.h
+++ b/network.h
@@ -76,8 +76,8 @@ typedef struct NetworkGameInfo {
byte companies_on; // How many started companies do we have (XXX - disabled for server atm, use ActivePlayerCount())
byte spectators_max; // Max spectators allowed on server
byte spectators_on; // How many spectators do we have? (XXX - disabled for server atm, use NetworkSpectatorCount())
- uint16 game_date; // Current date
- uint16 start_date; // When the game started
+ Date game_date; // Current date
+ Date start_date; // When the game started
char map_name[NETWORK_NAME_LENGTH]; // Map which is played ["random" for a randomized map]
uint16 map_width; // Map width
uint16 map_height; // Map height
@@ -107,7 +107,7 @@ typedef struct NetworkClientInfo {
byte client_lang; /// The language of the client
byte client_playas; /// As which player is this client playing (PlayerID)
uint32 client_ip; /// IP-address of the client (so he can be banned)
- uint16 join_date; /// Gamedate the player has joined
+ Date join_date; /// Gamedate the player has joined
char unique_id[NETWORK_NAME_LENGTH]; /// Every play sends an unique id so we can indentify him
} NetworkClientInfo;