aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@yahoo.com>2014-01-26 21:31:59 +0100
committerRealBadAngel <maciej.kasatkin@yahoo.com>2014-01-26 21:31:59 +0100
commit21f1bec72433748e220d19e97a846df83340518e (patch)
treea4b45526ca5f21a63a5075de17b1911c662eb656 /doc
parent3f0ee5d6800302f0ad7e56f0aa4ddddddae86823 (diff)
downloadminetest-21f1bec72433748e220d19e97a846df83340518e.tar.gz
minetest-21f1bec72433748e220d19e97a846df83340518e.tar.bz2
minetest-21f1bec72433748e220d19e97a846df83340518e.zip
New HUD element - waypoint.
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 736f6ca4f..9d97dd6fa 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -507,7 +507,13 @@ Note: Future revisions to the HUD API may be incompatible; the HUD API is still
- number: Number of items in the inventory to be displayed.
- item: Position of item that is selected.
- direction
-
+- waypoint
+ Displays distance to selected world position.
+ - name: The name of the waypoint.
+ - text: Distance suffix. Can be blank.
+ - number: An integer containing the RGB value of the color used to draw the text.
+ - world_pos: World position of the waypoint.
+
Representations of simple things
--------------------------------
Position/vector: