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

Function TelcomRenderSetScreen

Descent3/TelCom.cpp:1553–1561  ·  view source on GitHub ↗

Sets what screen should be drawn by the Telcom

Source from the content-addressed store, hash-verified

1551
1552// Sets what screen should be drawn by the Telcom
1553void TelcomRenderSetScreen(int screen) {
1554 ASSERT(screen >= 0 && screen < MAX_TELCOM_SCREENS);
1555
1556 if (Telcom_system.Screen_state[screen] != SS_READY) {
1557 mprintf(0, "Telcom Warning: Trying to set screen %d active when it isn't ready\n", screen);
1558 return;
1559 }
1560 TC_current_screen = screen;
1561}
1562
1563// Creates a placeholder screen that can be used if no screens are available
1564void TelcomCreateDummyScreen(void) {

Callers 12

TelComMainFunction · 0.85
TelComMainMenuFunction · 0.85
TelcomRenderInitFunction · 0.85
TelcomAdvanceScreenFunction · 0.85
TelcomBackupScreenFunction · 0.85
TelComJumpScreenFunction · 0.85
TelComSingleShipSelectFunction · 0.85
TelComGoalStatusFunction · 0.85
TelComCargoFunction · 0.85
TelComAutoMapFunction · 0.85
PlayBriefingFunction · 0.85
ParseBriefingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected