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

Function ScreenJobValidate

source/common/cutscenes/screenjob.cpp:285–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283//=============================================================================
284
285bool ScreenJobValidate()
286{
287 if (cutscene.runner)
288 {
289 ScaleOverrider ovr(twod);
290 IFVIRTUALPTRNAME(cutscene.runner, NAME_ScreenJobRunner, Validate)
291 {
292 int res;
293 VMValue parm[] = { cutscene.runner };
294 VMReturn ret(&res);
295 VMCall(func, parm, 1, &ret, 1);
296 I_ResetFrameTime();
297 return res;
298 }
299 }
300 return false;
301}
302
303//=============================================================================
304//

Callers 3

ShowScoreboardFunction · 0.85
ShowIntermissionFunction · 0.85
StartCutsceneFunction · 0.85

Calls 3

VMCallFunction · 0.85
I_ResetFrameTimeFunction · 0.85
IFVIRTUALPTRNAMEFunction · 0.50

Tested by

no test coverage detected