MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / InitAnimating

Function InitAnimating

TombEngine/Objects/Utils/object_helper.cpp:113–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void InitAnimating(ObjectInfo* object, int objectNumber)
114{
115 object = &Objects[objectNumber];
116 if (object->loaded)
117 {
118 object->Initialize = InitializeAnimating;
119 object->control = AnimatingControl;
120 object->collision = ObjectCollision;
121 object->SetHitEffect(true);
122 }
123}
124
125void InitPickup(ObjectInfo* object, int objectNumber)
126{

Callers 2

StartServiceObjectsFunction · 0.85
StartEntityFunction · 0.85

Calls 1

SetHitEffectMethod · 0.80

Tested by

no test coverage detected