projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
852f768
)
Fix Lua HUD documentation
author
kwolekr
<kwolekr@minetest.net>
Thu, 18 Apr 2013 19:26:01 +0000
(15:26 -0400)
committer
kwolekr
<kwolekr@minetest.net>
Thu, 18 Apr 2013 19:26:29 +0000
(15:26 -0400)
doc/lua_api.txt
patch
|
blob
|
history
diff --git
a/doc/lua_api.txt
b/doc/lua_api.txt
index 44b2a0b632adf7bfdd8368a3848247aebe1854ae..1308323a437530e90fbe19da3b7c6da6fd4882fa 100644
(file)
--- a/
doc/lua_api.txt
+++ b/
doc/lua_api.txt
@@
-1846,7
+1846,7
@@
Detached inventory callbacks
HUD Definition (hud_add, hud_get)
{
- type = "image",
+ hud_elem_type = "image", -- see HUD element types
^ type of HUD element, can be either of "image", "text", "statbar", or "inventory"
position = {x=0.5, y=0.5},
^ Left corner position of element