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

Function InitFlare

TombEngine/Objects/Utils/object_helper.cpp:151–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void InitFlare(ObjectInfo* object, int objectNumber)
152{
153 object = &Objects[objectNumber];
154 if (object->loaded)
155 {
156 object->collision = PickupCollision;
157 object->control = FlareControl;
158 object->pivotLength = 256;
159 object->isPickup = true;
160 }
161}
162
163void InitProjectile(ObjectInfo* object, std::function<InitFunction> func, int objectNumber, bool noLoad)
164{

Callers 1

StartObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected