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

Function aRoomSetFaceTexture

scripts/DallasFuncs.cpp:3081–3089  ·  view source on GitHub ↗

$$ACTION Rooms Set texture on room [r:Room] face [i:FaceNum] to [u:Texture] aRoomSetFaceTexture Change face texture Sets the texture for a room face Parameters: Room: the room the face is in FaceNum: the face whose texture is changed TextureName: the texture to assign to the specified face $$END */

Source from the content-addressed store, hash-verified

3079$$END
3080*/
3081void aRoomSetFaceTexture(int roomnum, int facenum, int texturenum) {
3082 msafe_struct mstruct;
3083
3084 mstruct.roomnum = roomnum;
3085 mstruct.facenum = facenum;
3086 mstruct.index = texturenum;
3087
3088 MSafe_CallFunction(MSAFE_ROOM_TEXTURE, &mstruct);
3089}
3090
3091/*
3092$$ACTION

Callers 15

CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected