This file contains structures and logic pertaining to the overall engine itself. The engine is responsible for managing both the platform layers as well as all systems within the engine.
More...
Go to the source code of this file.
|
struct | application_config |
| Represents configuration for the application. The application config is fed to the engine on creation, so it knows how to configure itself internally. More...
|
|
This file contains structures and logic pertaining to the overall engine itself. The engine is responsible for managing both the platform layers as well as all systems within the engine.
- Author
- Travis Vroman (travi.nosp@m.s@ko.nosp@m.hieng.nosp@m.ine..nosp@m.com)
- Version
- 1.0
- Date
- 2022-01-10
- Copyright
- Kohi Game Engine is Copyright (c) Travis Vroman 2021-2022
◆ application_config
Represents configuration for the application. The application config is fed to the engine on creation, so it knows how to configure itself internally.
◆ engine_create()
Creates the engine, standing up the platform layer and all underlying subsystems.
- Parameters
-
game_inst | A pointer to the application instance associated with the engine |
- Returns
- True on success; otherwise false.
◆ engine_frame_data_get()
Obtains a constant pointer to the current frame data.
- Parameters
-
game_inst | A pointer to the application instance. |
- Returns
- A constant pointer to the current frame data.
◆ engine_on_event_system_initialized()
void engine_on_event_system_initialized |
( |
void |
| ) |
|
A callback made when the event system is initialized, which internally allows the engine to begin listening for events required for initialization.
◆ engine_run()
Starts the main engine loop.
- Parameters
-
game_inst | A pointer to the application instance associated with the engine |
- Returns
- True on success; otherwise false.