diff options
author | rubidium <rubidium@openttd.org> | 2008-12-23 11:06:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-12-23 11:06:52 +0000 |
commit | 97662a0fff0a8c5099ee48f43d15ab0881493393 (patch) | |
tree | 74de767fc4a572fdb693131f990cc1ae2f5c830b /src/network/network_type.h | |
parent | 768fdee77a851286b6a6d33e04df18dc56ab1f51 (diff) | |
download | openttd-97662a0fff0a8c5099ee48f43d15ab0881493393.tar.xz |
(svn r14723) -Codechange: shuffling some stuff around to reduce indirect #include dependencies.
Diffstat (limited to 'src/network/network_type.h')
-rw-r--r-- | src/network/network_type.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/network/network_type.h b/src/network/network_type.h index 3c5365d74..5302e2542 100644 --- a/src/network/network_type.h +++ b/src/network/network_type.h @@ -53,15 +53,7 @@ struct NetworkCompanyState { uint16 months_empty; ///< How many months the company is empty }; -struct NetworkClientInfo { - ClientID client_id; ///< Client identifier (same as ClientState->client_id) - char client_name[NETWORK_CLIENT_NAME_LENGTH]; ///< Name of the client - byte client_lang; ///< The language of the client - CompanyID client_playas; ///< As which company is this client playing (CompanyID) - uint32 client_ip; ///< IP-address of the client (so he can be banned) - Date join_date; ///< Gamedate the client has joined - char unique_id[NETWORK_UNIQUE_ID_LENGTH]; ///< Every play sends an unique id so we can indentify him -}; +struct NetworkClientInfo; enum NetworkPasswordType { NETWORK_GAME_PASSWORD, |