Created the generator hierarchy

This commit is contained in:
Kayne Ruse
2014-06-21 06:47:30 +10:00
parent d3bf099a98
commit 924ebc2ee9
20 changed files with 475 additions and 39 deletions
+4
View File
@@ -38,6 +38,8 @@
#include "region_api.hpp"
#include "pager_api.hpp"
#include "room_api.hpp"
#include "generator_api.hpp"
//these libs are loaded by lua.c and are readily available to any Lua program
static const luaL_Reg loadedlibs[] = {
@@ -56,6 +58,8 @@ static const luaL_Reg loadedlibs[] = {
//custom libs
{LUA_REGIONLIBNAME, luaopen_regionapi},
{LUA_PAGERLIBNAME, luaopen_pagerapi},
{LUA_ROOMLIBNAME, luaopen_roomapi},
{LUA_GENERATORLIBNAME, luaopen_generatorapi},
{NULL, NULL}
};