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

Function InitProjectile

TombEngine/Objects/Utils/object_helper.cpp:163–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163void InitProjectile(ObjectInfo* object, std::function<InitFunction> func, int objectNumber, bool noLoad)
164{
165 object = &Objects[objectNumber];
166 if (object->loaded || noLoad)
167 {
168 object->Initialize = nullptr;
169 object->collision = nullptr;
170 object->control = func;
171 }
172}
173
174void InitSearchObject(ObjectInfo* object, int objectNumber)
175{

Callers 4

StartObjectFunction · 0.85
StartObjectFunction · 0.85
StartProjectilesFunction · 0.85
StartProjectilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected