Commit graph

291 commits

Author SHA1 Message Date
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
Some checks are pending
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
lahm86
c590824944 game: prioritize save over load
Some checks are pending
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
Marcin Kurczewski
953f30205e build: offload binary assets to TRX-data 2025-04-22 12:37:43 +02:00
Marcin Kurczewski
daf6dc3020 output: allow aspect-ratio specific images 2025-04-22 09:08:56 +02:00
Marcin Kurczewski
fbc26fcba6 docs: update logos
Some checks are pending
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
lahm86
092fe1dc70 console/pos: show flipped room when applicable
Some checks are pending
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
lahm86
fa5a4f118b objects/movable_block: fix angle resetting and snapping
This restores pushblock angles after performing collision tests, and
also snaps them to the grid on initialisation if a builder places them
at non 90 degree angles to avoid instead snapping during collision.

Resolves #2776.
2025-04-19 19:03:30 +01:00
Marcin Kurczewski
77fdc9f589 tr1/output: use water tint for underwater pickups
Resolves #2673.
2025-04-18 20:16:31 +02:00
Marcin Kurczewski
0fc11f401b tr1/game-flow: fix story so far not playing cafe.rpl
Resolves #2779.
2025-04-18 17:24:54 +02:00
Marcin Kurczewski
01b2d37fdc tr1/game-flow: fix story so far showing up in UB
Some checks are pending
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 #2611.
2025-04-18 14:55:28 +02:00
Marcin Kurczewski
dfa3797b87 ui2: port stats dialogs 2025-04-18 10:53:35 +02:00
Marcin Kurczewski
7bf7c2e6b5 ui2: port pause exit dialog 2025-04-18 10:53:35 +02:00
lahm86
53c86b315e room: ignore tilts in walls for the camera
OG levels contain no-space (tilt FD entries in walls), which can cause
checks against NO_HEIGHT to yield inaccurate results. No-space is used
in glitched playthroughs, but this change ensures that NO_HEIGHT is
respected when the camera is involved.

Resolves #2764.
2025-04-15 06:42:32 +01:00
lahm86
3e39a090f7 tr1/data: fix enemy death SFX
This fixes the panther and skate kid's death SFX

Resolves #2647.
2025-04-13 18:06:50 +01:00
lahm86
b851487296 data: fix pickup mesh scales
This fixes the pickup mesh scales for the keys in Folly and
miscellaneous pickups in The Golden Mask.

Resolves #2652.
2025-04-13 18:06:50 +01:00
lahm86
85a3d6cb98 creature: set TR1 enemy room number above position
This uses the same approach as TR2 to set an enemy's room number
slightly above their position, so that one click water does not produce
a tint and to allow sound effects to play.

Resolves #2753.
2025-04-13 15:55:18 +01:00
lahm86
9b073d69f3 tr1/room: add support for antitriggers
This allows antitriggers to be used like in TR2+.

Resolves #2580.
2025-04-12 22:33:40 +01:00
Marcin Kurczewski
a12e5f523c docs: link water color entries to the main table 2025-04-12 23:27:16 +02:00
Marcin Kurczewski
e3d1fdc4da tr1/game-flow: fix skipping cutscenes
Resolves #2743
2025-04-12 22:34:57 +02:00
Marcin Kurczewski
72c67d7973 config: add/improve enable_legal option
Resolves #2740. Resolves #2741.
2025-04-12 22:33:59 +02:00
Marcin Kurczewski
f980e4f22c game-flow: allow string hex values 2025-04-12 22:33:50 +02:00
lahm86
c69fe9c891 objects: raise static mesh slot capacity
This raises the static mesh slot capacity from 50 to 256. 2D statics
remain fixed at 50 for the time being.

Resolves #2734.
2025-04-12 12:36:49 +01:00
Marcin Kurczewski
98acd91c5a tr2/options: add graphic options dialog
Resolves #1615.
2025-04-11 08:25:16 +02:00
Marcin Kurczewski
9fab033d89 tr1/docs: document water colors 2025-04-08 21:50:43 +02:00
Marcin Kurczewski
bd4b56f726 tr1/output: make water color player-customizable 2025-04-08 21:50:43 +02:00
lahm86
2fb3824b3b items: handle null anims/frames for sprite objects
Some checks are pending
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
This ensures that sprite objects (or anything with no animation index
defined) are assigned a default animation and as such allows us to
handle null frames when getting item bounds. When Lara's animations are
injected, animation index 0 (which sprite objects would previously
default to) is no longer valid, hence sprites then pointing to a null
entry.
2025-04-08 11:05:29 +01:00
Marcin Kurczewski
67354e9f43 tr1/output: fix sprites missing fog effect 2025-04-08 08:16:02 +02:00
Marcin Kurczewski
def5d37192 tr1/config: make fog player-customizable 2025-04-08 08:16:02 +02:00
Marcin Kurczewski
287fddea7e tr1/data: improve bubbles appearance
Some checks are pending
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-07 17:16:24 +02:00
Marcin Kurczewski
8cde0e45e2 tr1/output: fix sprite UVs
Resolves #2672.
2025-04-07 17:16:24 +02:00
Marcin Kurczewski
04437d02c4 tr1/output: remove pretty pixels option 2025-04-07 12:17:30 +02:00
Marcin Kurczewski
039032e69e tr1/output: improve bilinear filter UVs 2025-04-07 12:17:30 +02:00
lahm86
0c8a9ecb95 input: ignore ALT-F4 on Windows
Some checks are pending
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
Either Alt key can be used with F4 to close windows, so this ensures
both cases are accounted for to ensure no action is taken on the F4
input role.

Resolves #2690.
2025-04-05 19:34:18 +01:00
lahm86
a627ff2beb tr1/savegame: set save game info on save
This allows strategies to set any values in savegame info during saving
that would normally be set during initial fill_info reads. This
resolves the restart level option not being available until the saves
are re-scanned.
2025-04-05 19:33:57 +01:00
lahm86
9e0e36c3c7 tr1/option_passport: fix restart level escape check
This ensures the menu back input is respected when using save crystals
and there are no saves present.
2025-04-05 19:33:57 +01:00
lahm86
1717158094 objects: assign default sprite lighting if not set
This restores default shading on sprites that have values below zero
(i.e. TombEditor default) in the level file.

Resolves #2701.
2025-04-05 17:26:02 +01:00
Marcin Kurczewski
d1986f82d7
tr1/docs: update changelog
Some checks are pending
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-05 13:13:16 +02:00
Marcin Kurczewski
8a6a852af3 tr1/output: disable object clipping
Tackles #2005 for TR1.
2025-04-04 23:11:09 +02:00
Marcin Kurczewski
effabcfb9c
docs/tr1: update changelog 2025-04-04 17:11:18 +02:00
Marcin Kurczewski
273a63bafe tr1/output: rewrite room drawing 2025-04-04 09:49:15 +02:00
Marcin Kurczewski
85235ce6a3
docs/tr1: release 4.9 2025-03-31 14:10:17 +02:00
Marcin Kurczewski
12661fe6e6
docs: fix wording 2025-03-31 12:44:25 +02:00
lahm86
e2bcd1aeb7 docs: update docs 2025-03-30 12:34:54 +01:00
walkawayy
2adaf2ac0f
controls: fix console opening when remapping its key (#2683)
Some checks failed
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
Run code linters / Run code linters (push) Has been cancelled
Resolves #2641.
2025-03-26 09:30:47 -04:00
walkawayy
66d1b59330 tr1/stats: change the detailed stats option to three modes
Resolves #2658.
The three stat options include:
minimal: kills, pickups, secrets, time
detailed: minimal and max pickup and max kill count
full: detailed and ammo hits/used, health packs used, distance
2025-03-21 11:43:22 -04:00
walkawayy
9424083dd8 tr1/stats: move Deaths stat to last in non-detailed stats mode 2025-03-21 11:43:22 -04:00
walkawayy
2ef5723457 tr1/stats: add extra stats from TR2
Resolves #2651.
Added stats are ammo hits/used, health packs used, and distance
travelled.
2025-03-21 11:43:22 -04:00