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

Function ObjReInitAll

Descent3/ObjInit.cpp:1205–1211  ·  view source on GitHub ↗

Re-copies data to each object from the appropriate page for that object type. Called after an object page has changed.

Source from the content-addressed store, hash-verified

1203// Re-copies data to each object from the appropriate page for that object type.
1204// Called after an object page has changed.
1205void ObjReInitAll() {
1206 int objnum;
1207 object *objp;
1208 for (objnum = 0, objp = Objects; objnum <= Highest_object_index; objnum++, objp++)
1209 if (objp->type != OBJ_NONE)
1210 ObjInitTypeSpecific(objp, 1);
1211}

Callers 4

OnDestroyMethod · 0.85
OnDestroyMethod · 0.85
OnDestroyMethod · 0.85
OnResetObjectsMethod · 0.85

Calls 1

ObjInitTypeSpecificFunction · 0.85

Tested by

no test coverage detected