scheme
This commit is contained in:
@@ -28,15 +28,15 @@ struct component comp_make(struct component_interface *interface);
|
||||
void comp_draw_debug(struct component *c);
|
||||
void comp_draw_gui(struct component *c);
|
||||
void comp_delete(struct component *c);
|
||||
void comp_init(struct component *c);
|
||||
void comp_io(struct component *c, int read);
|
||||
void comp_init(struct component *c, struct gameobject *go);
|
||||
void comp_io(struct component *c, FILE *f, int read);
|
||||
|
||||
void comp_update(struct component *c, struct gameobject *go);
|
||||
|
||||
|
||||
void registry_init();
|
||||
void register_component(const char *name, size_t size,
|
||||
void (*make)(struct gameobject * go, struct component * c),
|
||||
void (*make)(struct gameobject * go),
|
||||
void (*delete)(void *data),
|
||||
void (*io)(void *data, FILE *f, int read),
|
||||
void(*draw_debug)(void *data),
|
||||
|
||||
Reference in New Issue
Block a user