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

Function TimeoutObject

Descent3/object.cpp:2173–2184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2171}
2172
2173void TimeoutObject(object *obj) {
2174 switch (obj->type) {
2175 case OBJ_WEAPON:
2176 TimeoutWeapon(obj);
2177 break;
2178 case OBJ_SHOCKWAVE:
2179 DoConcussiveForce(obj, obj->parent_handle);
2180 break;
2181 default:
2182 break;
2183 }
2184}
2185
2186// Does afterburn effects to a player ship
2187void DoPlayerAfterburnControl(game_controls *controls, object *objp) {

Callers 1

ObjDoFrameFunction · 0.85

Calls 2

TimeoutWeaponFunction · 0.85
DoConcussiveForceFunction · 0.85

Tested by

no test coverage detected