MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / EndFrame

Function EndFrame

Descent3/game.cpp:1255–1270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1253}
1254
1255void EndFrame() {
1256 //@@Frame_inside = false;
1257 rend_EndFrame();
1258
1259 // pop off frame
1260 int x1, x2, y1, y2;
1261 bool clear;
1262
1263 FramePop(&x1, &y1, &x2, &y2, &clear); // pop off frame just ending
1264
1265 // see if there is a frame on the stack...if so, restore it's settings
1266 if (FramePeek(&x1, &y1, &x2, &y2, &clear)) {
1267 // restore this frame
1268 StartFrame(x1, y1, x2, y2, clear, false);
1269 }
1270}
1271
1272// Does a screenshot and tells the bitmap lib to save out the picture as a tga
1273void DoScreenshot() {

Callers 15

EndLevelFunction · 0.85
GameDrawMainViewFunction · 0.85
GameDrawHudFunction · 0.85
GameRenderFrameFunction · 0.85
SGSSnapshotFunction · 0.85
PLResultsFrameFunction · 0.85
TelcomRenderScreenFunction · 0.85
TCSSSCallbackFunction · 0.85
CallbackShowFrameFunction · 0.85
CallbackShowFrameNoFlipFunction · 0.85
SimpleUICallbackFunction · 0.85
InitMessageFunction · 0.85

Calls 4

FramePopFunction · 0.85
FramePeekFunction · 0.85
StartFrameFunction · 0.85
rend_EndFrameFunction · 0.50

Tested by

no test coverage detected