Cleanup of some lua code, initial work on encounter_quests

This commit is contained in:
KimLS
2013-05-19 12:13:44 -07:00
parent 17954dd8fe
commit 69bad31019
34 changed files with 2714 additions and 450 deletions
+10
View File
@@ -3,4 +3,14 @@
#include "../common/spdat.h"
#include "lua_spell.h"
#include "lua.hpp"
#include <luabind/luabind.hpp>
luabind::scope lua_register_spell() {
return luabind::class_<Lua_Spell>("Spell")
.def(luabind::constructor<>())
.property("null", &Lua_Spell::Null)
.property("valid", &Lua_Spell::Valid);
}
#endif