score::ApplicationSettings Struct Reference

Load-time settings. More...

Detailed Description

Load-time settings.

Core application settings that are set on the command line. The actual options names are given in the ApplicationSettings::parse implementation.

Public Member Functions

void parse (QStringList args, int &argc, char **argv)
 Parse the arguments.
 

Public Attributes

bool tryToRestore = true
 If true, will ask the user if he wants to restore upon loading.
 
bool forceRestore = false
 Force restoring last session, mainly useful for debugging.
 
bool gui = true
 If true, will show the GUI upon loading.
 
bool opengl = true
 If true, try to use opengl for rendering.
 
bool autoplay = false
 If true, will start playing after loading the scenarios.
 
score::Version saveFormatVersion {4}
 The version of the base score framework's JSON save file.
 
QStringList loadList
 List of scenarios that should be loaded.
 
int waitAfterLoad = 0
 Seconds to wait before playing.
 
QStringList arguments
 Complete list of arguments passed to parse.
 
int uiEventRate = 64
 UI event processing rate in ms (used for plug-in gui updates, etc)
 

The documentation for this struct was generated from the following files: