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

Function aPortalRenderSet

scripts/DallasFuncs.cpp:1091–1100  ·  view source on GitHub ↗

$$ACTION Rooms [e:Enable/Disable] forcefield at portal [i:PortalNum] in room [r:Room]; Double-sided = [b:DoublesidedFlag=1] aPortalRenderSet Enable/Disable forcefield Turns on or off the specified forcefield Parameters: Room: The room the forcefield is in PortalNum: The portal number of the forcefield $$END */

Source from the content-addressed store, hash-verified

1089$$END
1090*/
1091void aPortalRenderSet(int state, int portalnum, int roomnum, bool doublesided) {
1092 msafe_struct mstruct;
1093
1094 mstruct.roomnum = roomnum;
1095 mstruct.portalnum = portalnum;
1096 mstruct.flags = doublesided ? 1 : 0;
1097 mstruct.state = state;
1098
1099 MSafe_CallFunction(MSAFE_ROOM_PORTAL_RENDER, &mstruct);
1100}
1101
1102/*
1103$$ACTION

Callers 15

CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
aMatCenPuzzleSwitchDFunction · 0.85
CallEventMethod · 0.85
cExecTimerEventFunction · 0.85
cDroidManagerHandleGoalsFunction · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected