Added all lua objects i need for now, a ton of API too

This commit is contained in:
KimLS
2013-06-02 00:15:26 -07:00
parent a1080fdb2d
commit d14608356d
31 changed files with 2376 additions and 370 deletions
+6 -2
View File
@@ -9,10 +9,14 @@
#include "hate_list.h"
#include "lua_mob.h"
#include "lua_hate_entry.h"
#include "lua_hate_list.h"
struct Lua_HateList
{
std::vector<Lua_HateEntry> entries;
};
Lua_Mob Lua_HateEntry::GetEnt() {
Lua_Safe_Call_Mob();
Lua_Safe_Call_Class(Lua_Mob);
return Lua_Mob(self->ent);
}