aboutsummaryrefslogtreecommitdiff
path: root/src/content_cao.h
AgeCommit message (Collapse)Author
2017-01-21Add Entity get_texture_mod() to Lua APIsapier
Send texture modifier to clients connecting later too
2017-01-14Fix another missing const reported by clang & @sfan5Loic Blot
Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
2017-01-11Performance fix + SAO factorizationRogier
Original credits goes to @Rogier-5 * Merge common attributes between LuaEntitySAO & PlayerSAO to UnitSAO * Make some functions const * Improve some lists performance by returning const ref Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
2017-01-09Environment & IGameDef code refactoring (#4985)Ner'zhul
* Environment code refactoring * Cleanup includes & class declarations in client & server environment to improve build speed * ServerEnvironment::m_gamedef is now a pointer to Server instead of IGameDef, permitting to cleanup many casts. * Cleanup IGameDef * Move ITextureSource* IGameDef::getTextureSource() to Client only. * Also move ITextureSource *IGameDef::tsrc() helper * drop getShaderSource, getSceneManager, getSoundManager & getCamera abstract call * drop unused emerge() call * cleanup server unused functions (mentionned before) * Drop one unused parameter from ContentFeatures::updateTextures * move checkLocalPrivilege to Client * Remove some unnecessary casts * create_formspec_menu: remove IWritableTextureSource pointer, as client already knows it * Fix some comments * Change required IGameDef to Server/Client pointers * Previous change that game.cpp sometimes calls functions with Client + InventoryManager + IGameDef in same functions but it's the same objects * Remove duplicate Client pointer in GUIFormSpecMenu::GUIFormSpecMenu * drop ClientMap::sectorWasDrawn which is unused
2016-11-18Particles: Make attached particle spawners respect the parent's yaworwell96
Position, velocity and acceleration vectors of particles are rotated by the yaw of the parent object so that they are truly relative to it. Clarify new attached particle spawner behavior in lua_api.txt.
2016-10-19Fix crash on attaching player to entityFoghrye4
Rename "refresh" to "processInitData"
2016-10-05Replace various std::map with UNORDERED_MAP + various cleanupsLoic Blot
This is part 2 for 5f084cd98d7b3326b51320455364337539710efd Other improvements: * Use the defined ItemGroupList when used * make Client::checkPrivilege const * inline some trivial functions * Add ActiveObjectMap typedef * Add SettingsEntries typedef
2016-05-22Fix a m_camera not used warning fix pointed by clangLoic Blot
2016-02-18Move object nametags to cameraRealBadAngel
2016-02-11v2d & aabbox3d<f32> & sky cleanupsnerzhul
* Sky: rename Box => m_box and inline getBoundingBox * Uniformize aabbox3d<f32> to aabb3f
2016-01-18Show infotext with description for item entitiesRealBadAngel
2015-12-15Add option to give every object a nametagBlockMen
or change the nametag text of players
2015-07-23Fix issues with light of attached CAOsRealBadAngel
2015-06-22Fix some issues with animations, and allow non-looped animations to be definedMirceaKitsune
2015-06-20Generic CAO cleanups and renames for clarificationest31
* Use enum for GENERIC_CMD_* * Rename m_attachements to attachement_parent_ids (public member and clearer name) * Rename GENERIC_CMD_SET_ATTACHMENT to GENERIC_CMD_ATTACH_TO * USHRT_MAX + 1 buffer sizes to prevent overflows as @kahrl suggested * Remove unneccessary m_id from GenericCAO (shadowing protected superclass member for no reason) as @kahrl suggested
2015-06-20Make attached objects visible in 3rd person viewest31
2015-05-15Add get and set functions for the nametag colorTeTpaAka
2015-02-17SAO work: ActiveObject types & SAO cleanup * Replace u8 types with ↵Loic Blot
ActiveObjectType. * Merge content_object.h into activeobject.h * Remove DummyLoadSAO, it's now unused. * Remove ItemSAO, it's also unused
2014-11-08Implement WieldMeshSceneNode which improves wield mesh renderingKahrl
- Don't create and cache an extruded mesh for every (non-node) item. Instead use a single one per image resolution. - For cubic nodes reuse a single wield mesh too - Improve lighting of the wielded item - Increase far value of wield mesh scene camera, fixes #1770 - Also includes some minor refactorings of Camera and GenericCAO.
2014-07-06Fix warnings reported by clangsfan5
2014-06-23Speedup attachement handling by replacing vector search by direct array ↵sapier
access and secondary child lookup vector
2014-05-17Split declaration of GenericCAO from implementationsapier
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2011-12-01Player-is-SAO WIPPerttu 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-29Create framework for getting rid of global definitions of ↵Perttu Ahola
node/tool/item/whatever types
2011-11-29Scripting WIPPerttu Ahola
2011-11-29Scripting WIPPerttu Ahola
2011-11-29Scripting WIPPerttu Ahola
2011-11-29Scripting WIPPerttu Ahola
2011-11-29Scripting WIPPerttu Ahola
2011-10-15Make dungeon masters though and make oerkkis disappear when they get to you ↵Perttu Ahola
(because hitting them doesn't work for some unknown reason)
2011-10-15Improve mobv2Perttu Ahola
2011-10-15mobv2Perttu Ahola
2011-07-30Rats are now eatable. Also made their selection box move smoothly.Perttu Ahola
2011-07-20+ firefliesNils Dagsson Moskopp
2011-06-26reorganized a lot of stuff and modified mapgen and objects slightly while ↵Perttu Ahola
doing it