Fumofumotris/source/fumoengine/fumoengine.h
Julia 62b37ed348 hj
kj
2024-05-07 17:10:15 -05:00

29 lines
551 B
C

#pragma once
#include "ctrl.h"
#include "event.h"
#include "fumocommon.h"
#include "input.h"
#include "terminal.h"
#include "vector.h"
struct FumoInstance {
struct Controller ctrl;
struct InputHandle input_hand;
struct Terminal term;
struct Event on_start;
struct Event on_update;
nsec time;
nsec frametime;
};
void Panic(char *message);
bool CreateFumoInstance(struct FumoInstance *game);
bool FumoInstanceHook(struct Vector *vec, update_func update, void *state);
bool FumoInstanceRun(struct FumoInstance *game);