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/application_types.h"
#include "core/engine.h"
#include "logger.h"

Go to the source code of this file.

Functions

const char * application_config_path_get (void)
 Gets the application config path from the application. More...
 
const char * application_klib_name_get (void)
 
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

◆ application_config_path_get()

const char* application_config_path_get ( void  )

Gets the application config path from the application.

Returns
const char* The application path.

◆ application_klib_name_get()

const char* application_klib_name_get ( void  )

◆ main()

int main ( void  )

The main entry point of the application.

Returns
0 on successful execution; nonzero on error.