Set options from defaults on first start

Data/GenericData.dat specifies what the default values for some options
should be. Respect them on startup if the options in config are unset.
This commit is contained in:
2020-04-02 01:21:32 +01:00
parent 8ce24ce5f8
commit aa43011e8d
4 changed files with 95 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ type AssetStore struct {
// These members are used to store things we've already loaded
fonts map[string]*Font
generic *data.Generic
maps map[string]*Map
menus map[string]*Menu
objs map[string]*Object