MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / Game_AddComponent

Function Game_AddComponent

src/Game.c:82–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80static struct IGameComponent* comps_head;
81static struct IGameComponent* comps_tail;
82void Game_AddComponent(struct IGameComponent* comp) {
83 LinkedList_Append(comp, comps_head, comps_tail);
84}
85
86#define TASKS_DEF_ELEMS 6
87static struct ScheduledTask defaultTasks[TASKS_DEF_ELEMS];

Callers 2

LoadPluginFunction · 0.85
Game_LoadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected