summaryrefslogtreecommitdiff
path: root/src/object_properties.cpp
Commit message (Collapse)AuthorAge
* Add a subfolder for models and transfer models from server to clientMirceaKitsune2012-11-25
| | | | | | | | (obj, md2 and md3 are currently allowed) Get rid of the texture string and use the existing textures array. Segmented meshes have multiple materials, and this will allow us to texture each. Do not switch to this commit yet! If a texture string is left empty in LUA, don't modify that material. Useful so a script can change specific textures without affecting others
* Properly read the mesh from LUA.MirceaKitsune2012-11-25
| | | | | | | | | | | | | | | | | Players can now be set to meshes using the following test script: function switch_player_visual() prop = { mesh="player.obj", texture="player.png", visual="mesh", } for _, obj in pairs(minetest.get_connected_players()) do obj:set_properties(prop) end minetest.after(1.0, switch_player_visual) end minetest.after(1.0, switch_player_visual)
* Properly and efficiently use split utility headersPerttu Ahola2012-06-17
|
* Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola2012-06-05
| | | | GPLv2/later, by agreement of major contributors
* Fix dropped nodeitem visualsPerttu Ahola2012-04-04
|
* ObjectPropertiesPerttu Ahola2012-03-30