mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-28 06:06:29 -04:00
22 lines
477 B
Go
22 lines
477 B
Go
package d2interface
|
|
|
|
// Configuration saves, loads, and returns the OpenDiablo2
|
|
// configuration. This is either loaded from disk, or generated
|
|
// when one is not found.
|
|
type Configuration interface {
|
|
Load() error
|
|
Save() error
|
|
// Get() Configuration
|
|
MpqLoadOrder() []string
|
|
Language() string
|
|
MpqPath() string
|
|
TicksPerSecond() int
|
|
FpsCap() int
|
|
SfxVolume() float64
|
|
BgmVolume() float64
|
|
FullScreen() bool
|
|
RunInBackground() bool
|
|
VsyncEnabled() bool
|
|
Backend() string
|
|
}
|