aboutsummaryrefslogtreecommitdiff
path: root/src/client/camera.cpp
AgeCommit message (Collapse)Author
2020-12-14Semi-transparent background for nametags (#10152)Zughy
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-05Apply camera smoothing to 'air stepheight' (#10025)Paramat
Recent changes to collision code have changed the behaviour of the 'touching_ground' bool in movement code. This had the effect of disabling camera smoothing when 'air stepheight' occurred when jumping onto a node while pressing forwards against the node, causing an unpleasant sharp camera movement. Rewrite the conditions for camera smoothing such that it is applied when jumping.
2020-05-14CSM: Bugfixes to camera:get_pos() and camera:get_fov()sfan5
closes #9857
2020-05-02set_fov: Add support for time-based transitions (#9705)ANAND
2020-04-19Reuse object_shader for "wielditem" and "item" entity drawtypes (#9537)Danila Shutov
2020-04-16Camera: Fix shooting line offsets (#9681)SmallJoker
Removes duplicated offset calculations from Game and use whatever the Camera class returns. This keeps the eye position nicely in sync, and gets rid of duplicated code.
2020-03-28Ignore near_plane setting on non-Android platforms (#8749)ANAND
Camera's near-plane will be hard-coded to 0.1 on all non-Android platforms. The upper-bound of this setting has been reduced to 0.25, as 0.5 is just way too high.
2020-03-08Improve arm physics (#9485)Jean-Patrick Guerrero
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-19Add support for per-player FOV overrides and multipliersAnand S
2019-09-14Load CSM environment after the restrictions are knownSmallJoker
Safety-guards for CSM callbacks to abort on a bad implementation Only run callbacks when the mods are loaded (and with it: builtin) Duplication checks inside constructors
2019-08-10Merge pull request #8776 from osjc/FixGetNodeJozef Behran
Finish getNode cleanup
2018-11-28Move client-specific files to 'src/client' (#7902)Quentin Bazin
Update Android.mk Remove 'src/client' from include_directories