BinghamtonRover / BurtOS-2

Base station/rover computer apps and libraries for the Binghamton University Rover Team
3 stars 0 forks source link

Config files and scripting support #38

Closed superdan-t closed 2 years ago

superdan-t commented 2 years ago

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).