MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / spirit_setData

Function spirit_setData

TheForceEngine/TFE_Jedi/Level/robject.cpp:81–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 void spirit_setData(SecObject* obj)
82 {
83 obj->ptr = nullptr;
84 obj->type = OBJ_TYPE_SPIRIT;
85 if (obj->worldWidth == -1)
86 {
87 obj->worldWidth = 0;
88 }
89 if (obj->worldHeight == -1)
90 {
91 obj->worldHeight = 0;
92 }
93 }
94
95 void sprite_setData(SecObject* obj, JediWax* data)
96 {

Callers 3

level_loadObjectsFunction · 0.85
obj_createGeneratorFunction · 0.85
setProjectileObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected