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

Function GetMyMatCen

scripts/LEVEL15.cpp:868–873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

866 {"MatCenSwitchFOff", NULL}, {"MatCenSwitchAOn", NULL}, {"MatCenSwitchAOff", NULL}};
867
868int GetMyMatCen(int id) {
869 if (MyMatcens[id].handle == -1)
870 MyMatcens[id].handle = Scrpt_FindMatcenName(MyMatcens[id].name);
871
872 return MyMatcens[id].handle;
873}
874
875int GetMyObject(int id) {
876 if (MyObjects[id].handle == -1)

Callers 3

SetMatCenToLevel0Function · 0.85
SetMatCenToLevel1Function · 0.85
SetMatCenToLevel2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected