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

Function GetDoorImage

Descent3/door.cpp:243–247  ·  view source on GitHub ↗

Given a door handle, returns an index to that doors model

Source from the content-addressed store, hash-verified

241
242// Given a door handle, returns an index to that doors model
243int GetDoorImage(int handle) {
244 ASSERT(Doors[handle].used > 0);
245
246 return (Doors[handle].model_handle);
247}
248
249void RemapDoors() {
250 // Now, if any doors are polygon models and those models don't have correct

Callers 5

DrawDoorwayDoorPicMethod · 0.85
UpdateDoorViewMethod · 0.85
PlaceDoorFunction · 0.85
ObjInitDoorFunction · 0.85
DoorwayUpdateAnimationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected