mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Removed ShouldUseNewAssertDialog from tier0 exports. It's gone.
This commit is contained in:
@ -83,12 +83,10 @@ class Color;
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
PLATFORM_INTERFACE void _ExitOnFatalAssert( const tchar* pFile, int line );
|
PLATFORM_INTERFACE void _ExitOnFatalAssert( const tchar* pFile, int line );
|
||||||
PLATFORM_INTERFACE bool ShouldUseNewAssertDialog();
|
|
||||||
|
|
||||||
PLATFORM_INTERFACE bool SetupWin32ConsoleIO();
|
PLATFORM_INTERFACE bool SetupWin32ConsoleIO();
|
||||||
|
|
||||||
// Returns true if they want to break in the debugger.
|
// Returns true if they want to break in the debugger.
|
||||||
PLATFORM_INTERFACE bool DoNewAssertDialog( const tchar *pFile, int line, const tchar *pExpression );
|
|
||||||
|
|
||||||
/* Used to define macros, never use these directly. */
|
/* Used to define macros, never use these directly. */
|
||||||
|
|
||||||
@ -100,8 +98,6 @@ PLATFORM_INTERFACE bool DoNewAssertDialog( const tchar *pFile, int line, const t
|
|||||||
_executeExp; \
|
_executeExp; \
|
||||||
if ( ret == LR_DEBUGGER ) \
|
if ( ret == LR_DEBUGGER ) \
|
||||||
{ \
|
{ \
|
||||||
if ( !ShouldUseNewAssertDialog() || DoNewAssertDialog( __TFILE__, __LINE__, _msg ) ) \
|
|
||||||
DebuggerBreak(); \
|
|
||||||
if ( _bFatal ) \
|
if ( _bFatal ) \
|
||||||
_ExitOnFatalAssert( __TFILE__, __LINE__ ); \
|
_ExitOnFatalAssert( __TFILE__, __LINE__ ); \
|
||||||
} \
|
} \
|
||||||
|
Reference in New Issue
Block a user