From 9c8ba427503cbf73f0263495a791656b905c2efc Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Wed, 24 Oct 2012 22:10:05 +0300 Subject: Get the mesh working through the memory cache properly. Most credit goes to celeron55 for the help on this code Get the texture from memory as well Add .x to the list of supported formats Update LUA API documentation --- doc/lua_api.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 500b514d9..84c86061f 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1227,8 +1227,9 @@ Object Properties physical = true, weight = 5, collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5}, - visual = "cube"/"sprite"/"upright_sprite", + visual = "cube"/"sprite"/"upright_sprite"/"mesh", visual_size = {x=1, y=1}, + mesh = "model", textures = {}, -- number of required textures depends on visual spritediv = {x=1, y=1}, initial_sprite_basepos = {x=0, y=0}, -- cgit v1.2.3