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
Marcin Kurczewski
747f0af086
ui/stats: fix assault course dialog
2025-04-20 19:19:33 +02:00
Marcin Kurczewski
f29e30ffe2
ui/requester: fix scrolling for nonselectable dialogs
2025-04-20 19:19:33 +02:00
Marcin Kurczewski
d8b83e4747
gym: move to trx
2025-04-20 19:19:33 +02:00
Marcin Kurczewski
7a4e188eaa
misc: remove REQUEST_INFO
2025-04-20 17:07:49 +02:00
Marcin Kurczewski
33617deba7
ui: port play any level dialog to trx
2025-04-20 17:07:49 +02:00
Marcin Kurczewski
f23a777f64
ui: move select level dialog to libtrx
2025-04-20 17:07:49 +02:00
Marcin Kurczewski
7f574c9448
ui: merge save slot dialog via libtrx
2025-04-20 17:07:49 +02:00
Marcin Kurczewski
db94669ae4
tr2: move scaler to libtrx
2025-04-20 17:07:49 +02:00
Marcin Kurczewski
f04a18f208
tr2/ui: port save/load dialog to ui
2025-04-20 17:07:49 +02:00
Marcin Kurczewski
ef72c674b3
tr2/ui: improve window decoration margins
2025-04-20 17:07:49 +02:00
Marcin Kurczewski
34a93057c2
ui/label: allow null text
2025-04-20 17:07:49 +02:00
lahm86
e7fb4616e8
docs: update docs for hotkeys fix
...
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
Re #2797 , which was fixed in 0.6.
2025-04-20 15:06:28 +01:00
lahm86
a2be75c8e8
objects: use common approach for extra bone rotation
...
This removes duplicated logic for applying extra rotations to animation
bones.
2025-04-20 13:57:58 +01:00
lahm86
5f7bab0dd9
tr2/data: add missing 8 bit textures
...
This restores 8-bit textures for those injections in TR2 where models
are replaced or inserted.
Resolves #2792 .
2025-04-20 13:04:22 +01:00
lahm86
092fe1dc70
console/pos: show flipped room when applicable
...
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
If Lara is in a room and the flipmap is on, the console will now report
the flipped room's number when using the pos command.
Resolves #2487 .
2025-04-19 22:56:09 +01:00
lahm86
51af4233be
console/teleport: pass room numbers when known
...
This updates the teleporting logic to pass room number to Lara's
teleport function when they are already known, rather than finding
rooms by position in all cases. This may result in telporting to
positions (i.e. with no rooms) being less lenient when overlapping
rooms are involved.
Resolves #2486 .
2025-04-19 22:56:09 +01:00
Marcin Kurczewski
f688f5c06c
tr1/ui: fix loading from empty slots
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-19 22:03:16 +02:00
Marcin Kurczewski
9ee04f9c41
ui: fix flash not working
2025-04-19 21:42:19 +02:00
Marcin Kurczewski
411c3443df
ui/stack: fix scaling row gaps
2025-04-19 20:49:34 +02:00
Marcin Kurczewski
a8ed69f769
tr1/ui: port save/load dialog to ui
2025-04-19 20:49:34 +02:00
Marcin Kurczewski
5dae2f9807
tr1/ui: port select level dialog to ui
2025-04-19 20:49:34 +02:00
Marcin Kurczewski
b6d79fe2ef
ui/stack: only spread gaps on ALIGN_*_DISTRIBUTE
2025-04-19 20:49:34 +02:00
Marcin Kurczewski
b7144b7dbe
ui/requester: add optional scroll indicators
2025-04-19 20:49:34 +02:00
Marcin Kurczewski
eb4606cc8d
ui/requester: add optional reserving of space
2025-04-19 20:49:34 +02:00
Marcin Kurczewski
0676fbdd4d
ui/requester: fix clamping
...
Fixes the selection outline disappearing for a single frame when
navigating beyond the last visible row.
2025-04-19 20:49:34 +02:00
Marcin Kurczewski
83bee31c0c
ui/requester: fix visible row count
...
The mistaken logic would cause the requester to sometimes display one
extra row, depending on the API usage.
2025-04-19 20:49:34 +02:00
Marcin Kurczewski
009c0b003c
ui/pad: fix calculating right and bottom margins
2025-04-19 20:49:34 +02:00
Marcin Kurczewski
c239b1124d
ui: add fixed element
2025-04-19 20:49:34 +02:00