Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Player/LocalPlayer/RemotePlayer inheritance cleanup (part 1 on X) | Loic Blot | 2016-10-08 |
| | | | | | | | | | | | * LocalPlayer take ownership of maxHudId as it's the only caller * RemotePlayer take ownership of day night ratio as it's the only user * Pass getPlayerControl as const reference to prevent object copy on each call (perf improvement in ObjectRef::l_get_player_control call) * getPlayerSAO is now only RemotePlayer call * get/setHotbarItemCount is now RemotePlayer owned * Server: Use RemotePlayer instead of Player object on concerned call to properly fix the object type * PlayerSAO now uses RemotePlayer instead of Player because it's only server side * ObjectRef::getplayer also returns RemotePlayer as it's linked with PlayerSAO | ||
* | use unordered containers where possible (patch 4 on X) | Loic Blot | 2016-10-06 |
| | | | | Also remove some unused parameters/functions | ||
* | Anticheat: Use the physics_override modifiers aswell | SmallJoker | 2016-09-09 |
| | |||
* | Add infotext containing entity type (e.g. mobs:cow) to unknown entities (#4431) | Rogier-5 | 2016-08-11 |
| | | | | | | | | 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. | ||
* | v2d & aabbox3d<f32> & sky cleanups | nerzhul | 2016-02-11 |
| | | | | | * Sky: rename Box => m_box and inline getBoundingBox * Uniformize aabbox3d<f32> to aabb3f | ||
* | Don't pass non-const references to collision methods | est31 | 2016-01-29 |
| | | | | | Non const references cause a lot of confusion with behaviour of code, and are disallowed by minetest style guide. | ||
* | Add support for limiting rotation of automatic face movement dir entitys | Sapier | 2015-12-19 |
| | |||
* | Add option to give every object a nametag | BlockMen | 2015-12-15 |
| | | | | or change the nametag text of players | ||
* | Rename macros with two leading underscores | ShadowNinja | 2015-10-14 |
| | | | | These names are reserved for the compiler/library implementations. | ||
* | Save and remove player by pointer | Loic Blot | 2015-09-23 |
| | | | | | | 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 | ||
* | Remove profiler.h include where it's not needed. Remove some unreachable and ↵ | Loic Blot | 2015-07-21 |
| | | | | very old code | ||
* | Fix invisible player when the attached entity is removed | TeTpaAka | 2015-07-18 |
| | |||
* | Fix some issues with animations, and allow non-looped animations to be defined | MirceaKitsune | 2015-06-22 |
| | |||
* | Ignore punches with no damage in the actionstream | SmallJoker | 2015-06-15 |
| | |||
* | Add minetest.register_on_player_hpchange | TeTpaAka | 2015-06-13 |
| | |||
* | Add some missing getter functions to the lua API | TeTpaAka | 2015-05-28 |
| | | | | | | | | | | | | | | | | | | | | | | | 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 | ||
* | Spare some string copies | est31 | 2015-05-27 |
| | |||
* | Generalize core.get/set_nametag_color into core.get/set_nametag_attributes | TeTpaAka | 2015-05-15 |
| | |||
* | Add minetest.register_on_punchplayer | Brandon | 2015-05-15 |
| | |||
* | Add get and set functions for the nametag color | TeTpaAka | 2015-05-15 |
| | |||
* | Move globals from main.cpp to more sane locations | Craig Robbins | 2015-04-01 |
| | | | | | | | | | | | | 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 | ||
* | Reset the old HP method on PlayerSAO::setHP | Loic Blot | 2015-03-19 |
| | |||
* | For usages of assert() that are meant to persist in Release builds (when ↵ | Craig Robbins | 2015-03-07 |
| | | | | NDEBUG is defined), replace those usages with persistent alternatives | ||
* | Remove Queue class which uses std::list and use native std::queue | Loic Blot | 2015-03-05 |
| | |||
* | Send Position packet on event, don't check it at each AsyncRunStep. | Loic Blot | 2015-03-04 |
| | | | | * This permit to cleanup the player checking loop | ||
* | Send Inventory packet on event, don't check it at each AsyncRunStep. | Loic Blot | 2015-03-04 |
| | | | | | | * 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 | ||
* | Remove unused m_wielded_item_not_sent | Loic Blot | 2015-03-03 |
| | |||
* | Send Breath packet on event, don't check it at each AsyncRunStep | Loic Blot | 2015-03-03 |
| | |||
* | Send Player HP when setHP (or a setHP caller) is called instead of looping ↵ | Loic Blot | 2015-03-03 |
| | | | | and testing the state change. | ||
* | SAO work: ActiveObject types & SAO cleanup * Replace u8 types with ↵ | Loic Blot | 2015-02-17 |
| | | | | ActiveObjectType. * Merge content_object.h into activeobject.h * Remove DummyLoadSAO, it's now unused. * Remove ItemSAO, it's also unused | ||
* | Fix all warnings and remove -Wno-unused-but-set cflag | kwolekr | 2015-01-18 |
| | |||
* | Replace setting unlimited_player_transfer_distance with player_transfer_distance | SmallJoker | 2014-11-08 |
| | |||
* | Split settings into seperate source and header files | ShadowNinja | 2014-09-21 |
| | | | | This also cleans up settings a bit | ||
* | Only keep players loaded while they're connected | ShadowNinja | 2014-06-23 |
| | |||
* | Pass arguments by reference | Selat | 2014-03-12 |
| | |||
* | Add sneak and sneak_glitch to set_physics_override() | PilzAdam | 2013-12-03 |
| | |||
* | Add offset to automatic_face_movement_dir | PilzAdam | 2013-09-10 |
| | |||
* | Send player damage to all clients and apply [brighten | PilzAdam | 2013-08-17 |
| | |||
* | Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu | Kahrl | 2013-08-14 |
| | |||
* | Add support for entities to automatic face movement direction | sapier | 2013-08-13 |
| | |||
* | Fix various memory access problems detected by valgrind | Kahrl | 2013-08-07 |
| | |||
* | Allow mods to listen to cheat detections using minetest.register_on_cheat() | Perttu Ahola | 2013-08-04 |
| | |||
* | Fix anticheat | Perttu Ahola | 2013-08-03 |
| | |||
* | Add support for setting stepheight for entities | sapier | 2013-07-30 |
| | |||
* | Add an option to disable object <-> object collision for Lua entities | PilzAdam | 2013-07-20 |
| | |||
* | Add set_breath and get_breath to lua API. | RealBadAngel | 2013-07-20 |
| | |||
* | Move scriptapi to separate folder (by sapier) | sapier | 2013-05-25 |
| | | | | | | | | | | | 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) | ||
* | Allow nil as puncher e.g. to do damage by tnt | sapier | 2013-05-20 |
| | |||
* | Move player collisionbox to player class | sapier | 2013-04-25 |
| | |||
* | fix objects colliding with its own collision boxes | sapier | 2013-04-09 |
| |