aboutsummaryrefslogtreecommitdiff
path: root/src/client/content_cao.cpp
Commit message (Collapse)AuthorAge
* Fix automatic rotate for attached entities (#12392)Lars Müller2022-07-17
|
* Release shadow mapping resources when not needed (#12497)x20482022-07-09
|
* Remove an unused method and header includessfan52022-06-28
|
* Re-order sound-related code (#12382)SmallJoker2022-06-20
| | | | | | | | Dropped ServerSoundParams -> moved to ServerPlayingSound. This gets rid of the duplicated 'fade' and 'pitch' values on server-side where only one was used anyway. SimpleSoundSpec is the basic sound without positional information, hence 'loop' is included. Recursively added PROTOCOL_VERSION to most functions to reduce the versioning mess in the future. Per-type version numbers are kept for now as a safety rope in a special case.
* Fix CAO light calculation issuesfan52022-06-19
|
* Fix updating glow on entitiessfan52022-06-17
| | | | was broken in #10021 more than 2 years ago(!)
* Fix lighting of upright_sprite entities (#12336)x20482022-05-20
| | | Use MeshNode materials to set the light since ReadOnlyMaterials is now false
* Deal with compiler warningssfan52022-04-30
|
* upright_sprite: Fix walk animation in first person (#12194)SmallJoker2022-04-15
|
* Fix shadows for upright sprite nodesDmitry Kostenko2022-03-07
| | | | | Avoid using read only materials in mesh scene node, as it confuses shadow renderer.
* Improve lighting of entities.Dmitry Kostenko2022-03-07
| | | | | Pass correct natural & artificial light to the shaders Use natural/artificial light ratio for correct rendering of shadows
* Render shadows on entities.Dmitry Kostenko2022-03-07
| | | | Fixes problem with mod 'drawers'.
* Fix local animation not instantly updating after being setsfan52022-01-19
|
* Cap damage overlay duration to 1 second (#11871)Wuzzy2022-01-02
|
* Recalculate normals before adding mesh to the scenex20482022-01-02
|
* Fix various code & correctness issues (#11815)sfan52021-12-05
|
* Add backwards-compatible behaviour if too few CAO textures specifiedsfan52021-11-22
| | | (#11766)
* Fix local digging animation (#11772)savilli2021-11-19
|
* Fix number of tool uses being off by 1..32767 (#11110)Wuzzy2021-10-31
|
* Add no_texture.png as fallback for unspecified texturesWuzzy2021-10-20
|
* Joystick sensitivity for player movement (#11262)NeroBurner2021-08-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Start sprite animation at the beginning (#11509)Lean Rada2021-08-16
| | | When setting a sprite animation, do not keep the last animation's frame number. Setting a new animation should start the animation at the start of the new animation.
* Remove unused ITextSceneNode header (#11476)hecks2021-07-22
| | | Co-authored-by: hecktest <>
* Shadow mapping render pass (#11244)Liso2021-06-06
| | | Co-authored-by: x2048 <codeforsmile@gmail.com>
* Fix procession ordering issue in content_caosfan52021-05-30
|
* fix: some code tidy about includes & irr namespacesLoic Blot2021-05-03
|
* refacto: don't use RenderingEngine singleton on CAOLoic Blot2021-05-03
| | | | | | * 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
* Irrlicht support code maintenancesfan52021-03-31
|
* Add nametag background setting and object property (#10937)rubenwardy2021-02-17
|
* Fix some minor code issues all over the placesfan52020-12-24
|
* Fix player sprite visibility in first personsfan52020-11-12
| | | | closes #10525
* Fix overloaded virtual warnings with get/setAttachment()sfan52020-11-12
|
* ContentCAO: Fix segfault when minimap is disabledSmallJoker2020-11-08
|
* Revert "Fix short 180 degree rotation when using set_bone_position (#10405)" ↵Lars Müller2020-11-04
| | | | | (#10534) This reverts commit 0f98b54aa4b2361575002d92b29fe222703ba557.
* Fix show_on_minimap default value for local playersfan52020-10-20
| | | | fixes #10526
* Decouple entity minimap markers from nametags replacing with show_on_minimap ↵sfan52020-10-19
| | | | property (#10443)
* Add First Person Attachments (#10360)Jordan Snelling2020-10-04
| | | | | | Fixes some other third person camera specific attachments. Implements a single new flag for entities to be forced visible in first person mode. Old mods do not need to be updated to use the new flag and are fully backwards compatible.
* Fix short 180 degree rotation when using set_bone_position (#10405)Lars Müller2020-10-04
|
* (se)SerializeString: Include max length in the nameSmallJoker2020-10-01
| | | | | | | This commit clarifies the maximal length of the serialized strings. It will avoid accidental use of serializeString() when a larger string can be expected. Removes unused Wide String serialization functions
* Allow binding dig, place actions to keys; remove LMB/RMB hardcodingANAND2020-08-15
| | | | Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
* content_cao: Support texture animation for upright_sprite (#10020)sfan52020-07-30
|
* Fix bone-attached entities (#10015)hecktest2020-06-26
|
* content_cao: Fix behavior of legacy "textures" field for wielditemssfan52020-06-18
|
* Make shading of CAOs optional (#10033)Danila Shutov2020-06-16
|
* Use multiple light positions for CAO lightingsfan52020-06-11
|
* content_cao: Do not expire visuals for texture updatessfan52020-06-11
|
* Fix player-to-object attachment teleport bug (#10008)hecktest2020-06-09
| | | | | | Fixes two bugs: * The camera offset was not applied to an object while detaching, briefly placing the irrlicht matrixnode in world space. * When attaching, the matrixnode's absolute position was evaluated without evaluating the parent first, resulting in zeroed positions.
* Recalculate mesh normals for CAOs (#10000)Danila Shutov2020-06-07
|
* GenericCAO: Fix glow not working since a08d18aSmallJoker2020-06-07
|
* Move shared parameters sending to UnitSAO (#9968)SmallJoker2020-06-04
| | | | | | Better header sorting by topic Make UnitSAO-specific parameters private Skip redundant recursive entity sending code (since ~5.2.0)