Lua update functions are unhooked if they cause an error
Factored out lua library and metatable registration code
Added debug option to global Makefile
Reordered initialization. Lua is now the first module initialized. This allows future modules to call Lua functions.
Added Map::Script. Executes a Lua script based on the object's file option.
So far, only a load function and interact function can be hooked.
Fixed interact with Lua.
Changed Lua "onInteract" to "interact"
A Map::Script can now add/remove images and text in Lua
Lua map objects can now have collision. Collision is determined by the hasCollision function.
A map object can now be written entirely in Lua.
Changed Map::update to catch exceptions in each of the Map::Object update functions
Fixed major bug where Map::onEnter, Map::whileInside, Map::onExit weren't being called
The Tmx::Object properties are now pushed as a table to the load function
Added lua function to return the bounds of a map object (x, y, width, height)