MochiEngine
Loading...
Searching...
No Matches
Game Constants

Variables

constexpr const char * Mochi::CONST_DEVBUILD_TEXT = "DEVELOPMENT BUILD"
 Text that shows in debug.
constexpr float Mochi::CONST_DEVBUILD_TEXT_SIZE = 16.0f
 Size of the text that shows in debug.
constexpr const char * Mochi::CONST_MAIN_FONT_PATH = "Fonts/SuperTechnology.ttf"
 Default font.
const std::string Mochi::CONST_ACTIONS_FILE = "Actions.json"
 Path to the actions file used by the default Engine constructor.
constexpr int Mochi::CONST_RENDER_LOGICAL_X = 640
 Width of the logical screen used for the application The final resolution will be just a reescaling of this resolution.
constexpr int Mochi::CONST_RENDER_LOGICAL_Y = 360
 Height of the logical screen used for the application The final resolution will be just a reescaling of this resolution.

Detailed Description

Variable Documentation

◆ CONST_MAIN_FONT_PATH

const char* Mochi::CONST_MAIN_FONT_PATH = "Fonts/SuperTechnology.ttf"
inlineconstexpr

Default font.

Remarks
Yes, this is ugly. Fonts should be dynamically selected. TODO.