aboutsummaryrefslogtreecommitdiff
path: root/src/client/localplayer.cpp
AgeCommit message (Collapse)Author
2022-06-07Merge branch 'master' of https://github.com/minetest/minetestElias Fleckenstein
2022-06-03Remove obsolete eye_height related workaroundsfan5
This was added a long time ago in 42bbd5c9ae06a8d8ffb7915599097ead6f848755 and meant to fix prevent the view becoming black when jumping into a ceiling, this no longer happens today.
2022-05-17Merge branch 'master' of https://github.com/minetest/minetestElias Fleckenstein
2022-05-17Add spiderElias Fleckenstein
2022-03-14Fix footsteps for players whose collision box min y != 0 (#12110)Gregor Parzefall
2022-01-09Restore pass-through of direction keys (#11924)sfan5
This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable.
2021-10-01Split liquid_viscosity to liquid_viscosity and move_resistance (#10810)Wuzzy
2021-09-19Merge branch 'master' of https://github.com/minetest/minetestElias Fleckenstein
2021-08-30add airjump and remove unused headersMinetest-j45
2021-08-27Joystick sensitivity for player movement (#11262)NeroBurner
This commit deprecates the forward, backward, left, and right binary inputs currently used for player movement in the PlayerControl struct. In their place, it adds the movement_speed and movement_direction values, which represents the player movement is a polar coordinate system. movement_speed is a scalar from 0.0 to 1.0. movement_direction is an angle from 0 to +-Pi: FWD 0 _ LFT / \ RGT -Pi/2 | | +Pi/2 \_/ +-Pi BCK Boolean movement bits will still be set for server telegrams and Lua script invocations to provide full backward compatibility. When generating these values from an analog input, a direction is considered active when it is 22.5 degrees away from either orthogonal axis. Co-authored-by: Markus Koch <markus@notsyncing.net> Co-authored-by: sfan5 <sfan5@live.de>
2021-05-13Add minetest.get_send_speedElias Fleckenstein
2021-03-26Fix legit_speedElias Fleckenstein
2020-11-28Improved FreecamElias Fleckenstein
2020-11-28Merged MinetestElias Fleckenstein
2020-11-24Added AutoSlip (-> Credit to Code-Sploit)Elias Fleckenstein
2020-11-24Added JetPack and AutoHit (-> Credits to Code-Sploit and cora)Elias Fleckenstein
2020-11-04Revert "Make Lint Happy"Elias Fleckenstein
This reverts commit ad148587dcf5244c2d2011dba339786c765c54c4.
2020-11-04Make Lint HappyElias Fleckenstein
2020-10-05Added ESP, fixed Tracers, improved JesusElias Fleckenstein
2020-10-04Added Tracers, NoSlow and NoForceRotate; GUI Colors changedElias Fleckenstein
2020-09-09Darwin platform build fix (#10376)David CARLIER
the event header seemingly being generic with libevent thus renaming it. openal and opengl are deprecated on newer mac os releases thus suppressing the build warnings.
2020-07-31Added more cheatsElias Fleckenstein
2020-07-20Added EntitySpeedElias Fleckenstein
2020-06-07Reset touching_ground when in free_movesfan5
This corrects local player animation after enabling fly while standing on ground.
2020-05-29Add disable_jump check for the player's feetMoNTE48
2019-12-07Attachments: Fix interpolation from (0,0,0) after detachSmallJoker
GenericCAO::getPosition() did not take the camera offset into account LocalPlayer attachment cleanup: Use sane getParent() function Make that getPosition() (GenericCAO and LocalPlayer) always return the absolute position
2019-09-14LocalPlayer: Fix code-styleANAND
2019-09-14Fix LocalPlayer::isDead always returning false if player is immortalANAND
2019-08-20Disable autoforward if player is deadANAND
2019-08-10Merge pull request #8776 from osjc/FixGetNodeJozef Behran
Finish getNode cleanup
2019-08-10Implement adding velocity to player from Luasfan5
The intended usecase is knockback, but there's potential for more.
2019-06-10Add disable_jump to liquids and ladders (#7688)SmallJoker
Remove second nodedef check by improving the colliding node detection Also remove the 2nd check in old_move, correct standing node a bit
2019-05-21Make autoforward simulate the 'up' key (#8249)DS
2019-02-10Slippery: Do not apply when swimming (#8198)SmallJoker
2019-02-09Autojump: Disable in fly mode, support continuous forward (#8200)SmallJoker
Correctly disable in fly mode (issue #8199) Also autojump in continuous forward mode (issue #8201)
2018-12-31Extend pitch fly mode to swimming (#7943)random-geek
2018-12-01Added pitch fly mode (#7817)Gaƫl C
In pitch fly mode, you fly to the exact direction you are pointing at, using the forward key. Other move directions are also pitched accordingly. It allows smoother and more complex movements. Can be enabled/disabled by L key by default (set keymap_pitchfly in minetest.conf)
2018-11-28Move client-specific files to 'src/client' (#7902)Quentin Bazin
Update Android.mk Remove 'src/client' from include_directories