Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { VideoPlayer []string `toml:"video_player"` Engines map[string]Engine `toml:"engines"` DefaultEngineName string `toml:"default_engine"` // FIXME: options may well end up being per-engine too Defaults *Options `toml:"-"` Options `toml:"options"` // contains filtered or unexported fields }
func (*Config) DefaultEngine ¶
func (*Config) HasUnsetOptions ¶
func (*Config) ResetDefaults ¶
type Options ¶
type Options struct { PlayMovies bool `toml:"play_movies"` Animations bool `toml:"animations"` PlayMusic bool `toml:"play_music"` CombatVoices bool `toml:"combat_voices"` ShowGrid bool `toml:"show_grid"` ShowPaths bool `toml:"show_paths"` PointSaving bool `toml:"point_saving"` AutoCutLevel bool `toml:"auto_cut_level"` XRes int `toml:"x_resolution"` YRes int `toml:"y_resolution"` MusicVolume int `toml:"music_volume"` SFXVolume int `toml:"sfx_volume"` UnitSpeed int `toml:"unit_speed"` AnimSpeed int `toml:"animation_speed"` }
Things set in the options hash TODO: load defaults from Data/GenericData.dat if they're not set
func (*Options) ResolutionIndex ¶
func (*Options) SetResolutionIndex ¶
Click to show internal directories.
Click to hide internal directories.