OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions | Variables
GameConfig.cpp File Reference
#include "GameConfig.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "Library/Logger/Logger.h"
#include "Library/Serialization/EnumSerialization.h"

Functions

 MM_DEFINE_ENUM_SERIALIZATION_FUNCTIONS (PlatformWindowMode, CASE_INSENSITIVE, { {WINDOW_MODE_WINDOWED, "windowed"}, {WINDOW_MODE_BORDERLESS, "borderless"}, {WINDOW_MODE_FULLSCREEN, "fullscreen"}, {WINDOW_MODE_FULLSCREEN_BORDERLESS, "fullscreen_borderless"}, {WINDOW_MODE_FULLSCREEN_BORDERLESS, "borderless_fullscreen"}, {WINDOW_MODE_WINDOWED, "0"}, {WINDOW_MODE_BORDERLESS, "1"}, {WINDOW_MODE_FULLSCREEN, "2"}, {WINDOW_MODE_FULLSCREEN_BORDERLESS, "3"} })
 

Variables

static constexpr std::initializer_list< const char * > defaultCommands
 

Function Documentation

◆ MM_DEFINE_ENUM_SERIALIZATION_FUNCTIONS()

MM_DEFINE_ENUM_SERIALIZATION_FUNCTIONS ( PlatformWindowMode  ,
CASE_INSENSITIVE  ,
{ {WINDOW_MODE_WINDOWED, "windowed"}, {WINDOW_MODE_BORDERLESS, "borderless"}, {WINDOW_MODE_FULLSCREEN, "fullscreen"}, {WINDOW_MODE_FULLSCREEN_BORDERLESS, "fullscreen_borderless"}, {WINDOW_MODE_FULLSCREEN_BORDERLESS, "borderless_fullscreen"}, {WINDOW_MODE_WINDOWED, "0"}, {WINDOW_MODE_BORDERLESS, "1"}, {WINDOW_MODE_FULLSCREEN, "2"}, {WINDOW_MODE_FULLSCREEN_BORDERLESS, "3"} }   
)

Variable Documentation

◆ defaultCommands

constexpr std::initializer_list<const char *> defaultCommands
staticconstexpr