MCPcopy Create free account
hub / github.com/ZDoom/Raze / RestorePos

Method RestorePos

source/common/engine/sc_man.cpp:314–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312//==========================================================================
313
314void FScanner::RestorePos (const FScanner::SavedPos &pos)
315{
316 if (pos.SavedScriptPtr)
317 {
318 ScriptPtr = pos.SavedScriptPtr;
319 Line = pos.SavedScriptLine;
320 End = false;
321 }
322 else
323 {
324 End = true;
325 }
326 AlreadyGot = false;
327 LastGotToken = false;
328 Crossed = false;
329}
330
331long long FScanner::mystrtoll(const char* p, char** endp, int base)
332{

Callers 8

ParseBreakWallMethod · 0.80
ParseBreakCeilingMethod · 0.80
parseEmptyBlockFunction · 0.80
parseEmptyBlockWithParmFunction · 0.80
parseModelFunction · 0.80
S_AddSNDINFOFunction · 0.80
ParseOneScriptFunction · 0.80
RestorePosFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected