20,741
edits
Line 212: | Line 212: | ||
{{Note|This is just intended to demonstrate the concept; as mentioned before, it would make more sense to move this to the run() method of the GeneralInitOperation struct, so that we can access the gl-vendor and gl-renderer information to proceed from here. Doing that will require to restore a copy of any autosave.xml settings, i.e. those having the userarchive attribute set. | {{Note|This is just intended to demonstrate the concept; as mentioned before, it would make more sense to move this to the run() method of the GeneralInitOperation struct, so that we can access the gl-vendor and gl-renderer information to proceed from here. Doing that will require to restore a copy of any autosave.xml settings, i.e. those having the userarchive attribute set. | ||
To actually do some kind of heuristics processing, it would make sense to support SGConditions, PropertyRules and/or Nasal (at least temporarily), so that we can process a few properties and select appropriate defaults. | |||
}} | }} | ||