Ask the server to tell me about the players
| 223 | |
| 224 | // Ask the server to tell me about the players |
| 225 | void MultiSendRequestForPlayers() { |
| 226 | int size; |
| 227 | uint8_t data[MAX_GAME_DATA_SIZE]; |
| 228 | int count = 0; |
| 229 | |
| 230 | mprintf(0, "Sending request for players\n"); |
| 231 | |
| 232 | size = START_DATA(MP_REQUEST_PLAYERS, data, &count); |
| 233 | MultiAddByte(Player_num, data, &count); |
| 234 | END_DATA(count, data, size); |
| 235 | |
| 236 | nw_SendReliable(NetPlayers[Player_num].reliable_socket, data, count); |
| 237 | } |
| 238 | |
| 239 | // Ask the server to tell me about the buildings |
| 240 | void MultiSendRequestForBuildings() { |
no test coverage detected