aboutsummaryrefslogtreecommitdiff
path: root/src/content_sao.cpp
AgeCommit message (Collapse)Author
2016-10-06use unordered containers where possible (patch 4 on X)Loic Blot
Also remove some unused parameters/functions
2016-09-09Anticheat: Use the physics_override modifiers aswellSmallJoker
2016-08-11Add infotext containing entity type (e.g. mobs:cow) to unknown entities (#4431)Rogier-5
If a mod is disabled, or upgraded without sufficient backward compatibility, then entities it has put into the world become unknown, and continue moving around, but are completely unrecognisable. This change allows the player to see their type, and therefore which mod is or was responsible.
2016-02-11v2d & aabbox3d<f32> & sky cleanupsnerzhul
* Sky: rename Box => m_box and inline getBoundingBox * Uniformize aabbox3d<f32> to aabb3f
2016-01-29Don't pass non-const references to collision methodsest31
Non const references cause a lot of confusion with behaviour of code, and are disallowed by minetest style guide.
2015-12-19Add support for limiting rotation of automatic face movement dir entitysSapier
2015-12-15Add option to give every object a nametagBlockMen
or change the nametag text of players
2015-10-14Rename macros with two leading underscoresShadowNinja
These names are reserved for the compiler/library implementations.
2015-09-23Save and remove player by pointerLoic Blot
Why doing things simple ? Use pointer instead of strings to save players and remove them. Saving players by name does a lookup to find pointer we already have ! Idem with removePlayer Also remove unused removePlayer(peer_id), it's never called
2015-07-21Remove profiler.h include where it's not needed. Remove some unreachable and ↵Loic Blot
very old code
2015-07-18Fix invisible player when the attached entity is removedTeTpaAka
2015-06-22Fix some issues with animations, and allow non-looped animations to be definedMirceaKitsune
2015-06-15Ignore punches with no damage in the actionstreamSmallJoker
2015-06-13Add minetest.register_on_player_hpchangeTeTpaAka
2015-05-28Add some missing getter functions to the lua APITeTpaAka
ObjectRef: get_properties get_armor_groups get_animation get_attach get_bone_position Players: get_physics_override hud_get_hotbar_itemcount hud_get_hotbar_image hud_get_hotbar_selected_image get_sky get_day_night_ratio get_local_animation get_eye_offset Global: minetest.get_gen_notify minetest.get_noiseparams
2015-05-27Spare some string copiesest31
2015-05-15Generalize core.get/set_nametag_color into core.get/set_nametag_attributesTeTpaAka
2015-05-15Add minetest.register_on_punchplayerBrandon
2015-05-15Add get and set functions for the nametag colorTeTpaAka
2015-04-01Move globals from main.cpp to more sane locationsCraig Robbins
Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
2015-03-19Reset the old HP method on PlayerSAO::setHPLoic Blot
2015-03-07For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins
NDEBUG is defined), replace those usages with persistent alternatives
2015-03-05Remove Queue class which uses std::list and use native std::queueLoic Blot
2015-03-04Send Position packet on event, don't check it at each AsyncRunStep.Loic Blot
* This permit to cleanup the player checking loop
2015-03-04Send Inventory packet on event, don't check it at each AsyncRunStep.Loic Blot
* Call UpdateCrafting into SendInventory because this functions is only called before SendInventory * Use Player* instead of peer_id for UpdateCrafting because SendInventory already has the Player* pointer, then don't loop for searching Player* per peer_id * m_env_mutex don't need to be used with this modification because it's already locked before the calls
2015-03-03Remove unused m_wielded_item_not_sentLoic Blot
2015-03-03Send Breath packet on event, don't check it at each AsyncRunStepLoic Blot
2015-03-03Send Player HP when setHP (or a setHP caller) is called instead of looping ↵Loic Blot
and testing the state change.
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
2015-01-18Fix all warnings and remove -Wno-unused-but-set cflagkwolekr
2014-11-08Replace setting unlimited_player_transfer_distance with player_transfer_distanceSmallJoker
2014-09-21Split settings into seperate source and header filesShadowNinja
This also cleans up settings a bit
2014-06-23Only keep players loaded while they're connectedShadowNinja
2014-03-12Pass arguments by referenceSelat
2013-12-03Add sneak and sneak_glitch to set_physics_override()PilzAdam
2013-09-10Add offset to automatic_face_movement_dirPilzAdam
2013-08-17Send player damage to all clients and apply [brightenPilzAdam
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-08-13Add support for entities to automatic face movement directionsapier
2013-08-07Fix various memory access problems detected by valgrindKahrl
2013-08-04Allow mods to listen to cheat detections using minetest.register_on_cheat()Perttu Ahola
2013-08-03Fix anticheatPerttu Ahola
2013-07-30Add support for setting stepheight for entitiessapier
2013-07-20Add an option to disable object <-> object collision for Lua entitiesPilzAdam
2013-07-20Add set_breath and get_breath to lua API.RealBadAngel
2013-05-25Move scriptapi to separate folder (by sapier)sapier
On the lua side, notably minetest.env:<function>(<args>) should now be replaced by minetest.<function>(<args>). The old way is and will stay supported for a long time. Also: Update and clean up lua_api.txt (by celeron55) Move EnvRef to lua and remove add_rat and add_firefly (by kahrl) Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
2013-05-20Allow nil as puncher e.g. to do damage by tntsapier
2013-04-25Move player collisionbox to player classsapier
2013-04-09fix objects colliding with its own collision boxessapier
2013-04-05Allow modifying movement speed, jump height and gravity per-player via the ↵MirceaKitsune
Lua API.