Commit graph

699 commits

Author SHA1 Message Date
Marcin Kurczewski
97f4b782ca tr2/viewport: fix fov cropping viewport
Resolves #2002.
2024-12-31 13:59:40 +01:00
lahm86
87ec227c8b tr2/music/music_main: play tracks regardless of volume
This ensures tracks will always be played even if the game is muted.

Resolves #2170.
2024-12-30 19:20:19 +00:00
lahm86
9a7ae35d8b 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.
2024-12-30 19:15:26 +00:00
Marcin Kurczewski
b8172c4af3 tr2/demo: fix demos playing too eagerly
Resolves #2068.
2024-12-30 15:31:01 +01:00
Marcin Kurczewski
f43393a199 tr2/input: add TR3+ sidesteps option
Resolves #2111.
2024-12-30 13:57:19 +01:00
Marcin Kurczewski
87eab42c8b tr2/effects: fix spawning air bubbles in fly state
Resolves #2115.
2024-12-30 13:53:05 +01:00
Marcin Kurczewski
39ee43b412 tr2/text: add user scaling 2024-12-30 13:00:07 +01:00
Marcin Kurczewski
2c344d8639 tr2/text: fix aspect ratio
Resolves #2012.
2024-12-30 13:00:07 +01:00
Marcin Kurczewski
c64944cf96 tr2/overlay: add user scaling to bars 2024-12-30 13:00:07 +01:00
Marcin Kurczewski
a3d3a51445 tr2/overlay: fix bar scaling
Resolves #2149.
2024-12-30 13:00:07 +01:00
Marcin Kurczewski
965cf41225 tr2/stats: fix assault course not being paused
Resolves #2153.
2024-12-30 12:13:44 +01:00
Marcin Kurczewski
f3bc0be68e tr2/stats: consolidate STATISTICS_INFO 2024-12-30 12:13:37 +01:00
lahm86
2d92771e2c tr2/lara/hair: add interpolation control
This improves the overall animation of Lara's hair to respond to
interpolated frames in her main animation.

Resolves #2094.
2024-12-28 21:47:17 +00:00
Marcin Kurczewski
26d1e0b01c cmd/demo: add demo_num argument 2024-12-28 18:04:43 +01:00
Marcin Kurczewski
f8bda9ed08 demo: make only esc and action interrupt the demos 2024-12-28 18:04:43 +01:00
lahm86
562a00736c tr2/camera: add underwater music control option
This mimics the underwater music config option in TR1 to give players
full control over the behaviour.

Resolves #1937.
2024-12-28 15:17:22 +00:00
lahm86
c6bb50947a tr2/flares: fix flare effects in shallow water
This ensures we test water height at a flare's exact positions rather
than using Lara's general room number, so to determine if bubbles
should spawn and how to play sound effects.

Resolves #1590.
2024-12-28 12:35:57 +00:00
lahm86
022747f376 tr2/lara/state: fix walk-run-jump breaking
This resets the jump lock when going from walking to running to fix
cases when previous RUN_START animations have been interrupted.

Resolves #1587.
2024-12-27 18:22:42 +00:00
lahm86
d6ad01862c tr2/camera: reset last camera on initialise
This resets the last camera on initialisation to prevent issues when
levels begin with an in-game cutscene and then immediately move to a
fixed camera.

Resolves #2129.
2024-12-27 18:19:24 +00:00
lahm86
f4eaeee8d8 tr2/objects/general/pickup: fix underwater pickup drift
Fixes Lara drifting when collecting underwater pickups to avoid pushing
her into walls.

Resolves #2096.
2024-12-27 14:16:03 +00:00
lahm86
dd3f977e5c tr2/gun: fix drawing flare during pickup
This prevents Lara gaining a free flare during the pickup animation.

Resolves #2123.
2024-12-27 14:16:03 +00:00
lahm86
4babf59330 tr2/lara/col: fix step glitch
This prevents Lara being pushed into walls if running up steps in a
certain way.

Resolves #2124.
2024-12-27 14:16:03 +00:00
lahm86
6e772bec75 tr2/lara/col: fix QWOP glitch
This prevents Lara entering the QWOP animation.

Resolves #2122.
2024-12-27 14:16:03 +00:00
Marcin Kurczewski
00d6fea120 tr2/fmv: add ability to turn fmvs off
Resolves #2110.
2024-12-26 23:44:19 +01:00
Marcin Kurczewski
16d55f94df effects: move Effect_ExplodingDeath to Item_Explode 2024-12-24 14:58:58 +01:00
Marcin Kurczewski
39b10a1876 effects: rename FX to EFFECT 2024-12-23 14:56:49 +01:00
Marcin Kurczewski
5c9936e2ee tr2/docs: update; remove progress 2024-12-23 14:56:49 +01:00
Marcin Kurczewski
27edc31c0a tr2: ditch .dll; use own .exe
Resolves #1694.
2024-12-23 14:56:49 +01:00
Marcin Kurczewski
f66960e11d tr2/vars: pull 2024-12-23 14:56:49 +01:00
Marcin Kurczewski
f24af0f951 tr2/render: pull private types 2024-12-23 14:56:49 +01:00
Marcin Kurczewski
08ba4b619b tr2/music: pull MUSIC_TRACK_ID 2024-12-23 14:56:49 +01:00
Marcin Kurczewski
f0fb228dee tr2/sound: pull SOUND_EFFECT_ID 2024-12-23 14:56:49 +01:00
Marcin Kurczewski
83854fae2a matrix: pull matrix types and vars 2024-12-23 14:56:49 +01:00
Marcin Kurczewski
4903256556 tr2/types: drop windows.h universal include
Makes the builds 30% faster.
2024-12-23 14:56:49 +01:00
Marcin Kurczewski
8047eb8eb7 tr2/types: drop PHD_ANGLE 2024-12-23 14:56:49 +01:00
Marcin Kurczewski
59bf9b31e0 misc: fix ricochet spelling 2024-12-22 22:39:23 +01:00
Marcin Kurczewski
36bbd6b1c4 tr2: port Secret2_Control 2024-12-22 22:39:23 +01:00
Marcin Kurczewski
a525981472 tr2: port GunFlash_Control 2024-12-22 22:39:23 +01:00
Marcin Kurczewski
6e789dc84d tr2: port Glow_Control 2024-12-22 22:39:23 +01:00
Marcin Kurczewski
e4eebb85e3 tr2: port General_Control 2024-12-22 22:39:23 +01:00
Marcin Kurczewski
9974327f90 tr2: port Copter_Control 2024-12-22 22:39:23 +01:00
Marcin Kurczewski
a393e205d5 tr2: port BigBowl_Control 2024-12-22 22:39:23 +01:00
Marcin Kurczewski
e97781cce9 tr2: port MiniCopter_Control 2024-12-22 22:39:23 +01:00
Marcin Kurczewski
933794795f tr2: port InitialiseFinalLevel 2024-12-22 22:39:23 +01:00
Marcin Kurczewski
be69126890 tr2: port FinalCutscene_Control 2024-12-22 22:39:23 +01:00
Marcin Kurczewski
9b2c0ff122 tr2: port Earthquake_Control 2024-12-22 22:39:23 +01:00
Marcin Kurczewski
80e19dd9df tr2: port SphereOfDoom_Draw 2024-12-22 22:39:23 +01:00
Marcin Kurczewski
23edc170cf tr2: port SphereOfDoom_Control 2024-12-22 22:39:23 +01:00
Marcin Kurczewski
a694c76849 tr2: port SphereOfDoom_Collision 2024-12-22 22:39:23 +01:00
Marcin Kurczewski
deaa4f3fb3 tr2: port ClockChimes_Control 2024-12-22 22:39:23 +01:00