Frame of Reference Game API
1.0.3
|
Stores settings for the application More...
Public Member Functions | |
void | Config () |
Displays a configuration interface for the settings, allowing easy manipulation of values More... | |
Static Public Member Functions | |
static void | LoadCurrent () |
Loads the current settings from an automatically located XML file More... | |
static void | SaveCurrent () |
Saves the current settings to an automatically located XML file More... | |
Public Attributes | |
GeneralSettings | General = new GeneralSettings() |
Stores general game settings (UI language, difficulty level, etc.). More... | |
ControlsSettings | Controls = new ControlsSettings() |
Stores settings for the user controls (mouse, keyboard, etc.). More... | |
DisplaySettings | Display = new DisplaySettings() |
Stores display settings (resolution, etc.). Changes here require the engine to be reset. More... | |
GraphicsSettings | Graphics = new GraphicsSettings() |
Stores graphics settings (effect details, etc.). Changes here don't require the engine to be reset. More... | |
SoundSettings | Sound = new SoundSettings() |
Stores sound settings (turn music on or off, etc.). More... | |
EditorSettings | Editor = new EditorSettings() |
Stores settings for the game's editor. More... | |
Properties | |
static Settings | Current [get] |
The currently active set of settings More... | |
static bool | AutoSave = true [get, set] |
Automatically save any changed settings? More... | |
Stores settings for the application
|
inline |
Displays a configuration interface for the settings, allowing easy manipulation of values
|
inlinestatic |
Loads the current settings from an automatically located XML file
Any errors are logged and then ignored.
|
inlinestatic |
Saves the current settings to an automatically located XML file
Any errors are logged and then ignored.
ControlsSettings FrameOfReference.World.Config.Settings.Controls = new ControlsSettings() |
Stores settings for the user controls (mouse, keyboard, etc.).
DisplaySettings FrameOfReference.World.Config.Settings.Display = new DisplaySettings() |
Stores display settings (resolution, etc.). Changes here require the engine to be reset.
EditorSettings FrameOfReference.World.Config.Settings.Editor = new EditorSettings() |
Stores settings for the game's editor.
GeneralSettings FrameOfReference.World.Config.Settings.General = new GeneralSettings() |
Stores general game settings (UI language, difficulty level, etc.).
GraphicsSettings FrameOfReference.World.Config.Settings.Graphics = new GraphicsSettings() |
Stores graphics settings (effect details, etc.). Changes here don't require the engine to be reset.
SoundSettings FrameOfReference.World.Config.Settings.Sound = new SoundSettings() |
Stores sound settings (turn music on or off, etc.).
|
staticgetset |
Automatically save any changed settings?
|
staticget |
The currently active set of settings