aboutsummaryrefslogtreecommitdiff
path: root/src/client/clientenvironment.h
AgeCommit message (Collapse)Author
2023-01-06Add dynamic exposure correction (#12959)x2048
* Add uniform for frame delta time * Adjust exposure in logarithmic (EV) space * Add network support and LUA API * Add testing mod
2022-09-27Pause shader animation timer in singleplayer pause menu (#12766)DS
Co-authored-by: sfan5 <sfan5@live.de>
2022-08-13Reduce the use of porting::getTimeMs() when rendering frames (#12679)x2048
* Avoid calling TimeTaker too frequently in renderMapXXX * Calculate animation timer once per frame * Remove code that breaks rendering frame at 2000ms Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: sfan5 <sfan5@live.de>
2019-10-02Attachments: Fix attachments to temporary removed objects (#8989)SmallJoker
Does not clear the parent's attachment information when the child is deleted locally. Either it was removed permanently, or just temporary - we don't know, but it's up to the server to send a *detach from child" packet for the parent.
2019-07-29ContentCAO: Fix broken attachments on join (#8701)SmallJoker
What happened: 1) Object data is received. Client begins to read the data 2) Client initializes all its children (gob_cmd_update_infant) 3) Children try to attach to parent (yet not added) 4) Parent initializes, is added to the environment And somewhere in between, Irrlicht wrecks up the attachments due to the missing matrix node. The solution here is to: 1) Use the same structure as ServerActiveObject 2) Attach all children after the parent is really initialized
2019-02-10Consistent HP and damage types (#8167)SmallJoker
Remove deprecated HUDs and chat message handling. Remove unused m_damage variable (compat break). HP: s32 for setter/calculations, u16 for getter.
2018-12-13Add an activeobject manager to hold active objects (#7939)Loïc Blot
* Add an activeobject manager to hold active objects * Add unittests
2018-11-28Move client-specific files to 'src/client' (#7902)Quentin Bazin
Update Android.mk Remove 'src/client' from include_directories