Added the waypoint system to the modules

Also fleshed out entity_api.cpp, but that's just filler.
This commit is contained in:
Kayne Ruse
2014-12-30 04:37:56 +11:00
parent f3fb5017b3
commit bb592b2436
5 changed files with 145 additions and 0 deletions
+2
View File
@@ -42,6 +42,7 @@
#include "map_system_api.hpp"
#include "room_system_api.hpp"
#include "waypoint_system_api.hpp"
//these libs are loaded by lua.c and are readily available to any Lua program
static const luaL_Reg loadedlibs[] = {
@@ -64,6 +65,7 @@ static const luaL_Reg loadedlibs[] = {
static const luaL_Reg preloadedlibs[] = {
{TORTUGA_MAP_SYSTEM_API, openMapSystemAPI},
{TORTUGA_ROOM_SYSTEM_API, openRoomSystemAPI},
{TORTUGA_WAYPOINT_SYSTEM_API, openWaypointSystemAPI},
{NULL, NULL}
};