aboutsummaryrefslogtreecommitdiff
path: root/src/client/clientobject.h
AgeCommit message (Collapse)Author
2021-05-03fix: some code tidy about includes & irr namespacesLoic Blot
2021-05-03refacto: don't use RenderingEngine singleton on CAOLoic Blot
* we don't need on CAO side more than SceneManager, and temporary. Pass only required SceneManager as a parameter to build CAO and add them to the current scene * Use temporary the RenderingEngine singleton from ClientEnvironment, waitfor for better solution * Make ClientActiveObject::addToScene virtual function mandatory to be defined by children to ensure we don't forget to properly define it
2020-06-11Use multiple light positions for CAO lightingsfan5
2020-06-01ContentCAO: Update light of all attached entities (#9975)SmallJoker
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-08-31clientobject.h: Fix code-styleANAND
2019-08-31Fix rotation of attached particlespawnerPedro Gimeno
Co-authored-by: ANAND <ClobberXD@gmail.com>
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-07-16Optimize getting active objects a bit. #8674Lars Hofhansl
2018-11-28Move client-specific files to 'src/client' (#7902)Quentin Bazin
Update Android.mk Remove 'src/client' from include_directories