mirror of https://github.com/OpenMW/openmw.git
Move settings rendering to Menu scripts
parent
88049ffac6
commit
9b54f479e8
@ -0,0 +1,19 @@
|
||||
local common = require('scripts.omw.settings.common')
|
||||
local render = require('scripts.omw.settings.render')
|
||||
|
||||
require('scripts.omw.settings.renderers')(render.registerRenderer)
|
||||
|
||||
return {
|
||||
interfaceName = 'Settings',
|
||||
interface = {
|
||||
version = 0,
|
||||
registerPage = render.registerPage,
|
||||
registerRenderer = render.registerRenderer,
|
||||
registerGroup = common.registerGroup,
|
||||
updateRendererArgument = common.updateRendererArgument,
|
||||
},
|
||||
engineHandlers = {
|
||||
onLoad = common.onLoad,
|
||||
onSave = common.onSave,
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue