# HG changeset patch # User rubidium # Date 1206947478 0 # Node ID 036f39374081cfee3bdad8d5ba1c88225a3f9c16 # Parent 1aed7f749f3034a5f8418ccfe3ce088808f2182b (svn r12499) -Codechange: some coding style tweaks for network_internal.h. diff -r 1aed7f749f30 -r 036f39374081 projects/openttd_vs80.vcproj --- a/projects/openttd_vs80.vcproj Mon Mar 31 07:03:35 2008 +0000 +++ b/projects/openttd_vs80.vcproj Mon Mar 31 07:11:18 2008 +0000 @@ -932,7 +932,7 @@ > + + + + + + + + index) - char client_name[NETWORK_CLIENT_NAME_LENGTH]; // Name of the client - byte client_lang; // The language of the client - PlayerID client_playas; // As which player is this client playing (PlayerID) - uint32 client_ip; // IP-address of the client (so he can be banned) - Date join_date; // Gamedate the player has joined - char unique_id[NETWORK_UNIQUE_ID_LENGTH]; // Every play sends an unique id so we can indentify him + uint16 client_index; ///< Index of the client (same as ClientState->index) + char client_name[NETWORK_CLIENT_NAME_LENGTH]; ///< Name of the client + byte client_lang; ///< The language of the client + PlayerID client_playas; ///< As which player is this client playing (PlayerID) + uint32 client_ip; ///< IP-address of the client (so he can be banned) + Date join_date; ///< Gamedate the player has joined + char unique_id[NETWORK_UNIQUE_ID_LENGTH]; ///< Every play sends an unique id so we can indentify him }; enum NetworkJoinStatus { @@ -75,7 +83,7 @@ NETWORK_JOIN_STATUS_GETTING_COMPANY_INFO, }; -/* Language ids for server_lang and client_lang. Do NOT modify the order. */ +/** Language ids for server_lang and client_lang. Do NOT modify the order. */ enum NetworkLanguage { NETLANG_ANY = 0, NETLANG_ENGLISH,