mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Add cvar for RTech debugging and removed dev flag from 'launchplaylist'
This commit is contained in:
parent
5f73413286
commit
ca0172ed1f
@ -1,4 +1,5 @@
|
||||
#include "core/stdafx.h"
|
||||
#include "tier1/cvar.h"
|
||||
#include "rtech/rtech_utils.h"
|
||||
#ifndef DEDICATED
|
||||
#include "windows/id3dx.h"
|
||||
@ -637,7 +638,8 @@ int32_t RTech::OpenFile(const CHAR* szFilePath, void* unused, LONGLONG* fileSize
|
||||
if (hFile == INVALID_HANDLE_VALUE)
|
||||
return -1;
|
||||
|
||||
DevMsg(eDLL_T::RTECH, "Opened file: '%s'\n", svModFile.c_str());
|
||||
if (rtech_debug->GetBool())
|
||||
DevMsg(eDLL_T::RTECH, "Opened file: '%s'\n", svModFile.c_str());
|
||||
|
||||
if (fileSizeOut)
|
||||
{
|
||||
|
@ -203,6 +203,7 @@ void ConVar::Init(void) const
|
||||
pylon_showdebug = ConVar::Create("pylon_showdebug" , "0" , FCVAR_DEVELOPMENTONLY, "Shows debug output for pylon.", false, 0.f, false, 0.f, nullptr, nullptr);
|
||||
//-------------------------------------------------------------------------
|
||||
// RTECH API |
|
||||
rtech_debug = ConVar::Create("rtech_debug", "0", FCVAR_DEVELOPMENTONLY, "Shows debug output for the RTech system.", false, 0.f, false, 0.f, nullptr, nullptr);
|
||||
//-------------------------------------------------------------------------
|
||||
// RUI |
|
||||
#ifndef DEDICATED
|
||||
|
@ -407,14 +407,15 @@ void ConCommand::InitShipped(void)
|
||||
"connect",
|
||||
"connectAsSpectator",
|
||||
"connectWithKey",
|
||||
"set",
|
||||
"silentconnect",
|
||||
"set",
|
||||
"ping",
|
||||
#endif // !DEDICATED
|
||||
"exit",
|
||||
"map",
|
||||
"map_background",
|
||||
"launchplaylist",
|
||||
"quit",
|
||||
"exit",
|
||||
"restart",
|
||||
"status",
|
||||
"version",
|
||||
|
@ -169,6 +169,7 @@ ConVar* pylon_matchmaking_hostname = nullptr;
|
||||
ConVar* pylon_showdebug = nullptr;
|
||||
//-----------------------------------------------------------------------------
|
||||
// RTECH API |
|
||||
ConVar* rtech_debug = nullptr;
|
||||
//-----------------------------------------------------------------------------
|
||||
// RUI |
|
||||
#ifndef DEDICATED
|
||||
|
@ -164,6 +164,7 @@ extern ConVar* pylon_matchmaking_hostname;
|
||||
extern ConVar* pylon_showdebug;
|
||||
//-------------------------------------------------------------------------
|
||||
// RTECH API |
|
||||
extern ConVar* rtech_debug;
|
||||
//-------------------------------------------------------------------------
|
||||
// RUI |
|
||||
#ifndef DEDICATED
|
||||
|
Loading…
x
Reference in New Issue
Block a user