??
This commit is contained in:
@@ -13,6 +13,7 @@ struct component {
|
||||
struct mGameObject *go;
|
||||
void (*draw_debug)(void *data);
|
||||
void (*draw_gui)(void *data);
|
||||
void (*delete)(void *data);
|
||||
int id;
|
||||
int datasize;
|
||||
void (*init)(void *data, struct mGameObject * go);
|
||||
@@ -29,6 +30,7 @@ void comp_update(struct component *c, struct mGameObject *go);
|
||||
void registry_init();
|
||||
void register_component(const char *name, size_t size,
|
||||
void (*make)(struct mGameObject * go, struct component * c),
|
||||
void (*delete)(void *data),
|
||||
void(*draw_debug)(void *data),
|
||||
void(*draw_gui)(void *data),
|
||||
void(*init)(void *data, struct mGameObject * go));
|
||||
|
||||
Reference in New Issue
Block a user