tr2/const: fix upside down frame when looking forward

This uses the same minimum head tilt value from TR1 to fix an upside
down frame when looking forward as far as possible.

Resolves #1594.
This commit is contained in:
lahm86 2024-12-30 15:36:35 +00:00
parent ce44c41d6e
commit 9a7ae35d8b
3 changed files with 3 additions and 1 deletions

View file

@ -19,6 +19,7 @@
- fixed Lara at times not being able to jump immediately after going from her walking to running animation (#1587)
- fixed bubbles spawning from flares if Lara is in shallow water (#1590)
- fixed flare sound effects not always playing when Lara is in shallow water (#1590)
- fixed looking forward too far causing an upside down camera frame (#1594)
- fixed software renderer not applying underwater tint (#2066, regression from 0.7)
- fixed some enemies not looking at Lara (#2080, regression from 0.6)
- fixed the camera getting stuck at the start of Home Sweet Home (#2129, regression from 0.7)

View file

@ -54,6 +54,7 @@ game with new enhancements and features.
- fixed a crash when trying to draw too many rooms at once
- fixed Lara prioritising throwing a spent flare while mid-air, so to avoid missing ledge grabs
- fixed Lara at times not being able to jump immediately after going from her walking to running animation
- fixed looking forward too far causing an upside down camera frame
- fixed the following floor data issues:
- **Opera House**: fixed the trigger under item 203 to trigger it rather than item 204
- **Wreck of the Maria Doria**: fixed room 98 not having water

View file

@ -74,7 +74,7 @@
#define HEAD_TURN (2 * PHD_DEGREE) // = 364
#define MAX_HEAD_TILT (22 * PHD_DEGREE) // = 4004
#define MIN_HEAD_TILT (-42 * PHD_DEGREE) // = -7644
#define MIN_HEAD_TILT (-35 * PHD_DEGREE) // = -6370
#define MAX_HEAD_ROTATION (44 * PHD_DEGREE) // = 8008
#define MIN_HEAD_ROTATION (-MAX_HEAD_ROTATION) // = -8008
#define HEAD_TURN_CAM (4 * PHD_DEGREE) // = 728