mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Compile NetMsg out entirely for dedicated
This commit is contained in:
parent
87831050e9
commit
8809f17504
@ -427,15 +427,15 @@ void DevMsg(eDLL_T context, const char* fmt, ...)
|
||||
// Input : context -
|
||||
// *fmt - ... -
|
||||
//-----------------------------------------------------------------------------
|
||||
#ifndef DEDICATED
|
||||
void NetMsg(LogType_t logType, eDLL_T context, const char* uptime, const char* fmt, ...)
|
||||
{
|
||||
#ifndef DEDICATED
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
CoreMsgV(logType, LogLevel_t::LEVEL_NOTIFY, context, "netconsole", fmt, args, NO_ERROR, uptime);
|
||||
va_end(args);
|
||||
#endif // !DEDICATED
|
||||
}
|
||||
#endif // !DEDICATED
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Print engine and SDK warnings
|
||||
|
@ -115,7 +115,9 @@ void CoreMsg(LogType_t logType, LogLevel_t logLevel, eDLL_T context,
|
||||
|
||||
// These functions do not return.
|
||||
PLATFORM_INTERFACE void DevMsg(eDLL_T context, const char* fmt, ...) FMTFUNCTION(2, 3);
|
||||
#ifndef DEDICATED
|
||||
PLATFORM_INTERFACE void NetMsg(LogType_t logType, eDLL_T context, const char* uptime, const char* fmt, ...) FMTFUNCTION(4, 5);
|
||||
#endif // !DEDICATED
|
||||
PLATFORM_INTERFACE void Warning(eDLL_T context, const char* fmt, ...) FMTFUNCTION(2, 3);
|
||||
PLATFORM_INTERFACE void Error(eDLL_T context, const UINT code, const char* fmt, ...) FMTFUNCTION(3, 4);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user