Marcin Kurczewski
88f41c5a75
tr2/inventory: fix button mashing loading game instead of saving
...
Resolves #2863 .
2025-04-26 20:43:42 +03:00
Marcin Kurczewski
0ba717edd5
audio: fix clicks in sample decoding
...
Resolves #2846 .
2025-04-26 20:17:21 +03:00
Marcin Kurczewski
3696e84925
audio: split into smaller functions
2025-04-26 20:17:21 +03:00
Marcin Kurczewski
e439371c66
audio: fix wrong benchmark times
...
The decoder benchmark was formatting the wrong variable and produced
meaningless results in the logs.
2025-04-26 20:17:21 +03:00
Marcin Kurczewski
92ff6e12c7
game-strings: use OG JSON as a fallback in expansions
...
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / TR1 (Linux) (push) Waiting to run
Publish a pre-release / TR1 (Windows) (push) Waiting to run
Publish a pre-release / TR1 (Mac) (push) Waiting to run
Publish a pre-release / TR2 (Linux) (push) Waiting to run
Publish a pre-release / TR2 (Windows) (push) Waiting to run
Publish a pre-release / TR2 (Mac) (push) Waiting to run
Publish a pre-release / Create a prerelease (push) Blocked by required conditions
Resolves #2847 .
2025-04-26 17:55:25 +03:00
Marcin Kurczewski
73da4c2945
shell: do not create logs with --help
2025-04-26 17:53:26 +03:00
Marcin Kurczewski
dc41197cd6
shell: improve support for CLI options
...
- Adds documentation
- Adds a --help switch
- Tidies short/long option form conventions
2025-04-26 17:53:26 +03:00
lahm86
890c7f76bb
door: move door module to TRX
...
This moves the door module fully to TRX as the logic is identical in
both games.
2025-04-26 12:39:42 +01:00
lahm86
83ac9514cb
tr2/objects/door: prevent Lara voiding in closed doors
...
This uses the same approach as TR1 to avoid Lara voiding in closing/
closed doors that are not placed on portals.
Resovles #2848 .
2025-04-26 12:39:42 +01:00
Marcin Kurczewski
96b86b1605
docs/tr2: fix changelog merge mistake
2025-04-26 13:18:45 +02:00
Marcin Kurczewski
607ac811f0
tr2/viewport: fix screenshots at wrong resolution
...
Resolves #2845 .
2025-04-26 14:07:54 +03:00
lahm86
15b758c57d
items: replace items by index rather than room
...
Carried items use NO_ROOM so were not included when replacing guns
with ammo. This ensures everything is checked when replacing IDs.
Resolves #2850 .
Resolves #2856 .
2025-04-26 11:34:52 +01:00
Marcin Kurczewski
eec8f16d5f
tools: download GM assets too
2025-04-26 13:06:08 +03:00
Marcin Kurczewski
2536ff55c1
docs: fix formatting and mistyped option name
2025-04-26 12:26:50 +03:00
Marcin Kurczewski
10b9bcc780
option: port sound settings dialog to ui
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / Create a prerelease (push) Blocked by required conditions
Publish a pre-release / TR2 (Windows) (push) Waiting to run
Publish a pre-release / TR2 (Mac) (push) Waiting to run
Publish a pre-release / TR1 (Linux) (push) Waiting to run
Publish a pre-release / TR1 (Windows) (push) Waiting to run
Publish a pre-release / TR1 (Mac) (push) Waiting to run
Publish a pre-release / TR2 (Linux) (push) Waiting to run
2025-04-26 10:31:36 +03:00
Marcin Kurczewski
c00d0627cf
tr2: release 1.0.1
Publish a pre-release / TR1 (Linux) (push) Has been cancelled
Publish a pre-release / TR1 (Windows) (push) Has been cancelled
Publish a pre-release / TR1 (Mac) (push) Has been cancelled
Publish a pre-release / TR2 (Linux) (push) Has been cancelled
Publish a pre-release / TR2 (Windows) (push) Has been cancelled
Publish a pre-release / TR2 (Mac) (push) Has been cancelled
Run code linters / Run code linters (push) Has been cancelled
Publish a pre-release / Create a prerelease (push) Has been cancelled
2025-04-24 23:37:15 +02:00
Marcin Kurczewski
a6ebaf5c38
docs/tr2: release 1.0.1
2025-04-24 23:37:10 +02:00
Marcin Kurczewski
3acab0dc34
tr2/ui: improve graphic settings dialog sizing
...
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / TR1 (Linux) (push) Waiting to run
Publish a pre-release / TR1 (Windows) (push) Waiting to run
Publish a pre-release / TR1 (Mac) (push) Waiting to run
Publish a pre-release / TR2 (Linux) (push) Waiting to run
Publish a pre-release / TR2 (Windows) (push) Waiting to run
Publish a pre-release / TR2 (Mac) (push) Waiting to run
Publish a pre-release / Create a prerelease (push) Blocked by required conditions
Resolves #2841 .
2025-04-24 10:36:15 +03:00
lahm86
c590824944
game: prioritize save over load
...
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / TR1 (Linux) (push) Waiting to run
Publish a pre-release / TR1 (Windows) (push) Waiting to run
Publish a pre-release / TR1 (Mac) (push) Waiting to run
Publish a pre-release / TR2 (Linux) (push) Waiting to run
Publish a pre-release / TR2 (Windows) (push) Waiting to run
Publish a pre-release / TR2 (Mac) (push) Waiting to run
Publish a pre-release / Create a prerelease (push) Blocked by required conditions
This matches OG behaviour where save is preferred over load when both
inputs are detected on the same frame.
Resolves #2833 .
2025-04-23 21:43:08 +01:00
lahm86
f590c9243c
graphic_settings: add scroll wraparound option
...
This makes the scroll wraparound option available in both games'
graphics dialogs. TR1's dialog is also updated to allow scrolling until
such times as it's moved to the new UI framework.
Resolves #2834 .
2025-04-23 20:43:21 +01:00
lahm86
3030d694a5
tr2/shell: reload background image on aspect change
...
Resolves #2832 .
2025-04-23 20:40:01 +01:00
lahm86
4d36177247
tr2/shell: fix PSX FOV option not being applied immediately
...
Resolves #2831 .
2025-04-23 20:40:01 +01:00
lahm86
b935707b5b
tr2/option_controls: fix selected layout not saving
...
Resolves #2830 .
2025-04-23 20:40:01 +01:00
Marcin Kurczewski
4d5040d15c
misc: fix build warnings
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / TR1 (Linux) (push) Waiting to run
Publish a pre-release / TR1 (Windows) (push) Waiting to run
Publish a pre-release / TR1 (Mac) (push) Waiting to run
Publish a pre-release / TR2 (Linux) (push) Waiting to run
Publish a pre-release / TR2 (Windows) (push) Waiting to run
Publish a pre-release / TR2 (Mac) (push) Waiting to run
Publish a pre-release / Create a prerelease (push) Blocked by required conditions
2025-04-23 11:37:52 +02:00
Marcin Kurczewski
e22bf087f6
tr2: release 1.0
Publish a pre-release / TR1 (Linux) (push) Waiting to run
Publish a pre-release / TR1 (Windows) (push) Waiting to run
Publish a pre-release / TR1 (Mac) (push) Waiting to run
Publish a pre-release / TR2 (Linux) (push) Waiting to run
Publish a pre-release / TR2 (Windows) (push) Waiting to run
Publish a pre-release / TR2 (Mac) (push) Waiting to run
Publish a pre-release / Create a prerelease (push) Blocked by required conditions
Run code linters / Run code linters (push) Has been cancelled
2025-04-23 07:41:34 +02:00
Marcin Kurczewski
c7b5932b94
docs/tr2: release 1.0
2025-04-23 07:41:29 +02:00
Marcin Kurczewski
69b08d55ca
tr2/shell: center offscreen window on game launch
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / TR1 (Linux) (push) Waiting to run
Publish a pre-release / TR1 (Windows) (push) Waiting to run
Publish a pre-release / TR1 (Mac) (push) Waiting to run
Publish a pre-release / TR2 (Linux) (push) Waiting to run
Publish a pre-release / TR2 (Windows) (push) Waiting to run
Publish a pre-release / TR2 (Mac) (push) Waiting to run
Publish a pre-release / Create a prerelease (push) Blocked by required conditions
2025-04-22 23:50:14 +02:00
Marcin Kurczewski
169ee7603f
tr2/shell: allow negative window x,y
2025-04-22 23:50:14 +02:00
Marcin Kurczewski
4fa521d956
tr2/shell: fix support for dual monitors
...
Addresses #2820 .
2025-04-22 23:50:14 +02:00
Marcin Kurczewski
8133f72e20
tr2/shell: improve moving window around
2025-04-22 22:39:20 +02:00
Marcin Kurczewski
05876ba9c4
tr2: improve reacting to resizes
...
Addresses parts of #2820 .
2025-04-22 21:12:58 +02:00
Marcin Kurczewski
aaf58ba623
tr2: remove environment texture
...
It's not used at the moment.
2025-04-22 21:12:58 +02:00
Marcin Kurczewski
f8560b4fd5
ui: fix fader memory violation
...
Resolves #2821 .
2025-04-22 20:14:09 +02:00
Marcin Kurczewski
0adefabf41
data: use HD assets
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / TR1 (Linux) (push) Waiting to run
Publish a pre-release / TR1 (Windows) (push) Waiting to run
Publish a pre-release / TR1 (Mac) (push) Waiting to run
Publish a pre-release / TR2 (Linux) (push) Waiting to run
Publish a pre-release / TR2 (Windows) (push) Waiting to run
Publish a pre-release / TR2 (Mac) (push) Waiting to run
Publish a pre-release / Create a prerelease (push) Blocked by required conditions
2025-04-22 16:14:32 +02:00
lahm86
004e6b4b4a
gym: fix compiler warning
2025-04-22 11:54:01 +01:00
Marcin Kurczewski
953f30205e
build: offload binary assets to TRX-data
2025-04-22 12:37:43 +02:00
Marcin Kurczewski
b912917d81
build: skip installer builds for PRs
2025-04-22 11:54:31 +02:00
lahm86
e9c4404c5d
gym: calculate best time automatically
...
This removes the need to store the current best time as it is always
the first completed entry's time (or -1 if no completions).
Resolves #2812 .
2025-04-22 10:35:39 +01:00
Marcin Kurczewski
daf6dc3020
output: allow aspect-ratio specific images
2025-04-22 09:08:56 +02:00
Marcin Kurczewski
fbc26fcba6
docs: update logos
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / Build TR1 (push) Waiting to run
Publish a pre-release / Build TR2 (push) Waiting to run
Publish a pre-release / Create a prerelease (push) Blocked by required conditions
2025-04-21 18:38:40 +02:00
Marcin Kurczewski
e8ef98d893
inventory: merge g_Inv_Mode to libtrx
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / Build TR1 (push) Has been skipped
Publish a pre-release / Build TR2 (push) Has been skipped
Publish a pre-release / Create a prerelease (push) Has been skipped
2025-04-21 13:55:56 +02:00
Marcin Kurczewski
938dffddce
tr2/flares: fix thrown flares embedding in the ground
2025-04-21 12:16:44 +02:00
Marcin Kurczewski
0654940d6f
tr2/flares: fix flicker in 60 fps
...
Resolves #2806 . The OG mistakenly used the wrong arm (right instead of
left) to determine the flare light position in
`Lara_GetJointAbsPosition_I`. At 60 FPS, this mistake caused Lara's hand
position to appear significantly off from the expected location, which
coincidentally led to the flicker effect disappearing. While fixing the
bone did position Lara's hand correctly, it didn't bring back the
missing flicker at 60 FPS. In fact, it caused the flicker effect to
disappear at 30 FPS as well, making it static at both frame rates. It
turned out that although the game does randomize the position of the
flares' light source, it doesn't do so sufficiently. The primary cause
of the flickering was actually the randomness introduced by using the
incorrect bone. To restore the flicker effect to how it originally
appeared, I had to enhance the randomness of the flare's light position.
2025-04-21 10:38:36 +02:00
Marcin Kurczewski
9667be9f0e
tr1/output: fix splash and bubbles having UW tint
...
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / Build TR1 (push) Has been skipped
Publish a pre-release / Build TR2 (push) Has been skipped
Publish a pre-release / Create a prerelease (push) Has been skipped
Resolves #2793 .
2025-04-20 22:35:13 +02:00
Marcin Kurczewski
962a66a090
output: tidy shade constants
2025-04-20 21:58:51 +02:00
lahm86
cd67279fc7
tr2/objects/gondola: save gondola position
...
This updates gondola objects to have their positions saved in order to
be able to restore them correctly on load when they've been destroyed.
Legacy saves will ignore this.
Resolves #1612 .
2025-04-20 20:44:37 +01:00
Marcin Kurczewski
6e48174a92
config: fix assault course times reset on quit
...
Resolves #1578 .
2025-04-20 21:25:45 +02:00
Marcin Kurczewski
c2b005cec5
gym: improve ASSAULT_STATS structure
2025-04-20 21:25:45 +02:00
lahm86
ae37db2cf8
tr2/objects/boat: use const for Y shift
2025-04-20 19:41:03 +01:00
lahm86
0c0ce5bcf6
tr2/objects/boat: fix initial water height test
...
This fixes the boat's initial water height test when Lara is climbing
on to avoid tinting it unnecessarily.
Resolves #2787 .
2025-04-20 19:41:03 +01:00