summaryrefslogtreecommitdiff
path: root/src/core/core.h
blob: 7916143c28973f34dc28389fff706ca934b1be90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "input.h"
#include "render_types.h"
#include "scene.h"
#include "screenspace.h"
#include "terrain.h"
#include "text.h"

typedef struct Core Core;

Core* get_global_core();

/** @brief Throws error if the core cannot be instantiated */
void Core_Bringup();
void Core_Shutdown();
bool ShouldExit();

void Frame_Begin();
void Frame_Draw();
void Frame_End();