Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minimap: Add new HUD flag for minimap radar mode | paramat | 2017-08-20 | 1 | -1/+2 |
| | | | | | Flag default is true to not change default behaviour. The existing minimap HUD flag remains the master control for minimap. | ||||
* | Cpp11 patchset 11: continue working on constructor style migration (#6004) | Loïc Blot | 2017-06-18 | 1 | -5/+1 |
| | |||||
* | Wieldhand: Allow overriding the hand | TeTpaAka | 2016-11-26 | 1 | -0/+1 |
| | |||||
* | PlayerSAO/LocalPlayer refactor: (#4612) | Ner'zhul | 2016-10-30 | 1 | -13/+1 |
| | | | | | | | | | | | | | | | | | * Create UnitSAO, a common part between PlayerSAO & LuaEntitySAO * Move breath to PlayerSAO & LocalPlayer * Migrate m_yaw from (Remote)Player & LuaEntitySAO to UnitSAO * Migrate m_yaw from Player to LocalPlayer for client * Move some functions outside of player class to PlayerSAO/RemotePlayer or LocalPlayer depending on which class needs it * Move pitch to LocalPlayer & PlayerSAO * Move m_position from Player to LocalPlayer * Move camera_barely_in_ceiling to LocalPlayer as it's used only there * use PlayerSAO::m_base_position for Server side positions * remove a unused variable * ServerActiveObject::setPos now uses const ref * use ServerEnv::loadPlayer unconditionnaly as it creates RemotePlayer only if it's not already loaded * Move hp from Player to LocalPlayer * Move m_hp from LuaEntitySAO to UnitSAO * Use m_hp from PlayerSAO/UnitSAO instead of RemotePlayer | ||||
* | Move RemotePlayer code to its own cpp/header | Loic Blot | 2016-10-08 | 1 | -206/+0 |
| | |||||
* | RemotePlayer/LocalPlayer Player base class proper separation (code cleanup) ↵ | Loic Blot | 2016-10-08 | 1 | -94/+82 |
| | | | | | | | | | | | | (patch 3 of X) * remove IGameDef from Player class, only LocalPlayer has it now * move many attributes/functions only used by LocalPlayer from Player to LocalPlayer * move many attributes/functions only used by RemotePlayer from Player to RemotePlayer * make some functions const * hudGetHotbarSelectedImage now returns const ref * RemotePlayer getHotbarSelectedImage now returns const ref * various code style fixes | ||||
* | Chat: new settings to prevent spam | Loic Blot | 2016-10-05 | 1 | -1/+55 |
| | | | | | | | | | | | Added the following chat coreside features * Chat messages length limit * Message rate limiting * Message rate kicking Note: * handleChat now takes RemotePlayer pointer instead of u16 to remove useless lookups | ||||
* | Fix player teleportation bug whilst sneaking | HybridDog | 2016-03-14 | 1 | -0/+1 |
| | | | | | Only set back position when sneaking if player wasn't teleported by adding and using a bool "got_teleported" to player it fixes #2876 | ||||
* | Player::accelerateHorizontal/Vertical should be member of LocalPlayer | Loic Blot | 2016-02-14 | 1 | -35/+0 |
| | |||||
* | Get movement setting instead of hard coded value | asl97 | 2015-12-15 | 1 | -0/+17 |
| | |||||
* | Clean up threading | ShadowNinja | 2015-08-23 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | * Rename everything. * Strip J prefix. * Change UpperCamelCase functions to lowerCamelCase. * Remove global (!) semaphore count mutex on OSX. * Remove semaphore count getter (unused, unsafe, depended on internal API functions on Windows, and used a hack on OSX). * Add `Atomic<type>`. * Make `Thread` handle thread names. * Add support for C++11 multi-threading. * Combine pthread and win32 sources. * Remove `ThreadStarted` (unused, unneeded). * Move some includes from the headers to the sources. * Move all of `Event` into its header (allows inlining with no new includes). * Make `Event` use `Semaphore` (except on Windows). * Move some porting functions into `Thread`. * Integrate logging with `Thread`. * Add threading test. | ||||
* | minimap: Add ability to disable from server | kwolekr | 2015-08-13 | 1 | -4/+6 |
| | |||||
* | Optional reconnect functionality | est31 | 2015-07-23 | 1 | -0/+1 |
| | | | | | | Enable the server to request the client to reconnect. This can be done with the now extended minetest.request_shutdown([reason], [reconnect]) setting. | ||||
* | Remove profiler.h include where it's not needed. Remove some unreachable and ↵ | Loic Blot | 2015-07-21 | 1 | -30/+1 |
| | | | | very old code | ||||
* | Add list-rings | est31 | 2015-06-16 | 1 | -0/+1 |
| | | | | | | | Adds list-rings, a method to implement item sending between inventories via shift-click. Nice insider feature: a ring consisting of a single inventory list serves as nice clean-up method. Also adds them to minimal game, and the standard inventory. Craft output slots are not supported. | ||||
* | Fix uninitialized variable Player::local_animation_speed | Loic Blot | 2015-03-28 | 1 | -0/+1 |
| | |||||
* | Player: Fix a deadlock triggered by previous commit ↵ | Loic Blot | 2015-03-22 | 1 | -0/+2 |
| | | | | 0e5e49736c0a5fa29bca257bafc02d7c7a7171c9 | ||||
* | Protect Player::hud from concurrent modifications | Loic Blot | 2015-03-22 | 1 | -0/+7 |
| | | | | Sometimes HUD can be modified by ServerThread and EmergeThread results in a crash on client side because the HUD is not correct | ||||
* | Give full breath after death | SmallJoker | 2015-02-05 | 1 | -3/+3 |
| | |||||
* | Implement WieldMeshSceneNode which improves wield mesh rendering | Kahrl | 2014-11-08 | 1 | -1/+0 |
| | | | | | | | | | | | | | - 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. | ||||
* | Make players check inventory modification properly | ShadowNinja | 2014-10-01 | 1 | -4/+4 |
| | |||||
* | Simplify player modification checks | ShadowNinja | 2014-10-01 | 1 | -12/+11 |
| | |||||
* | Split settings into seperate source and header files | ShadowNinja | 2014-09-21 | 1 | -13/+9 |
| | | | | This also cleans up settings a bit | ||||
* | Fix memory leaks in GenericCAO, ShaderSource and Player classes | sapier | 2014-07-02 | 1 | -0/+1 |
| | |||||
* | Make player files saving again | SmallJoker | 2014-06-29 | 1 | -0/+1 |
| | |||||
* | Store the maximum player file tries in a constant | ShadowNinja | 2014-06-23 | 1 | -1/+1 |
| | |||||
* | Only try to load from possible player files | ShadowNinja | 2014-06-23 | 1 | -40/+21 |
| | |||||
* | Only keep players loaded while they're connected | ShadowNinja | 2014-06-23 | 1 | -0/+67 |
| | |||||
* | Small cleanup of hud add/remove code | sapier | 2014-05-31 | 1 | -7/+39 |
| | |||||
* | Prevent player jumping into nodes from below | BlockMen | 2014-01-16 | 1 | -1/+1 |
| | | | | Fixes camera glitch and cheating at drowning | ||||
* | Add sneak and sneak_glitch to set_physics_override() | PilzAdam | 2013-12-03 | 1 | -3/+5 |
| | |||||
* | Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu | Kahrl | 2013-08-14 | 1 | -1/+0 |
| | |||||
* | Fix various memory access problems detected by valgrind | Kahrl | 2013-08-07 | 1 | -0/+4 |
| | |||||
* | Add set_breath and get_breath to lua API. | RealBadAngel | 2013-07-20 | 1 | -2/+8 |
| | |||||
* | Dont write player files all the time | PilzAdam | 2013-06-28 | 1 | -1/+10 |
| | |||||
* | Print playername when failing to read playerfile and ignore files starting ↵ | PilzAdam | 2013-06-22 | 1 | -2/+2 |
| | | | | with . | ||||
* | Add drowning | PilzAdam | 2013-06-19 | 1 | -1/+3 |
| | |||||
* | Add ObjectRef.hud_set_hotbar_itemcount and add TOCLIENT_HUD_SET_PARAM | Kahrl | 2013-05-26 | 1 | -0/+2 |
| | |||||
* | Generalize hud_builtin_enable into hud_set_flags | kwolekr | 2013-04-25 | 1 | -19/+17 |
| | |||||
* | Move player collisionbox to player class | sapier | 2013-04-25 | 1 | -1/+2 |
| | |||||
* | Added support to disable built-in HUD elements | Diego Martínez | 2013-04-24 | 1 | -0/+6 |
| | |||||
* | Allow modifying movement speed, jump height and gravity per-player via the ↵ | MirceaKitsune | 2013-04-05 | 1 | -0/+5 |
| | | | | Lua API. | ||||
* | Update Copyright Years | Sfan5 | 2013-02-24 | 1 | -1/+1 |
| | |||||
* | Change Minetest-c55 to Minetest | PilzAdam | 2013-02-24 | 1 | -1/+1 |
| | |||||
* | Some kind of middleway values for player acceleration for now | Perttu Ahola | 2013-02-15 | 1 | -3/+3 |
| | |||||
* | Restore old acceleration behavior until something is actually agreed on (part 2) | Perttu Ahola | 2013-02-15 | 1 | -3/+3 |
| | |||||
* | Improved Player Physics | MirceaKitsune | 2013-02-14 | 1 | -8/+50 |
| | |||||
* | Add InventoryList width property & allow custom crafting grids. | Ilya Zhuravlev | 2012-09-01 | 1 | -1/+2 |
| | |||||
* | minetest.register_on_player_receive_fields() | Perttu Ahola | 2012-07-22 | 1 | -1/+1 |
| | |||||
* | Allow defining player's inventory form in Lua | Perttu Ahola | 2012-07-19 | 1 | -0/+7 |
| |