![]() |
Blamite Game Engine - blam!
00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
|
#include <map>
#include <string>
#include <Windows.h>
#include <Strings/components/settings/config/config.h>
#include "components/resources/engine_globals/globals.h"
#include "components/diagnostics/errors/errors.h"
Go to the source code of this file.
Classes | |
struct | Blam::Config::ConfigFile |
Namespaces | |
Blam | |
Namespace surrounding all major engine components. | |
Blam::Settings | |
Blam::Settings::Config | |
Namespace for anything related to engine configuration files. | |
Blam::Settings::Paths | |
Namespace containing functions for fetching full paths from configuration files. | |
Blam::Config | |
Namespace for legacy configuration compatiability. | |
Macros | |
#define | CONFIG_VER "1" |
The current version of the main engine configuration. More... | |
#define | CONFIG_COMMENT_DELIMETER "#" |
The character that indicates a commented-out line. More... | |
#define | CONFIG_DEFAULT_NAME "engine.cfg" |
The filename of the default engine configuration. More... | |
#define | CONFIG_COLOR_NAME "console_colors.cfg" |
The filename of the default console color configuration. More... | |
#define | ENGINE_CFG Blam::Config::GetConfig() |
Macro to allow quicker access to the main configuration file. More... | |
#define | ENGINE_CFG_SECTION(section_name) Blam::Settings::Config::GetEngineConfiguration()->GetConfigurationSection(section_name) |
Macro to quickly access a configuration section from the engine configuration file. More... | |
#define | ENGINE_DATA_PATH(path) Blam::Settings::Paths::GetEngineDataPath(path) |
Macro to quickly access a game engine data folder. More... | |
#define | USER_DATA_PATH(path) Blam::Settings::Paths::GetUserDataPath(path) |
Macro to quickly access a user data folder. More... | |
#define | BLAM |
Enumerations | |
enum | BlamEngineDataFolder { BlamEngineDataFolder::DataRoot, BlamEngineDataFolder::Content, BlamEngineDataFolder::Gallery, BlamEngineDataFolder::Maps, BlamEngineDataFolder::Fonts, BlamEngineDataFolder::Tags, BlamEngineDataFolder::Resources, BlamEngineDataFolder::DefaultConfigs } |
Enumerator listing all possible engine data folders. More... | |
enum | BlamUserDataFolder { BlamUserDataFolder::DataRoot, BlamUserDataFolder::Tags, BlamUserDataFolder::Maps, BlamUserDataFolder::Mods, BlamUserDataFolder::Plugins, BlamUserDataFolder::Screenshots, BlamUserDataFolder::Reports, BlamUserDataFolder::LogArchives, BlamUserDataFolder::Cache } |
Enumerator listing all possible user data folders. More... | |
#define BLAM |
#define CONFIG_COLOR_NAME "console_colors.cfg" |
The filename of the default console color configuration.
#define CONFIG_COMMENT_DELIMETER "#" |
The character that indicates a commented-out line.
#define CONFIG_DEFAULT_NAME "engine.cfg" |
The filename of the default engine configuration.
#define CONFIG_VER "1" |
The current version of the main engine configuration.
#define ENGINE_CFG Blam::Config::GetConfig() |
Macro to allow quicker access to the main configuration file.
#define ENGINE_CFG_SECTION | ( | section_name | ) | Blam::Settings::Config::GetEngineConfiguration()->GetConfigurationSection(section_name) |
Macro to quickly access a configuration section from the engine configuration file.
section_name | - The name of the section to retrieve. |
#define ENGINE_DATA_PATH | ( | path | ) | Blam::Settings::Paths::GetEngineDataPath(path) |
Macro to quickly access a game engine data folder.
path | - The engine folder to retrieve. |
#define USER_DATA_PATH | ( | path | ) | Blam::Settings::Paths::GetUserDataPath(path) |
Macro to quickly access a user data folder.
path | - The user folder to retrieve. |
|
strong |
Enumerator listing all possible engine data folders.
Engine data folders refer to directories which contain built-in game engine files. These are files that the user is generally not advised to alter or modify and should typically only contain stock or 'retail' content.
Files within these directories generally do not change over time, outside of game or engine updates.
|
strong |
Enumerator listing all possible user data folders.
User data folders refer to directories which contain user-generated content. This may include mods, custom cache files, custom tags, screenshots, as well as user configuration files. It also serves as a place to store any sort of routinely-changing content, such as log files or reports.
Files within these folders are generally considered user-modifiable.
You will see {DataRoot}
used in the default path details below. This placeholder represents the value represented by DataRoot
.