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

Function IsValidCockpit

Descent3/cockpit.cpp:322–322  ·  view source on GitHub ↗

check if cockpit exists

Source from the content-addressed store, hash-verified

320}
321// check if cockpit exists
322bool IsValidCockpit() { return (Cockpit_info.model_num > -1) ? true : false; }
323bool CockpitFileParse(const char *command, const char *operand, void *data) {
324 tCockpitCfgInfo *cfginf = (tCockpitCfgInfo *)data;
325 if (!strcmp(command, "ckptmodel")) {

Callers 1

SetHUDModeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected