This file contains global type definitions which are used throughout the entire engine and applicatio...
#define KAPI
Import/export qualifier.
Definition: defines.h:177
_Bool b8
8-bit boolean type
Definition: defines.h:58
signed short i16
Signed 16-bit integer.
Definition: defines.h:36
unsigned long long u64
Unsigned 64-bit integer.
Definition: defines.h:28
struct application_config application_config
Represents configuration for the application. The application config is fed to the engine on creation...
KAPI b8 engine_create(struct application *game_inst)
Creates the engine, standing up the platform layer and all underlying subsystems.
KAPI b8 engine_run(struct application *game_inst)
Starts the main engine loop.
void engine_on_event_system_initialized(void)
A callback made when the event system is initialized, which internally allows the engine to begin lis...
KAPI const struct frame_data * engine_frame_data_get(struct application *game_inst)
Obtains a constant pointer to the current frame data.
A system responsible for the management of bitmap and system fonts.
Represents configuration for the application. The application config is fed to the engine on creation...
Definition: engine.h:29
font_system_config font_config
Configuration for the font system.
Definition: engine.h:46
renderer_plugin renderer_plugin
Definition: engine.h:51
char * name
The application name used in windowing, if applicable.
Definition: engine.h:43
u64 frame_allocator_size
The size of the frame allocator.
Definition: engine.h:55
render_view * views
A darray of render views.
Definition: engine.h:49
i16 start_pos_x
Window starting position x axis, if applicable.
Definition: engine.h:31
i16 start_height
Window starting height, if applicable.
Definition: engine.h:40
audio_plugin audio_plugin
Definition: engine.h:52
i16 start_pos_y
Window starting position y axis, if applicable.
Definition: engine.h:34
i16 start_width
Window starting width, if applicable.
Definition: engine.h:37
u64 app_frame_data_size
The size of the application-specific frame data. Set to 0 if not used.
Definition: engine.h:58
Represents the basic application state in a application. Called for creation by the application.
Definition: application_types.h:42
Definition: audio_types.h:69
The configuration of the font system. Should be setup by the application during the boot process.
Definition: font_system.h:46
Engine-level current frame-specific data.
Definition: frame_data.h:16
A render view instance, responsible for the generation of view packets based on internal logic and gi...
Definition: renderer_types.h:857
A generic "interface" for the renderer plugin. The renderer backend is what is responsible for making...
Definition: renderer_types.h:225