2024-05-02 22:17:37 +00:00
|
|
|
#pragma once
|
|
|
|
#include "ctrl.h"
|
|
|
|
#include "event.h"
|
|
|
|
#include "fumocommon.h"
|
|
|
|
#include "input.h"
|
|
|
|
|
|
|
|
|
|
|
|
struct FumoGame {
|
|
|
|
struct Controller ctrl;
|
|
|
|
struct InputHandle input_hand;
|
|
|
|
|
|
|
|
struct Event start;
|
|
|
|
struct Event draw;
|
|
|
|
struct Event update;
|
|
|
|
|
2024-05-07 03:29:10 +00:00
|
|
|
nsec time;
|
2024-05-02 22:17:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2024-05-06 05:52:30 +00:00
|
|
|
void Panic(char *message);
|
2024-05-02 22:17:37 +00:00
|
|
|
|
|
|
|
bool FumoInit(struct FumoGame *game);
|
|
|
|
|