Commit graph

292 commits

Author SHA1 Message Date
Marcin Kurczewski
e5eb165e09 tr1/overlay: fix showing controls unbind bars 2024-12-21 15:54:16 +01:00
Marcin Kurczewski
35946d5a38 tr1/input: fix unbind keys for controllers
Resolves #2090.
2024-12-21 15:54:16 +01:00
lahm86
0038e882f5 tr1/pickup: add option for pickup aids
This adds support for pickup aids, which will add an intermittent
twinkle effect nearby pickup items when the player enables the option.

Resolves #2076.
2024-12-21 11:21:56 +00:00
lahm86
ebb76d27b4 tr1/carrier: fix initial sector selection for falling items
This ensures that if an item is dropped exactly at the height of a
vertical portal, we get the room just above that portal first to ensure
that later the item is placed in the correct room, and hence drawn
there.

Resolves #2088.
2024-12-21 09:46:56 +00:00
Marcin Kurczewski
2ab543fbd3
docs/tr1: release 4.7 2024-12-20 09:22:13 +01:00
Marcin Kurczewski
aed25096b9 tr1/data: fix explosion sprites
Resolves #1985.
2024-12-20 09:20:49 +01:00
lahm86
83e9c3f5cd tr1/specific/s_shell: open console only if enabled by player
This adds a check for whether or not the console has been enabled by
the player before opening it. Other game-driven console logging will
continue to display regardless.

Part of #2063.
2024-12-17 16:42:38 +00:00
Marcin Kurczewski
5785b0e656 trx/clock: use frame accumulator for more stable FPS
Resolves #1935.
2024-12-16 21:50:18 +01:00
lahm86
b407bfd0ce tr1/objects/movable_block: add trap feature to pushblocks
This makes falling pushblocks more realistic if they land on top of
Lara, killing her outright. We hide Lara's shadow to avoid it
appearing on top of the pushblock, as the floor height change will
continue to operate in case there are active enemies nearby.
Additionally, a camera target item is spawned to prevent issues with
the camera looking into the pushblock at Lara.

Resolves #2035.
2024-12-14 15:41:43 +00:00
lahm86
ebf67a9e7f tr1/data: fix Temple of the Cat door position
This rotates and shifts door 180 in Temple of the Cat so that the
invisible wall is behind it.

Resolves #2021.
2024-12-13 14:49:23 +00:00
lahm86
74d8a604f9 tr1/data: fix Natla's Mines boat camera position
This shifts the camera in Natla's Mines that looks at the boat while
it's moving, so to avoid seeing the flip state.

Resolves #2019.
2024-12-13 12:41:37 +00:00
lahm86
04b031fcc2 tr1/data: fix Unfinished Business camera positions
This adjusts some cameras in Return to Egypt and Temple of the Cat to
resolve LOS issues.

Resolves #1317.
2024-12-13 12:41:37 +00:00
lahm86
8941edca41 tr1/objects/door: define doors in opening rooms
This takes on the TR2 approach of having doors defined in the rooms
they open into, so to resolve drawing issues when close to the
portals.

Part of #2005.
2024-12-12 22:45:41 +00:00
Marcin Kurczewski
fa6fefa4ca
docs: update 2024-12-12 20:18:32 +01:00
lahm86
f1a6d10273 tr1/data: fix mesh positions in Egyptian levels
This fixes the angle of the drawbridge in Obelisk of Khamoon when open
so that Lara's shadow isn't occluded and the artefacts aren't
embedded. It also lifts the senet table and lowers the toppled chair in
room 57. The toppled chair is also fixed in Return to Egypt and Temple
of the Cat.

Resolves #2006.
2024-12-12 18:44:08 +00:00
Marcin Kurczewski
544faeb08a tr1/output: fix clipping near objects
Resolves #2003.
2024-12-12 12:12:31 +01:00
lahm86
8fbcf5e34a tr1/option/option_passport: move passport arrows based on text size
This shifts the arrows at the bottom of the passport with respect to
the size of the text, so to avoid overlapping.

Resolves #1971.
2024-12-03 10:49:11 +00:00
lahm86
9faf8bccc2 tr1/data: fix incorrect transparency in Egypt textures
Fixes incorrect transparent pixels on some room and static mesh
textures in Egyptian levels.

Resolves #1975,
2024-11-30 17:01:29 +00:00
lahm86
69629385a0 tr1/data: fix wolf and bat transparent eyes
Injects texture replacements for the wolf and bat eyes in Peru. The
wolf fix applies to all 4 levels, the bat fix only to Caves and
Vilcabamba.

Resolves #1945.
2024-11-30 17:01:29 +00:00
lahm86
c7208c998b tr1/objects/door: reset sector tilt on closed doors
The legacy approach would reset the FD index to 0, but this was missed
in the FD refactor in #1433. The result was NO_HEIGHT would be
manipulated by the tilt values and hence could produce invisible
geometry.
2024-11-27 19:15:52 +00:00
Marcin Kurczewski
072def7b2a
Merge branch 'stable' into develop 2024-11-25 19:34:06 +01:00
Marcin Kurczewski
8bec505c92
docs/tr1: release 4.6.1 2024-11-25 19:32:23 +01:00
Marcin Kurczewski
efbabb44eb
tr1/savegame: support setting save slots to 0 2024-11-25 19:31:37 +01:00
Marcin Kurczewski
0ff682b352
tr1/savegame: fix crashes when changing save-slots live
Resolves #1954.
2024-11-25 19:31:20 +01:00
Marcin Kurczewski
5b928426e1
tr1/option: fix overlapping text with 1.9 font scale
Resolves #1946.
2024-11-25 19:31:15 +01:00
Marcin Kurczewski
3a295e2f79
tr1/option: fix crash on toggling bilinear filter
Resolves #1942.
2024-11-25 19:31:08 +01:00
Marcin Kurczewski
0e58e42416
tr1/fmv: fix missing files muting the game
Resolves #1931.
2024-11-25 19:30:57 +01:00
lahm86
8262b6da3d
tr1/objects/door: fix flipmap door initialization
Resolves #1948.
2024-11-25 19:30:24 +01:00
Marcin Kurczewski
932b1e7284 tr1/savegame: support setting save slots to 0 2024-11-25 19:29:20 +01:00
Marcin Kurczewski
848483e407 tr1/savegame: fix crashes when changing save-slots live
Resolves #1954.
2024-11-25 19:29:20 +01:00
Marcin Kurczewski
4212a3b531 tr1/option: fix overlapping text with 1.9 font scale
Resolves #1946.
2024-11-25 17:33:53 +01:00
Marcin Kurczewski
5d1c3d2e38 tr1/option: fix crash on toggling bilinear filter
Resolves #1942.
2024-11-25 16:27:30 +01:00
Marcin Kurczewski
5e58fa8550 tr1/fmv: fix missing files muting the game
Resolves #1931.
2024-11-25 15:17:28 +01:00
lahm86
90a7dbeb84 tr1/objects/door: fix flipmap door initialization
Resolves #1948.
2024-11-24 22:06:26 +00:00
Marcin Kurczewski
350ee103c6 tr1/text: support Unicode glyphs
Resolves #386, #636, #1928 and #1919.
2024-11-24 20:07:17 +01:00
Marcin Kurczewski
4cb8441cd3 build: add Wayland to the SDL image 2024-11-20 18:28:09 +01:00
Marcin Kurczewski
0356175e5b
docs/tr1: release 4.6 2024-11-18 11:42:03 +01:00
Marcin Kurczewski
1b9e535415 trx/audio: fix invalid audio freeing
Resolves #1895.
2024-11-17 18:46:30 +01:00
walkawayy
7e0d1da034 tr1/trapdoor: fix trapdoor location test
Resolves #1904.
2024-11-17 11:35:51 -05:00
lahm86
1cbded12dc config_tool: add support for searching
This adds a search box to the config tool to allow filtering properties
by keywords.

Resolves #1889.
2024-11-16 19:25:35 +00:00
Marcin Kurczewski
1e6acce2e3 tr1/lara: use explosion sprites with swan dive cheat 2024-11-13 12:20:07 +01:00
Marcin Kurczewski
7a6c13a348 tr1/objects/mutant: fix explosion damage
Resolves #1758.
2024-11-13 12:20:07 +01:00
walkawayy
d13d2d4689 overlay: fix demo text overlapping with bottom center enemy bar
Resolves #1446.
2024-11-13 10:27:02 +01:00
lahm86
01f040d9b8 tr1/inventory: support automatic key item selection
This allows the inventory to open on the correct key item based upon
the receptacle Lara is currently trying to use.

Resolves #1884.
2024-11-12 21:51:21 +00:00
lahm86
f3a29d3a87 tr1/inventory: reset selected item on closing inventory
This resets the selected key item when the inventory is closed to avoid
it being pre-selected to a non-existent item when the inventory is
re-opened.

Resolves #1586.
2024-11-12 17:31:57 +00:00
lahm86
79dc750c53 docs: fix vehicle hit changelog entry
#1859 added the entry to TR1's changelog rather than TR2.
2024-11-12 11:13:34 +00:00
lahm86
33e4e9be1d tr1/gameflow: add support for item descriptions
This adds the ability to define descriptions for key, puzzle and
pickups items in the gameflow. Players can examine items that have a
description in the inventory. Indicators are shown to make this clear,
the idea being builders may want to use this feature to offer hints.

Description text is automatically wrapped to fit the screen, and very
long text will be paginated. New line and feed escape sequences are
supported in the text for manual layout.

This also removes the necessesity of having an empty strings object in
levels that don't have any key items.

Additionally, the update_gameflow tool has been adjusted to support the
use of curly braces inside strings (and indeed nested objects).

Resolves #1821.
2024-11-11 21:55:51 +00:00
lahm86
31aeefa8d1 libtrx/console: fix play_level command action
This sets the action for /play commands to GF_SELECT_GAME rather than
GF_START_GAME, so that resume info can be properly calculated.

Resolves #1861.
2024-11-11 16:53:53 +00:00
walkawayy
ff9502a6c9 boat/skidoo: fix Lara getting stuck in her hit animation
Resolves #1606.
2024-11-11 16:15:10 +01:00
lahm86
f0f7edcc2c libtrx/config: refactor enforced config approach
This refactors the enforced config control from #1854 into the gameflow
and removes the legacy settings for enforcing game modes and save
crystals.

Resolves #1857.
2024-11-11 15:04:27 +00:00