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

Function newuiCore_PageInBitmaps

Descent3/newui_core.cpp:563–574  ·  view source on GitHub ↗

touches all newui bitmaps, do before any newui menus open

Source from the content-addressed store, hash-verified

561
562// touches all newui bitmaps, do before any newui menus open
563void newuiCore_PageInBitmaps() {
564 int i;
565
566 if (Preloaded_bitmaps[0]) {
567 Int3(); // we've already paged in stuff!
568 return;
569 }
570
571 for (i = 0; i < N_UI_PRELOADED_BITMAPS; i++) {
572 Preloaded_bitmaps[i] = newui_LoadBitmap(Preloaded_bitmap_list[i]);
573 }
574}
575
576// call when NO newui menus open
577void newuiCore_ReleaseBitmaps() {

Callers 1

MainMenuFunction · 0.85

Calls 1

newui_LoadBitmapFunction · 0.85

Tested by

no test coverage detected