mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Fix jittery camera when performing crawl-to-hang
This commit is contained in:
parent
59104e388b
commit
718bc86c4d
2 changed files with 12 additions and 10 deletions
|
@ -9,22 +9,23 @@ Version 1.3
|
|||
* Fix lack of water splash in certain scenarios.
|
||||
* Fix hydra flame not showing when charging.
|
||||
* Fix shockwave light for hammer god.
|
||||
* FIx camera shaking whilst in quicksand in some cases.
|
||||
* FIx camera shaking in some cases when the player is in quicksand
|
||||
* Fix certain flame emitter OCBs emitting fire in wrong directions.
|
||||
* FIx Lara not being able to pickup a torch whilst crouching.
|
||||
* Fix player not being able to pick up a torch when crouching.
|
||||
* Fix jittery camera when performing crawl-to-hang.
|
||||
* Separate underwater wall and ceiling switch objects into two slots each.
|
||||
* Improve fly cheat collision.
|
||||
* Add global events.
|
||||
* Add fast speed for fly cheat by holding Sprint input action.
|
||||
* Allow walking on slopes when wading in water (similar to quicksand rooms).
|
||||
* Allow Lara to pull certain levers with both hands whilst holding a flare.
|
||||
* Allow walking on slopes when wading in water (similar to quicksand).
|
||||
* Allow player to pull certain levers with both hands when holding a flare.
|
||||
* Port twin auto gun from TR3.
|
||||
* Add speedometer for vehicles such as: motorbike, Jeep.
|
||||
* Accurately rotate display sprites around their pivot.
|
||||
* Slightly revise keyhole OCB to account for either keeping or losing the key:
|
||||
- Positive OCB - play anim number and keep key in inventory.
|
||||
- Negative OCB - play anim number and loose key in inventory.
|
||||
- OCB 0 - play default animation and loose the key in inventory
|
||||
* Add speedometer to vehicles.
|
||||
* Accurately rotate display sprites around the pivot defined by the align mode.
|
||||
* Revise keyhole OCBs to account for keeping or losing keys:
|
||||
- Positive OCB: play anim number and keep key.
|
||||
- Negative OCB: play anim number and lose key.
|
||||
- OCB 0 - play default animation and lose key.
|
||||
|
||||
Lua API changes:
|
||||
* Add Lara:GetInteractedMoveable() which returns currently interacted moveable by Lara.
|
||||
|
|
|
@ -873,6 +873,7 @@ void lara_col_crawl_to_hang(ItemInfo* item, CollisionInfo* coll)
|
|||
coll->Setup.EnableSpasm = false;
|
||||
Camera.targetAngle = 0;
|
||||
Camera.targetDistance = BLOCK(1);
|
||||
Camera.flags = CF_FOLLOW_CENTER;
|
||||
|
||||
ResetPlayerLean(item, 1 / 6.0f);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue