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

Function CallGameDLL

Descent3/Game2DLL.cpp:720–725  ·  view source on GitHub ↗

The chokepoint function to call the dll function

Source from the content-addressed store, hash-verified

718}
719// The chokepoint function to call the dll function
720void CallGameDLL(int eventnum, dllinfo *data) {
721 if (GameDLLHandle.handle && DLLGameCall) {
722 data->iRet = 0;
723 DLLGameCall(eventnum, data);
724 }
725}
726// Call this function right after a player connects to the game to see if a player is banned
727bool GameDLLIsAddressBanned(network_address *addr, const char *tracker_id) {
728 ASSERT(addr);

Callers 15

collide_two_objectsFunction · 0.85
collide_object_with_wallFunction · 0.85
StartNewGameFunction · 0.85
EndLevelFunction · 0.85
RunGameMenuFunction · 0.85
ProcessNormalKeyFunction · 0.85
SendKeyToGameDLLFunction · 0.85
DrawPlayerNameOnHudFunction · 0.85
MultiDoFrameFunction · 0.85
MultiDoEnteringGameFunction · 0.85
MultiLeaveGameFunction · 0.85
MultiDoLevelEndedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected