Add stubs for waypoint functions

This commit is contained in:
Wuzzy 2019-08-28 18:03:54 +02:00
parent cff5062736
commit 482c05682a
2 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,7 @@
nav = {}
dofile(minetest.get_modpath("nav").."/waypoints.lua") -- TODO: Waypoint implenentation is a stub
dofile(minetest.get_modpath("nav").."/map.lua")
dofile(minetest.get_modpath("nav").."/compass.lua")

10
mods/nav/waypoints.lua Normal file
View File

@ -0,0 +1,10 @@
-- Waypoint handling is a stub at the moment.
-- TODO: Implement waypoints
function nav.add_waypoint(pos, name, label, isinfo, w_type)
-- This is a stub
end
function nav.remove_waypoint(name)
-- This is a stub
end