- Fixed the wrong argument name for CreatureEffectX() function. (damage instead of velocity).
- Refactored ControlMissile().
- Added SHARD and BOMB missile control (also natla missile too).
- Refactored harpy a bit.
- Updated TargetVisible() and Targetable() using creature argument directly,
- Optimized Targetable() and TargetVisible()
- Added setBoneRotation() to ObjectInfo structure.
- Updated CalculateItemRotationToSurface() to take maxAngle, avoiding entities to go vertical when surface is 90°
- SetAnimation() check for animIndex first now to avoid using Objects[] array before the check
* Cubemap shadow WIP
* Fade out Point Light Shadow
* Fixed SpotLight Direction and Angle
Added Fadeout at the edges of Spot Light Cone
* Using Light.Out for Spot Light Projection Matrix
* Added Experimental Blob Shadows
* Fixed Crash with too many blob shadows.
Now using the 16 nearest spheres
* Remove long unused UNIT_SHADOW
* Fix merge
* Check cast shadows flag for dynamic shadows generation
* Make shadow spheres count customizable, add "shadows: all" setting
* Fix headers
* Fix copypaste error
* Fix shader compiling
* Format code, make subfunction for blobs rendering
Co-authored-by: Raildex <n@a>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
* Fix#500: "Throwing the torch while running will cause it to fall behind Lara"; make flare and torch dynamics control functions more similar; cleanup
* Fix#473: "Sound: Harpoon gun does not make shoot sfx for the 4th bolt"
* Possibly fix#492: "Landing on teeth spikes from falling not working as expected (either stuck in mid-air, or wrong animation)"
* Cleanup
* Update tr4_mutant.cpp and tr4_wild_boar.cpp
* Update tr4_sphinx.cpp
* Fix typo
* Fix torches and flares sliding around too much
* Tweak minimum jump splat speed
* Restore snap to height upon starting a slide
* Possibly fix minecart dismounts
* Fix merge error
* Simplified translation (#520)
* Simplify translation of items and vectors
* Update lara_one_gun.cpp
* Restore comments
* Reorder functions
* Restore a GetCollision() overload
* Rename stuff and upset everyone
* Rename many, many, many variables
* Add TranslateVector() overloads
* Simplify
* Update translation functions
* Rename
* Update trmath.cpp
* Fix typo
* Update trmath.cpp
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
* Use GetLaraInfo(); cleanup
* Minor flame_emitters.cpp cleanup
* Fix object ID error and convert to switch case
* Fix edge case of skewed movement angle on slopes; cleanup
* Prevent crouch roll while using binoculars
* TouchBits cleanup
* TR4 entity cleanup
* TR4 entity cleanup
* Partially fill out enums in tr4_skeleton.cpp; cleanup
* TouchJoints cleanup
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>