aboutsummaryrefslogtreecommitdiff
path: root/src/client/camera.cpp
Commit message (Collapse)AuthorAge
* Fix lighting of the wield mesh (#12341)x20482022-05-20
| | | | | * Assign node light to player before final color blend. Fixes day/night lightbank ratio for wield meshes * Update wield mesh light when changing mesh
* Rework drawtime and related timekeeping code to use microsecondssfan52022-01-27
|
* Localize error messages in mainmenu (#11495)Riceball LEE2021-11-01
| | | | Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Limit stepheight smoothing to the stepheight and stop smoothing during jumps ↵Jude Melton-Houghton2021-10-25
| | | | (#11705)
* Fix view bobbing not resetting when restingLars Müller2021-10-20
| | | partially fixes #11694, also fixes #11692
* Various code improvementsSmallJoker2021-09-27
| | | | | * Camera: Fix division by 0 after view bobbing * Remove ignored constness * Connection: Improve window size range limits
* refacto: protect some RenderingEngine::get_scene_managerLoic Blot2021-05-03
| | | | | * protect it from Camera, Sky, ClientMap object calls * rename Game::sky to Game::m_sky
* refacto: RenderingEngine is now better hiddenLoic Blot2021-05-03
| | | | | | | | | | * No more access to the singleton instance from everywhere (RenderingEngine::get_instance dropped) * RenderingEngine::get_timer_time is now non static * RenderingEngine::draw_menu_scene is now non static * RenderingEngine::draw_scene is now non static * RenderingEngine::{initialize,finalize} are now non static * RenderingEngine::run is now non static * RenderingEngine::getWindowSize now have a static helper. It was mandatory to hide the global get_instance access
* GUIScene: Clear depth buffer + replace deprecated clearZBuffer callsJean-Patrick Guerrero2021-03-16
|
* Add nametag background setting and object property (#10937)rubenwardy2021-02-17
|
* Semi-transparent background for nametags (#10152)Zughy2020-12-14
|
* Darwin platform build fix (#10376)David CARLIER2020-09-09
| | | | 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.
* Apply camera smoothing to 'air stepheight' (#10025)Paramat2020-07-05
| | | | | | | | 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.
* CSM: Bugfixes to camera:get_pos() and camera:get_fov()sfan52020-05-14
| | | closes #9857
* set_fov: Add support for time-based transitions (#9705)ANAND2020-05-02
|
* Reuse object_shader for "wielditem" and "item" entity drawtypes (#9537)Danila Shutov2020-04-19
|
* Camera: Fix shooting line offsets (#9681)SmallJoker2020-04-16
| | | | 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.
* Ignore near_plane setting on non-Android platforms (#8749)ANAND2020-03-28
| | | 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.
* Improve arm physics (#9485)Jean-Patrick Guerrero2020-03-08
|
* Attachments: Fix interpolation from (0,0,0) after detachSmallJoker2019-12-07
| | | | | | 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
* Add support for per-player FOV overrides and multipliersAnand S2019-09-19
|
* Load CSM environment after the restrictions are knownSmallJoker2019-09-14
| | | | | | | 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
* Merge pull request #8776 from osjc/FixGetNodeJozef Behran2019-08-10
| | | Finish getNode cleanup
* Move client-specific files to 'src/client' (#7902)Quentin Bazin2018-11-28
Update Android.mk Remove 'src/client' from include_directories