ConfigDataDescription::WriteEngineConfig
Defined in:
Writes the engine configuration to a file.
C4ConfigData.h
Prototype
static void WriteEngineConfig(const char *name = C4_ENGINE_CONFIG_FILE);
Parameters
name |
The name of the file. |
Description
The WriteEngineConfig
function writes the values of all system variables to a file whose name is specified by the name
parameter. The file is written to a subfolder of the roaming application support directory for the current user, as defined by the operating system. The subfolder's name is that of the running application, defined by the APPLICATION_NAME
identifier.Additional data saved by the core engine is also written to the configuration file. This includes the most recent directories visited by the user to select various types of resources as well as the command history for the console window.
See Also
ConfigDataDescription::WriteInputConfig
Wiki Articles