Created the generator hierarchy
This commit is contained in:
@@ -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}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user