Rename to 'cmd'

This commit is contained in:
Amos 2022-02-06 17:06:22 +01:00
parent c187bed4c5
commit d555c39434
11 changed files with 16 additions and 15 deletions

View File

@ -3,9 +3,9 @@
# define Assert(condition, message) \
do { \
if (! (condition)) { \
std::cerr << "Assertion `" #condition "` failed in " << __FILE__ \
std::cerr << "Assertion '" #condition "' failed in " << __FILE__ \
<< " line " << __LINE__ << ": " << message << std::endl; \
std::terminate(); \
assert(condition); \
} \
} while (false)
#else

View File

@ -7,8 +7,8 @@
#include "core/stdafx.h"
#include "core/init.h"
#include "tier0/commandline.h"
#include "tier0/ConCommand.h"
#include "tier0/completion.h"
#include "tier0/cmd.h"
#include "tier0/cvar.h"
#include "tier0/IConVar.h"
#include "vpc/IAppSystem.h"

View File

@ -350,7 +350,7 @@
<ClInclude Include="thirdparty\spdlog\include\version.h" />
<ClInclude Include="tier0\basetypes.h" />
<ClInclude Include="tier0\commandline.h" />
<ClInclude Include="tier0\ConCommand.h" />
<ClInclude Include="tier0\cmd.h" />
<ClInclude Include="tier0\completion.h" />
<ClInclude Include="tier0\cvar.h" />
<ClInclude Include="tier0\IConVar.h" />
@ -506,7 +506,7 @@
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="tier0\commandline.cpp" />
<ClCompile Include="tier0\ConCommand.cpp" />
<ClCompile Include="tier0\cmd.cpp" />
<ClCompile Include="tier0\completion.cpp" />
<ClCompile Include="tier0\cvar.cpp" />
<ClCompile Include="tier0\IConVar.cpp" />

View File

@ -510,7 +510,7 @@
<ClInclude Include="tier0\basetypes.h">
<Filter>sdk\tier0</Filter>
</ClInclude>
<ClInclude Include="tier0\ConCommand.h">
<ClInclude Include="tier0\cmd.h">
<Filter>sdk\tier0</Filter>
</ClInclude>
<ClInclude Include="vpc\IAppSystem.h">
@ -779,7 +779,7 @@
<ClCompile Include="tier0\IConVar.cpp">
<Filter>sdk\tier0</Filter>
</ClCompile>
<ClCompile Include="tier0\ConCommand.cpp">
<ClCompile Include="tier0\cmd.cpp">
<Filter>sdk\tier0</Filter>
</ClCompile>
<ClCompile Include="vpc\IAppSystem.cpp">

View File

@ -6,7 +6,8 @@
#include "core/stdafx.h"
#include "tier0/IConVar.h"
#include "tier0/ConCommand.h"
#include "tier0/cmd.h"
#include "tier0/cvar.h"
#include "engine/cl_rcon.h"
#include "common/igameserverdata.h"

View File

@ -5,9 +5,9 @@
//===========================================================================//
#include "core/stdafx.h"
#include "tier0/cmd.h"
#include "tier0/cvar.h"
#include "tier0/IConVar.h"
#include "tier0/ConCommand.h"
#include "tier1/NetAdr2.h"
#include "tier2/socketcreator.h"
#include "engine/sys_utils.h"

View File

@ -200,7 +200,7 @@
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="tier0\commandline.cpp" />
<ClCompile Include="tier0\ConCommand.cpp" />
<ClCompile Include="tier0\cmd.cpp" />
<ClCompile Include="tier0\completion.cpp" />
<ClCompile Include="tier0\cvar.cpp" />
<ClCompile Include="tier0\IConVar.cpp" />
@ -424,7 +424,7 @@
<ClInclude Include="thirdparty\spdlog\include\version.h" />
<ClInclude Include="tier0\basetypes.h" />
<ClInclude Include="tier0\commandline.h" />
<ClInclude Include="tier0\ConCommand.h" />
<ClInclude Include="tier0\cmd.h" />
<ClInclude Include="tier0\completion.h" />
<ClInclude Include="tier0\cvar.h" />
<ClInclude Include="tier0\IConVar.h" />

View File

@ -246,7 +246,7 @@
<ClCompile Include="tier0\IConVar.cpp">
<Filter>sdk\tier0</Filter>
</ClCompile>
<ClCompile Include="tier0\ConCommand.cpp">
<ClCompile Include="tier0\cmd.cpp">
<Filter>sdk\tier0</Filter>
</ClCompile>
<ClCompile Include="vgui\vgui_fpspanel.cpp">
@ -866,7 +866,7 @@
<ClInclude Include="tier0\basetypes.h">
<Filter>sdk\tier0</Filter>
</ClInclude>
<ClInclude Include="tier0\ConCommand.h">
<ClInclude Include="tier0\cmd.h">
<Filter>sdk\tier0</Filter>
</ClInclude>
<ClInclude Include="vgui\vgui_fpspanel.h">

View File

@ -1,5 +1,5 @@
#pragma once
#include "ConCommand.h"
#include "tier0/cmd.h"
#include "mathlib/color.h"
//-----------------------------------------------------------------------------

View File

@ -1,7 +1,7 @@
#include "core/stdafx.h"
#include "tier0/cmd.h"
#include "tier0/cvar.h"
#include "tier0/completion.h"
#include "tier0/ConCommand.h"
#include "client/client.h"
#include "engine/sys_utils.h"