![]() |
Blamite Game Engine - blam!
00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
|
Namespace for anything related to engine configuration files. More...
Functions | |
| BLAM BlamResult | LoadEngineConfiguration () |
| Loads the default game engine configuration (engine.cfg). More... | |
| BLAM BlamResult | LoadConfiguration (std::string filename) |
| Loads a configuration file from a file path. More... | |
| BLAM BlamResult | LoadConfiguration (std::string filename, std::string defaults_filename) |
| Loads a configuration file from a file path. More... | |
| BLAM BlamConfigurationFile * | GetEngineConfiguration () |
| Retrieves the main engine configuration file. More... | |
| BLAM BlamConfigurationFile * | GetConfiguration (std::string filename) |
| Retrieves a configuration file from a file path. More... | |
| BLAM bool | IsEngineConfigurationAvailable () |
| Checks whether or not the main engine configuration is currently available. More... | |
| BLAM bool | IsConfigurationAvailable (std::string filename) |
| Checks whether or not a given configuration file is currently available. More... | |
| BLAM std::map< std::string, BlamConfigurationFile * > * | GetConfigurationFiles () |
| Retrieves the map of all loaded configuration files. More... | |
Namespace for anything related to engine configuration files.
| BlamConfigurationFile * Blam::Settings::Config::GetConfiguration | ( | std::string | filename | ) |
Retrieves a configuration file from a file path.
| filename | - The file path of the desired configuration file. Note that this must EXACTLY match the path that was provided to LoadConfiguration() when the file was first loaded. |
nullptr if the specified configuration file could not be found.
Here is the caller graph for this function:| std::map< std::string, BlamConfigurationFile * > * Blam::Settings::Config::GetConfigurationFiles | ( | ) |
Retrieves the map of all loaded configuration files.
Here is the caller graph for this function:| BlamConfigurationFile * Blam::Settings::Config::GetEngineConfiguration | ( | ) |
Retrieves the main engine configuration file.
nullptr if the engine config is not yet loaded or failed to load.
Here is the caller graph for this function:| bool Blam::Settings::Config::IsConfigurationAvailable | ( | std::string | filename | ) |
Checks whether or not a given configuration file is currently available.
| filename | - The file path of the desired configuration file. Note that this must EXACTLY match the path that was provided to LoadConfiguration() when the file was first loaded. |
true if the specified configuration file is available, otherwise returns false. | bool Blam::Settings::Config::IsEngineConfigurationAvailable | ( | ) |
Checks whether or not the main engine configuration is currently available.
true if the engine configuration is available, otherwise returns false. | BlamResult Blam::Settings::Config::LoadConfiguration | ( | std::string | filename | ) |
Loads a configuration file from a file path.
| filename | - The file path of the configuration file. |
BlamResult::Success_OK if the config file was loaded successfully, otherwise returns an error code.
Here is the call graph for this function:
Here is the caller graph for this function:| BlamResult Blam::Settings::Config::LoadConfiguration | ( | std::string | filename, |
| std::string | defaults_filename | ||
| ) |
Loads a configuration file from a file path.
| filename | - The file path of the configuration file. |
| defaults_filename | - The file path of the configuration file which contains all default options. |
BlamResult::Success_OK if the config file was loaded successfully, otherwise returns an error code.
Here is the call graph for this function:| BlamResult Blam::Settings::Config::LoadEngineConfiguration | ( | ) |
Loads the default game engine configuration (engine.cfg).
BlamResult::Success_OK if the config file was loaded successfully, otherwise returns an error code.
Here is the call graph for this function:
Here is the caller graph for this function: