![]() |
Blamite Game Engine - blam!
00272.10.26.20.0001.blamite
The core library for the Blamite Game Engine.
|
#include "config.h"
#include <Strings/components/utils/string/string.h>
#include "components/settings/placeholders/placeholders.h"
Functions | |
void | expand_config_opt_placeholders () |
Expands all placeholders, and converts them to their evaluated values. More... | |
Variables | |
std::map< std::string, Blam::Config::ConfigFile > | config_files |
Stores all configuration files loaded using LoadConfig(). More... | |
void expand_config_opt_placeholders | ( | ) |
Expands all placeholders, and converts them to their evaluated values.
This function is called twice as a temporary hack, as there are config options that will include placeholders - which themselves include placeholders. A more ideal solution would be to check for placeholders on a per-value basis, expanding each one an infinite number of times. This way, we can avoid any possibility of placeholders not being fully expanded.
std::map<std::string, Blam::Config::ConfigFile> config_files |
Stores all configuration files loaded using LoadConfig().
The key is a std::string
, and contains the filename
parameter that was passed to LoadConfig(). The value is the ConfigFile class containing all loaded data for the config file.