Golias Engine
A C++ 20 'game engine' built with SDL3 with wide platform support.
Classes | Functions | Variables
engine.h File Reference

Engine class definition. More...

#include "core/renderer/opengl/ogl_renderer.h"
#include "core/system/timer.h"
#include "core/utility/project_config.h"
#include "core/utility/obj_loader.h"
#include "core/api/engine_api.h"

Go to the source code of this file.

Classes

class  Engine
 

Functions

void engine_core_loop ()
 Core engine loop function. More...
 
void engine_draw_loop ()
 
void engine_setup_systems (flecs::world &world)
 Sets up the core systems in the provided Flecs world. More...
 

Variables

std::unique_ptr< EngineGEngine
 

Detailed Description

Engine class definition.

This file contains the definition of the Engine class, which serves as the core of the Ember Engine. It manages the main loop, window creation, rendering, and event handling.

Version
0.0.1

Function Documentation

◆ engine_core_loop()

void engine_core_loop ( )

Core engine loop function.

Note
This function should never be called directly. It is used internally by the engine to handle events, update the world, and render frames.
Version
0.0.1

◆ engine_draw_loop()

void engine_draw_loop ( )

◆ engine_setup_systems()

void engine_setup_systems ( flecs::world &  world)

Sets up the core systems in the provided Flecs world.

This function registers core systems required for the engine's operation

Parameters
worldReference to the Flecs world where systems will be registered.
Version
0.0.1

Variable Documentation

◆ GEngine

std::unique_ptr<Engine> GEngine
extern