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

Function ObjCheckTriggers

Descent3/object.cpp:2601–2608  ·  view source on GitHub ↗

Check passed-through faces for triggers, etc.

Source from the content-addressed store, hash-verified

2599
2600// Check passed-through faces for triggers, etc.
2601void ObjCheckTriggers(object *objp) {
2602 for (int i = 0; i < Fvi_num_recorded_faces; i++) {
2603 int roomnum = Fvi_recorded_faces[i].room_index;
2604 int facenum = Fvi_recorded_faces[i].face_index;
2605
2606 CheckTrigger(roomnum, facenum, objp, TT_PASS_THROUGH);
2607 }
2608}
2609
2610#ifdef _DEBUG
2611void debug_check_terrain_objects() {

Callers 1

ObjDoFrameFunction · 0.85

Calls 1

CheckTriggerFunction · 0.85

Tested by

no test coverage detected