Kohi Game Engine
application_types.h File Reference

This file contains types to be consumed by the application library. More...

#include "core/engine.h"
#include "platform/platform.h"

Go to the source code of this file.

Data Structures

struct  application
 Represents the basic application state in a application. Called for creation by the application. More...
 

Typedefs

typedef enum application_stage application_stage
 Represents the various stages of application lifecycle. More...
 
typedef struct application application
 Represents the basic application state in a application. Called for creation by the application. More...
 

Enumerations

enum  application_stage {
  APPLICATION_STAGE_UNINITIALIZED , APPLICATION_STAGE_BOOTING , APPLICATION_STAGE_BOOT_COMPLETE , APPLICATION_STAGE_INITIALIZING ,
  APPLICATION_STAGE_INITIALIZED , APPLICATION_STAGE_RUNNING , APPLICATION_STAGE_SHUTTING_DOWN
}
 Represents the various stages of application lifecycle. More...
 

Detailed Description

This file contains types to be consumed by the application library.

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

Typedef Documentation

◆ application

typedef struct application application

Represents the basic application state in a application. Called for creation by the application.

◆ application_stage

Represents the various stages of application lifecycle.

Enumeration Type Documentation

◆ application_stage

Represents the various stages of application lifecycle.

Enumerator
APPLICATION_STAGE_UNINITIALIZED 

Application is in an uninitialized state.

APPLICATION_STAGE_BOOTING 

Application is currently booting up.

APPLICATION_STAGE_BOOT_COMPLETE 

Application completed boot process and is ready to be initialized.

APPLICATION_STAGE_INITIALIZING 

Application is currently initializing.

APPLICATION_STAGE_INITIALIZED 

Application initialization is complete.

APPLICATION_STAGE_RUNNING 

Application is currently running.

APPLICATION_STAGE_SHUTTING_DOWN 

Application is in the process of shutting down.