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

Function UpdateGameData

netcon/mtclient/mtgametrack.cpp:303–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303void UpdateGameData(void *buffer) {
304 if (GameType == GT_FREESPACE) {
305 // memcpy(FreeSpaceTrackerGameData,buffer,sizeof(freespace_net_game_data));
306 } else if (GameType == GT_DESCENT3) {
307 memcpy(D3TrackerGameData, buffer, sizeof(d3_net_game_data_short));
308 } else if (GameType == GT_D3TNG) {
309 memcpy(D3TrackerGameData, buffer, sizeof(d3_net_game_data_tiny));
310 }
311}
312
313game_list gl;
314

Callers 1

DoMTFrameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected