Closed tuttlem closed 10 years ago
It shouldn't be too hard to implement a custom built configuration style object backed by Lua. The C API is pretty easy to get around http://windrealm.org/tutorials/reading-a-lua-configuration-file-from-c.php
Wrapping this up in a class that uses template to retrieve the values out would be a nice touch.
Be specific though. This is a Lua config as opposed to a more general purpose Lua script which you'll probably want to use later to provide automation within games.
Get a configuration system implemented that will use Lua as the backbone. Examples that I have seen of this being done are http://tom.rethaller.net/wiki/projects/prologue/lua linkthough to https://bitbucket.org/trethaller/prologue-game/src/default/src/utils/LuaState.h