MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / MultiDoDonePlayers

Function MultiDoDonePlayers

Descent3/multi.cpp:2948–2962  ·  view source on GitHub ↗

Server is telling us that its done sending players

Source from the content-addressed store, hash-verified

2946
2947// Server is telling us that its done sending players
2948void MultiDoDonePlayers(uint8_t *data) {
2949 int count = 0;
2950
2951 // Skip header stuff
2952 SKIP_HEADER(data, &count);
2953
2954 uint8_t num = MultiGetByte(data, &count);
2955 if (MultiCountPlayers() != num) {
2956 mprintf(1, "ERROR! We don't have the correct number of players!");
2957 Int3(); // Get Jason
2958 return;
2959 }
2960
2961 NetPlayers[Player_num].sequence = NETSEQ_REQUEST_BUILDINGS;
2962}
2963
2964// Server is telling us that its done sending buildings
2965void MultiDoDoneBuildings(uint8_t *data) {

Callers 1

MultiProcessDataFunction · 0.85

Calls 3

SKIP_HEADERFunction · 0.85
MultiGetByteFunction · 0.85
MultiCountPlayersFunction · 0.85

Tested by

no test coverage detected