(svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server)

This commit is contained in:
rubidium
2011-01-19 16:47:40 +00:00
parent e54a1f6721
commit 795a528328
9 changed files with 32 additions and 32 deletions

View File

@@ -118,7 +118,7 @@ public:
};
void NetworkServer_Tick(bool send_frame);
void HashCurrentCompanyPassword(const char *password);
void NetworkServerSetCompanyPassword(CompanyID company_id, const char *password, bool already_hashed = true);
#define FOR_ALL_CLIENT_SOCKETS_FROM(var, start) FOR_ALL_ITEMS_FROM(NetworkClientSocket, clientsocket_index, var, start)
#define FOR_ALL_CLIENT_SOCKETS(var) FOR_ALL_CLIENT_SOCKETS_FROM(var, 0)