Kohi Game Engine
entry.h File Reference

This file contains the main entry point to the application. It also contains a reference to an externally defined create_application method, which should create and set a custom application object to the location pointed to by out_app. This would be provided by the consuming application, which is then hooked into the engine itself during the bootstrapping phase. More...

#include "application_types.h"
#include "core/engine.h"
#include "core/logger.h"

Go to the source code of this file.

Functions

b8 create_application (application *out_app)
 Externally-defined function to create a application, provided by the consumer of this library. More...
 
b8 initialize_application (application *app)
 
int main (void)
 The main entry point of the application. More...
 

Detailed Description

This file contains the main entry point to the application. It also contains a reference to an externally defined create_application method, which should create and set a custom application object to the location pointed to by out_app. This would be provided by the consuming application, which is then hooked into the engine itself during the bootstrapping phase.

Author
Travis Vroman (travi.nosp@m.s@ko.nosp@m.hieng.nosp@m.ine..nosp@m.com)
Version
1.0
Date
2022-01-10

Function Documentation

◆ create_application()

b8 create_application ( application out_app)

Externally-defined function to create a application, provided by the consumer of this library.

Parameters
out_appA pointer which holds the created application object as provided by the consumer.
Returns
True on successful creation; otherwise false.

◆ initialize_application()

b8 initialize_application ( application app)

◆ main()

int main ( void  )

The main entry point of the application.

Returns
0 on successful execution; nonzero on error.