Practical Tools for Simple Design
Loading...
Searching...
No Matches
config.hpp
1
#ifndef CONFIG_H
2
#define CONFIG_H
3
4
#include "Util/Logger.hpp"
5
#include "pch.hpp"
// IWYU pragma: export
6
7
namespace
Core
{
8
class
Context
;
9
}
10
11
// clang-format off
44
// clang-format on
45
struct
PTSD_Config
{
46
public
:
47
static
std::string TITLE;
48
49
static
int
WINDOW_POS_X;
50
51
static
int
WINDOW_POS_Y;
52
static
unsigned
int
WINDOW_WIDTH;
53
54
static
unsigned
int
WINDOW_HEIGHT;
55
static
Util::Logger::Level DEFAULT_LOG_LEVEL;
56
62
static
unsigned
int
FPS_CAP
;
63
64
private
:
65
friend
class
Core::Context
;
66
static
void
Init();
67
};
// namespace PTSD_Config
68
69
#endif
Core::Context
Definition:
Context.hpp:11
Core
Core functionality of the framework
Definition:
config.hpp:7
PTSD_Config
Definition:
config.hpp:45
PTSD_Config::FPS_CAP
static unsigned int FPS_CAP
FPS limit.
Definition:
config.hpp:62
include
config.hpp
Generated by
1.9.5