Kohi Game Engine
testbed_types.h File Reference
#include "core/keymap.h"
#include "debug_console.h"
#include "defines.h"
#include "editor/editor.h"
#include "kui_system.h"
#include "renderer/kforward_renderer.h"
#include "renderer/kui_renderer.h"
#include "systems/kcamera_system.h"
#include "time/kclock.h"
#include <resources/debug/debug_grid.h>
#include <utils_plugin_defines.h>

Go to the source code of this file.

Data Structures

struct  game_state_serializable
 
struct  game_constants
 
struct  game_state
 
struct  application_state
 
struct  application_frame_data
 

Macros

#define PACKAGE_NAME_TESTBED   "Testbed"
 

Typedefs

typedef enum testbed_app_mode testbed_application_mode
 
typedef enum game_event_code game_event_code
 
typedef struct game_state_serializable game_state_serializable
 
typedef struct game_constants game_constants
 
typedef struct game_state game_state
 
typedef struct application_state application_state
 
typedef struct application_frame_data application_frame_data
 

Enumerations

enum  testbed_app_mode { TESTBED_APP_MODE_WORLD , TESTBED_APP_MODE_MAIN_MENU , TESTBED_APP_MODE_PAUSE_MENU }
 
enum  game_event_code { GAME_EVENT_CODE_START = 0x00FF , GAME_EVENT_CODE_UNUSED = 0x0100 , GAME_EVENT_CODE_SHOW_CONTEXT_DISPLAY = 0x0101 , GAME_EVENT_CODE_HIDE_CONTEXT_DISPLAY = 0x0102 }
 

Functions

KINLINE const char * testbed_application_mode_to_string (testbed_application_mode mode)
 

Macro Definition Documentation

◆ PACKAGE_NAME_TESTBED

#define PACKAGE_NAME_TESTBED   "Testbed"

Typedef Documentation

◆ application_frame_data

◆ application_state

◆ game_constants

◆ game_event_code

◆ game_state

typedef struct game_state game_state

◆ game_state_serializable

◆ testbed_application_mode

Enumeration Type Documentation

◆ game_event_code

Enumerator
GAME_EVENT_CODE_START 
GAME_EVENT_CODE_UNUSED 
GAME_EVENT_CODE_SHOW_CONTEXT_DISPLAY 

An event fired when context sensitivity text should be displayed.

Context usage: const char* display_text = context.data.s

GAME_EVENT_CODE_HIDE_CONTEXT_DISPLAY 

◆ testbed_app_mode

Enumerator
TESTBED_APP_MODE_WORLD 
TESTBED_APP_MODE_MAIN_MENU 
TESTBED_APP_MODE_PAUSE_MENU 

Function Documentation

◆ testbed_application_mode_to_string()

KINLINE const char* testbed_application_mode_to_string ( testbed_application_mode  mode)