MCPcopy Create free account
hub / github.com/ZDoom/Raze / I_NetMessage

Function I_NetMessage

source/common/engine/i_net.cpp:1051–1069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1049}
1050
1051void I_NetMessage(const char* text, ...)
1052{
1053 // todo: use better abstraction once everything is migrated to in-game start screens.
1054#if defined _WIN32 || defined __APPLE__
1055 va_list ap;
1056 va_start(ap, text);
1057 VPrintf(PRINT_HIGH, text, ap);
1058 Printf("\n");
1059 va_end(ap);
1060#else
1061 FString str;
1062 va_list argptr;
1063
1064 va_start(argptr, text);
1065 str.VFormat(text, argptr);
1066 va_end(argptr);
1067 fprintf(stderr, "\r%-40s\n", str.GetChars());
1068#endif
1069}
1070
1071void I_NetError(const char* error)
1072{

Callers 8

DoArbitrateFunction · 0.85
PacketGetFunction · 0.85
PreGetFunction · 0.85
Host_CheckForConnectsFunction · 0.85
HostGameFunction · 0.85
Guest_ContactHostFunction · 0.85
Guest_WaitForOthersFunction · 0.85
JoinGameFunction · 0.85

Calls 4

VPrintfFunction · 0.85
PrintfFunction · 0.85
VFormatMethod · 0.80
GetCharsMethod · 0.45

Tested by

no test coverage detected