diff options
author | RealBadAngel <maciej.kasatkin@yahoo.com> | 2014-01-26 21:31:59 +0100 |
---|---|---|
committer | RealBadAngel <maciej.kasatkin@yahoo.com> | 2014-01-26 21:31:59 +0100 |
commit | 21f1bec72433748e220d19e97a846df83340518e (patch) | |
tree | a4b45526ca5f21a63a5075de17b1911c662eb656 /doc | |
parent | 3f0ee5d6800302f0ad7e56f0aa4ddddddae86823 (diff) | |
download | minetest-21f1bec72433748e220d19e97a846df83340518e.tar.gz minetest-21f1bec72433748e220d19e97a846df83340518e.tar.bz2 minetest-21f1bec72433748e220d19e97a846df83340518e.zip |
New HUD element - waypoint.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 8 |
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: |