mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
remove unused code.
This commit is contained in:
parent
bb12638ea5
commit
f056e181b7
3 changed files with 0 additions and 34 deletions
|
|
@ -2622,7 +2622,6 @@ ConsoleValue _BaseEngineConsoleCallbackHelper::_execLater(SimConsoleThreadExecEv
|
||||||
void ConsoleStackFrameSaver::save()
|
void ConsoleStackFrameSaver::save()
|
||||||
{
|
{
|
||||||
gCallStack.pushFrame(0);
|
gCallStack.pushFrame(0);
|
||||||
STR.pushFrame();
|
|
||||||
mSaved = true;
|
mSaved = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2631,6 +2630,5 @@ void ConsoleStackFrameSaver::restore()
|
||||||
if (mSaved)
|
if (mSaved)
|
||||||
{
|
{
|
||||||
gCallStack.popFrame();
|
gCallStack.popFrame();
|
||||||
STR.popFrame();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,6 @@ StringStack::StringStack()
|
||||||
mStart = 0;
|
mStart = 0;
|
||||||
mLen = 0;
|
mLen = 0;
|
||||||
mStartStackSize = 0;
|
mStartStackSize = 0;
|
||||||
mFunctionOffset = 0;
|
|
||||||
validateBufferSize(8192);
|
validateBufferSize(8192);
|
||||||
validateArgBufferSize(2048);
|
validateArgBufferSize(2048);
|
||||||
dMemset(mBuffer, '\0', mBufferSize);
|
dMemset(mBuffer, '\0', mBufferSize);
|
||||||
|
|
@ -180,30 +179,3 @@ U32 StringStack::compare()
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void StringStack::pushFrame()
|
|
||||||
{
|
|
||||||
//Con::printf("StringStack pushFrame [frame=%i, start=%i]", mNumFrames, mStartStackSize);
|
|
||||||
mFrameOffsets[mNumFrames++] = mStartStackSize;
|
|
||||||
mStartOffsets[mStartStackSize++] = mStart;
|
|
||||||
mStart += ReturnBufferSpace;
|
|
||||||
validateBufferSize(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
void StringStack::popFrame()
|
|
||||||
{
|
|
||||||
//Con::printf("StringStack popFrame [frame=%i, start=%i]", mNumFrames, mStartStackSize);
|
|
||||||
mStartStackSize = mFrameOffsets[--mNumFrames];
|
|
||||||
mStart = mStartOffsets[mStartStackSize];
|
|
||||||
mLen = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
void StringStack::clearFrames()
|
|
||||||
{
|
|
||||||
//Con::printf("StringStack clearFrames");
|
|
||||||
mNumFrames = 0;
|
|
||||||
mStart = 0;
|
|
||||||
mLen = 0;
|
|
||||||
mStartStackSize = 0;
|
|
||||||
mFunctionOffset = 0;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -169,10 +169,6 @@ struct StringStack
|
||||||
/// and returning true if they matched, false if they didn't.
|
/// and returning true if they matched, false if they didn't.
|
||||||
U32 compare();
|
U32 compare();
|
||||||
|
|
||||||
void pushFrame();
|
|
||||||
|
|
||||||
void popFrame();
|
|
||||||
|
|
||||||
void clearFrames();
|
void clearFrames();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue