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

Function BigObjAdd

Descent3/object.cpp:1361–1370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1359void InitBigObjects() { Num_big_objects = 0; }
1360
1361void BigObjAdd(int objnum) {
1362 ASSERT(Num_big_objects < MAX_BIG_OBJECTS);
1363 if (Num_big_objects >= MAX_BIG_OBJECTS) {
1364 Int3();
1365 return;
1366 }
1367
1368 Objects[objnum].flags |= OF_BIG_OBJECT;
1369 BigObjectList[Num_big_objects++] = objnum;
1370}
1371
1372void BigObjRemove(int objnum) {
1373 int i;

Callers 4

CreateRoomObjectsFunction · 0.85
LGSObjectsFunction · 0.85
ComputeAABBFunction · 0.85
ObjLinkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected