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

Function PLResultsFrame

Descent3/screens.cpp:253–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251bool PLR_success = true;
252
253void PLResultsFrame() {
254 StartFrame(0, 0, Max_window_w, Max_window_h);
255 Sound_system.BeginSoundFrame(false);
256 // Right now we don't want you to do anything
257 if (background_loaded)
258 DrawLargeBitmap(&level_bmp, 0, 0, 1.0f);
259 // Call the DLL so it can do it's thing
260 if (Game_mode & GM_MULTI) {
261 CallGameDLL(EVT_CLIENT_GAMEPOSTLEVELRESULTS, &DLLInfo);
262 } else {
263 // Draw the text here
264 PaintPLRSinglePlayerText();
265 }
266 grtext_Flush();
267 Sound_system.EndSoundFrame();
268 EndFrame();
269}
270
271float paint_start = 0.0f;
272#define MAX_PLR_LINES 20

Callers

nothing calls this directly

Calls 8

StartFrameFunction · 0.85
DrawLargeBitmapFunction · 0.85
CallGameDLLFunction · 0.85
PaintPLRSinglePlayerTextFunction · 0.85
grtext_FlushFunction · 0.85
EndFrameFunction · 0.85
BeginSoundFrameMethod · 0.80
EndSoundFrameMethod · 0.80

Tested by

no test coverage detected