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

Function ListAllObjects

editor/MainFrm.cpp:2590–2606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2588 OutrageMessageBox("There are %d named rooms.\n\nThe list has been written to the clipboard.", n);
2589}
2590
2591void ListAllObjects() {
2592 void ListObjectsInAllLevels();
2593 extern bool Stay_paused;
2594
2595 if (OutrageMessageBox(MBOX_YESNO, "This will take a long time.\n\nAre you sure you want to continue?") != IDYES)
2596 return;
2597
2598 theApp.pause();
2599 Stay_paused = 1;
2600 SetFunctionMode(EDITOR_GAME_MODE); // keep LoadLevel() from bringing up messages
2601 ListObjectsInAllLevels();
2602 SetFunctionMode(EDITOR_MODE);
2603 Stay_paused = 0;
2604 theApp.resume();
2605
2606 OutrageMessageBox("Object infomation written to clipboard.");
2607}
2608
2609void FindBadDestroyedTextures() {

Callers

nothing calls this directly

Calls 5

OutrageMessageBoxFunction · 0.85
SetFunctionModeFunction · 0.85
ListObjectsInAllLevelsFunction · 0.85
pauseMethod · 0.80
resumeMethod · 0.45

Tested by

no test coverage detected