Organize stuffs
This commit is contained in:
parent
a9240cac6e
commit
c120871293
13 changed files with 625 additions and 56 deletions
24
src/core/Config.h
Normal file
24
src/core/Config.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace Config {
|
||||
// Window settings
|
||||
constexpr int DEFAULT_WINDOW_WIDTH = 800;
|
||||
constexpr int DEFAULT_WINDOW_HEIGHT = 600;
|
||||
constexpr const char* DEFAULT_WINDOW_TITLE = "Observations on the Sublime Dynamics of Eroding Matter";
|
||||
|
||||
// Rendering settings
|
||||
constexpr bool VSYNC_ENABLED = true;
|
||||
constexpr int TARGET_FPS = 60;
|
||||
constexpr float TARGET_FRAME_TIME = 1.0f / TARGET_FPS;
|
||||
|
||||
// Application settings
|
||||
constexpr bool DEBUG_MODE = true;
|
||||
constexpr bool LOGGING_ENABLED = true;
|
||||
|
||||
// File paths
|
||||
constexpr const char* ASSETS_PATH = "assets/";
|
||||
constexpr const char* CONFIG_PATH = "config/";
|
||||
constexpr const char* LOG_PATH = "logs/";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue