Fumofumotris/rewrite/c/engine.c

20 lines
316 B
C
Raw Normal View History

2024-05-24 05:36:13 +00:00
#include "fumocommon.h"
#include "allocator.h"
#include "controller.h"
#define ENGINE_HEAP_SIZE 262144
struct Instance {
struct Controller ctrl;
nsec time;
}
void CreateInstance(struct Instance *inst, void *heap, usize heap_size)
{
CreateController(&inst->ctrl, &inst->pool, 16);
struct Controller ctrl;
}