Ask the server to tell me about the buildings
| 238 | |
| 239 | // Ask the server to tell me about the buildings |
| 240 | void MultiSendRequestForBuildings() { |
| 241 | int size; |
| 242 | uint8_t data[MAX_GAME_DATA_SIZE]; |
| 243 | int count = 0; |
| 244 | |
| 245 | mprintf(0, "Sending request for buildings\n"); |
| 246 | |
| 247 | size = START_DATA(MP_REQUEST_BUILDINGS, data, &count); |
| 248 | MultiAddByte(Player_num, data, &count); |
| 249 | END_DATA(count, data, size); |
| 250 | |
| 251 | nw_SendReliable(NetPlayers[Player_num].reliable_socket, data, count); |
| 252 | } |
| 253 | |
| 254 | // Ask the server to tell me about the world |
| 255 | void MultiSendRequestForWorldStates() { |
no test coverage detected