(svn r20549) -Codechange: centralise the handling of the incoming commands (from clients and the server)

This commit is contained in:
rubidium
2010-08-18 22:40:17 +00:00
parent e8e22c99fd
commit b594990071
6 changed files with 73 additions and 61 deletions

View File

@@ -160,7 +160,7 @@ struct CommandPacket : CommandContainer {
bool my_cmd; ///< did the command originate from "me"
};
void NetworkAddCommandQueue(CommandPacket cp, NetworkClientSocket *cs = NULL);
void NetworkDistributeCommands();
void NetworkExecuteLocalCommandQueue();
void NetworkFreeLocalCommandQueue();
void NetworkSyncCommandQueue(NetworkClientSocket *cs);