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
+10
View File
@@ -3,6 +3,16 @@ print("Lua script check")
mapMaker = require "map_maker"
mapSaver = require "map_saver"
roomSystem = require "room_system"
waypointSystem = require "waypoint_system"
local function dumpTable(t)
print(t)
for k, v in pairs(t) do
print("",k,v)
end
end
dumpTable(waypointSystem)
--NOTE: room 0 is the first that the client asks for, therefore it must exist
local overworld, uid = roomSystem.RoomManager.CreateRoom("overworld")