Read settings, like resolution/full-screen/bindings from config files. If a config file does not exist, generate it with defaults rather than raising errors.
Improve the Lua interface a bit so users can run start-up scripts and change other settings from the console. Also fix the race condition in the Console window constructor (A new Lua thread is constructed in the initializer list, but libraries are then loaded into the lua_State later in the constructor).
Read settings, like resolution/full-screen/bindings from config files. If a config file does not exist, generate it with defaults rather than raising errors.
Improve the Lua interface a bit so users can run start-up scripts and change other settings from the console. Also fix the race condition in the Console window constructor (A new Lua thread is constructed in the initializer list, but libraries are then loaded into the
lua_State
later in the constructor).