Untitled 2D game engine pre-alpha
A 2D game engine made with Vulkan in C++
 
Loading...
Searching...
No Matches
constants_and_types.h File Reference

Constants and types used within the engine. More...

#include <opinionated_type_names.h>

Go to the source code of this file.

Classes

struct  i32Vec2
 2D vector of 32 bit width integers More...
 
struct  u32Vec2
 2D vector of 32 bit width unsigned integers More...
 
struct  Colour
 Has alias 'Color'. Holds an 24 bit colour (+ an alpha channel) More...
 

Typedefs

using Color = Colour
 Alias for Colour, American spelling.
 

Variables

constexpr const char * ENGINE_NAME = "Untitled 2D game engine"
 The name of the game engine TODO: instert name here when decided.
 
constexpr u16 UPDATE_MAJOR = 1
 Major update version.
 
constexpr u16 UPDATE_MINOR = 0
 Minor update version.
 
constexpr u16 UPDATE_PATCH = 0
 Patch update version.
 

Detailed Description

Constants and types used within the engine.

Definition in file constants_and_types.h.

Typedef Documentation

◆ Color

using Color = Colour

Alias for Colour, American spelling.

Definition at line 57 of file constants_and_types.h.

Variable Documentation

◆ ENGINE_NAME

const char* ENGINE_NAME = "Untitled 2D game engine"
constexpr

The name of the game engine TODO: instert name here when decided.

Definition at line 10 of file constants_and_types.h.

◆ UPDATE_MAJOR

u16 UPDATE_MAJOR = 1
constexpr

Major update version.

Definition at line 15 of file constants_and_types.h.

◆ UPDATE_MINOR

u16 UPDATE_MINOR = 0

Minor update version.

Definition at line 17 of file constants_and_types.h.

◆ UPDATE_PATCH

u16 UPDATE_PATCH = 0

Patch update version.

Definition at line 19 of file constants_and_types.h.