equal
deleted
inserted
replaced
3 #ifdef ENABLE_NETWORK |
3 #ifdef ENABLE_NETWORK |
4 |
4 |
5 #include "../stdafx.h" |
5 #include "../stdafx.h" |
6 #include "../debug.h" |
6 #include "../debug.h" |
7 #include "network_data.h" |
7 #include "network_data.h" |
8 #include "../string.h" |
|
9 #include "network_client.h" |
8 #include "network_client.h" |
10 #include "../command_func.h" |
9 #include "../command_func.h" |
11 #include "../callback_table.h" |
10 #include "../callback_table.h" |
12 #include "../core/alloc_func.hpp" |
11 #include "../core/alloc_func.hpp" |
|
12 #include "../string_func.h" |
13 |
13 |
14 // Add a command to the local command queue |
14 // Add a command to the local command queue |
15 void NetworkAddCommandQueue(NetworkTCPSocketHandler *cs, CommandPacket *cp) |
15 void NetworkAddCommandQueue(NetworkTCPSocketHandler *cs, CommandPacket *cp) |
16 { |
16 { |
17 CommandPacket* new_cp = MallocT<CommandPacket>(1); |
17 CommandPacket* new_cp = MallocT<CommandPacket>(1); |