28 lines
502 B
C
28 lines
502 B
C
|
|
||
|
#ifndef MT_STATE_H
|
||
|
#define MT_STATE_H
|
||
|
|
||
|
#include <tag_registry.h>
|
||
|
#include <entity.h>
|
||
|
|
||
|
#include <librr/types.h>
|
||
|
#include <librr/alloc/generic.h>
|
||
|
|
||
|
typedef struct MtState * MtState;
|
||
|
|
||
|
struct MtState
|
||
|
{
|
||
|
char *app_name;
|
||
|
|
||
|
MtTagRegistry tag_registry;
|
||
|
MtEntityRegistry entity_list;
|
||
|
};
|
||
|
|
||
|
MtState mt_initialize(char *app_name);
|
||
|
void mt_cleanup(MtState state);
|
||
|
void mt_start(MtState state);
|
||
|
|
||
|
MtEntity mt_summon(MtState state);
|
||
|
|
||
|
#endif // MT_STATE_H
|