Add stubs for waypoint functions
This commit is contained in:
parent
cff5062736
commit
482c05682a
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
nav = {}
|
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").."/map.lua")
|
||||||
dofile(minetest.get_modpath("nav").."/compass.lua")
|
dofile(minetest.get_modpath("nav").."/compass.lua")
|
||||||
|
|
||||||
|
10
mods/nav/waypoints.lua
Normal file
10
mods/nav/waypoints.lua
Normal 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
|
Loading…
Reference in New Issue
Block a user