aboutsummaryrefslogtreecommitdiff
path: root/src/content_cao.cpp
AgeCommit message (Collapse)Author
2012-11-25Get the new animation framework properly workingMirceaKitsune
Store start and end frames as v2f Also move bone animations to their own function instead of object properties
2012-11-25Joint positioning and rotation code, and fix a problem related to their lua APIMirceaKitsune
Attempt to move the animation system to a more correct implementation, rather than using object properties. Incomplete and breaks functionality
2012-11-25Allow the LUA API to set animations to meshes as well as the animation ↵MirceaKitsune
speed. Also update animations only when needed. Support for animation blending, though for some reason it doesn't work. Don't enable animation transitions by default for many reaosons Object property to store individual bone positions. LUA can specify a bone name followed by a bone position. No functionality yet. Bone rotation to be added in the following commit Same system for bone rotation, plus a few other things I missed
2012-11-25Get the mesh working through the memory cache properly. Most credit goes to ↵MirceaKitsune
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
2012-11-25Add a subfolder for models and transfer models from server to clientMirceaKitsune
(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
2012-11-25Fix material properties and allow lighting. Models should now be affected by ↵MirceaKitsune
light instead of being black
2012-11-25Properly read the mesh from LUA.MirceaKitsune
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)
2012-11-253D model support for players using Irrlicht. Also ready the basis for mesh ↵MirceaKitsune
support on nodes / items via LUA (to be done). Supports any mesh format compatible with Irrlicht, but animations are not set up yet.
2012-09-09Fix wielditem entity drawtype brightness controlPerttu Ahola
2012-07-27Experimental-ish rollback functionalityPerttu Ahola
2012-07-21Define M_PI on MSVCPerttu Ahola
2012-06-17Custom boxy nodes (stairs, slabs) and collision changesKahrl
2012-06-17Properly and efficiently use split utility headersPerttu Ahola
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2012-04-07Fix fabs() brainfartPerttu Ahola
2012-04-07Fix MSVC ambiguous fabs() call errorsPerttu Ahola
2012-04-04Fix visual='cube' sizePerttu Ahola
2012-04-04Fix dropped nodeitem visualsPerttu Ahola
2012-04-01Implement dropped items as LuaEntities; leave the old ones as is for ↵Perttu Ahola
compatibility
2012-03-31Add 'fly' and 'fast' privileges and the underlying privileges-to-client systemPerttu Ahola
2012-03-30Fix object visuals flashing brightly or disappearing when switching them at ↵Perttu Ahola
night
2012-03-30Fix walking sound of other players (and other objects)Perttu Ahola
2012-03-30ObjectPropertiesPerttu Ahola
2012-03-29Use GenericCAO in place of LuaEntityCAO and PlayerCAOPerttu Ahola
2012-03-29Add GenericCAO and player armor groups, but don't use them yetPerttu Ahola
2012-03-29added PlayerSAO and RemotePlayer, removed ServerRemotePlayerKahrl
2012-03-24Lua API for playing soundsPerttu Ahola
2012-03-10Immediate smoke puff when a normal entity is punched to deathPerttu Ahola
2012-03-10Fix and tune things, add tool "recharge" animation, add dummyballPerttu Ahola
2012-03-10LuaEntity armor groupsPerttu Ahola
2012-03-10Damage groups WIPPerttu Ahola
2012-03-10Entity damage system WIP; Remove C++ mobsPerttu Ahola
2012-02-05Players stay in environment even when dead, damage flash and fall damage fixesKahrl
Don't set m_removed on dead players (dead players are indicated by hp == 0). Local damage flash is shown whatever the cause was (even from Lua set_hp). PlayerCAO damage flash matches duration of local damage flash. Fall damage is dealt much more consistently (this is done by disallowing jumping when speed.Y is very negative, up to now jumping could sometimes negate fall damage)
2012-01-12The huge item definition and item namespace unification patch (itemdef), see ↵Kahrl
http://c55.me/minetest/wiki/doku.php?id=changes:itemdef
2011-12-04Use plain IBillboardSceneNode instead of MyBillboardSceneNode (improvesKahrl
Irrlicht 1.8 compat); also find dungeon master's fireball texture again; add /spawnentity command
2011-12-04Don't initialize ItemCAOs with stick.pngPerttu Ahola
2011-12-03Show infotext for unknown items placed on groundPerttu Ahola
2011-12-03inventorycube: use all three specified textures; also moved mesh creation / ↵Kahrl
modification functions to mesh.cpp; in lua, inventorycube is now called minetest.inventorycube
2011-12-02Make hitting players make a visual damage flash to the player texture and ↵Perttu Ahola
the screen of the local player
2011-12-02Don't hide players in pitch black (like oerkkis)Perttu Ahola
2011-12-02Move ServerRemotePlayer to a separate filePerttu Ahola
2011-12-01Players are more like objects + related stuffPerttu Ahola
2011-12-01Player-is-SAO WIPPerttu Ahola
2011-11-29Improve luaentity sprite functionality (and add some random stuff)Perttu Ahola
2011-11-29Reshape LuaEntityCAO implementation a bit and make TNT to blinkPerttu Ahola
2011-11-29Relatively snappy object-ground collision detectionPerttu Ahola
2011-11-29Improve LuaEntity velocity/acceleration handling (by kahrl); implement ↵Perttu Ahola
staticdata interface to Lua
2011-11-29Clean InventoryItem interface a bitPerttu Ahola
2011-11-29Replace direct irrlicht texture fetching in CAO content with TextureSourcePerttu Ahola
2011-11-29Clean mapnode.h and fix other files accordinglyPerttu Ahola