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

Function TelcomStartScreen

Descent3/TelCom.cpp:3195–3205  ·  view source on GitHub ↗

Starts a TelCom screen so it can be created

Source from the content-addressed store, hash-verified

3193
3194// Starts a TelCom screen so it can be created
3195void TelcomStartScreen(int screen) {
3196 ASSERT(screen >= 0 && screen < MAX_TELCOM_SCREENS);
3197 ASSERT(TCWorking_screen == -1);
3198
3199 if (Telcom_system.Screen_state[screen] != SS_EMPTY) {
3200 EfxDestroyScreen(screen);
3201 }
3202
3203 Telcom_system.Screen_state[screen] = SS_BEING_MADE;
3204 TCWorking_screen = screen;
3205}
3206
3207// Ends a TelCom screen. Calling this enables the screen to be displayed
3208void TelcomEndScreen(void) {

Callers 9

TelComMainMenuFunction · 0.85
TelcomCreateDummyScreenFunction · 0.85
TelComSingleShipSelectFunction · 0.85
TelComGoalStatusFunction · 0.85
TelComCargoFunction · 0.85
TelComAutoMapFunction · 0.85
PBStartScreenFunction · 0.85

Calls 1

EfxDestroyScreenFunction · 0.85

Tested by

no test coverage detected