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

Function PortalBreakGlass

scripts/aigame4.cpp:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62static float Obj_GetObjDist(int me, int it, bool f_sub_rads);
63
64void PortalBreakGlass(int portalnum, int roomnum) {
65 msafe_struct mstruct;
66
67 mstruct.roomnum = roomnum;
68 mstruct.portalnum = portalnum;
69
70 MSafe_CallFunction(MSAFE_ROOM_BREAK_GLASS, &mstruct);
71}
72
73// Returns the new child's handle
74int CreateAndAttach(int me, const char *child_name, uint8_t child_type, char parent_ap, char child_ap, bool f_aligned,

Callers 1

SetModeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected