summaryrefslogtreecommitdiff
path: root/src/core/core.h
blob: 469f8d1ca8a81b6c8b0159761e4d825bfa1dfcd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#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();

// --- Lifecycle

/** @brief Throws error if the core cannot be instantiated */
void core_bringup();
void core_shutdown();
bool should_exit();

void frame_begin();
void frame_draw();
void frame_end();

void core_input_update();