mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Remove dead function
This commit is contained in:
parent
c19a70814c
commit
222be2bb72
1 changed files with 0 additions and 18 deletions
|
|
@ -69,24 +69,6 @@ bool PlatformAssert::displayMessageBox(const char *title, const char *message, b
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *typeName[] = { "Unknown", "Fatal-ISV", "Fatal", "Warning" };
|
static const char *typeName[] = { "Unknown", "Fatal-ISV", "Fatal", "Warning" };
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
static bool askToEnterDebugger(const char* message )
|
|
||||||
{
|
|
||||||
static bool haveAsked = false;
|
|
||||||
static bool useDebugger = true;
|
|
||||||
if(!haveAsked )
|
|
||||||
{
|
|
||||||
static char tempBuff[1024];
|
|
||||||
dSprintf( tempBuff, 1024, "Torque has encountered an assertion with message\n\n"
|
|
||||||
"%s\n\n"
|
|
||||||
"Would you like to use the debugger? If you cancel, you won't be asked"
|
|
||||||
" again until you restart Torque.", message);
|
|
||||||
|
|
||||||
useDebugger = Platform::AlertOKCancel("Use debugger?", tempBuff );
|
|
||||||
haveAsked = true;
|
|
||||||
}
|
|
||||||
return useDebugger;
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------
|
//--------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue