Commit graph

292 commits

Author SHA1 Message Date
lahm86
3ca54568b2 libtrx/config: support enforced config settings
This allows an enforced object to be defined in the config file, within
which any regular config setting can be defined, and the values from
here will be enforced in the game.

Enforced settings are not shown in the config tool, but will be
preserved on write.

Resolves #1846.
2024-11-10 17:13:33 +00:00
Marcin Kurczewski
92ced590fd objects/names: add "pickup" special target name 2024-11-06 16:38:31 +01:00
Marcin Kurczewski
2fc6e5d0bc console/cmd/tp: add round-robin item teleports 2024-11-06 16:38:31 +01:00
Marcin Kurczewski
2819ea18ea console/cmd/play-level: fix duplicate error message
Issuing `/level non-existing-string` (not a number) resulted in two
messages: one about invalid level, and the other about invalid command
invocation.
2024-11-05 23:14:54 +01:00
Marcin Kurczewski
4641712037 console/cmd/pos: log level title 2024-11-05 23:14:54 +01:00
Marcin Kurczewski
4b06213fd4 docs: update changelogs 2024-11-05 10:31:56 +01:00
Marcin Kurczewski
3021804047 tr2/overlay: support 3d pickup animations 2024-11-05 10:31:56 +01:00
lahm86
09c7e3e030 tr1/lara: add responsive swim cancel option
This injects additional state changes to the swimming animation to
allow Lara to enter the glide state on more frame ranges, similar to
TR2+.

Resolves #1004.
2024-11-04 17:10:24 +00:00
lahm86
0953a0b8c2 tr1/lara: merge animation injections
This merges responsive jumping with Lara's main enhances animations
injection. The state changes that were part of the jumping injection
are now present as well as the original state changes, so allowing the
engine to pick the correct ones based on the player's setting.

Resolves #1823.
2024-11-04 13:54:48 +00:00
lahm86
efc150d029 tr1/objects/scion3: save scion hitpoints
This ensures the shootable scion's hitpoints value is saved so if it's
still active on reload, Lara can't continue to target it.

Resolves #1819.
2024-11-03 21:03:18 +00:00
lahm86
fec71a2afc tr1/savegame: save and load ambient music timestamp
This will save the current music track and a flag to indicate whether
or not it's looped, so that on load, the correct start-up for it is
applied. This also changes the related config option from a bool to an
enum with options for never, non-ambient, and always.

Resolves #1769.
2024-11-03 20:59:30 +00:00
Marcin Kurczewski
78e60c2d2c input: fix potential freezes when remapping keys
Resolves #1788.
2024-11-02 18:40:52 +01:00
Marcin Kurczewski
ed60225796 text: refactor glyph information 2024-11-02 16:13:06 +01:00
Marcin Kurczewski
272d0d45ba tr1/text: remove progressbar info from text 2024-11-02 16:13:06 +01:00
lahm86
5194daccf6
tr1/option_control: fix controls menu height (#1784)
This fixes the controls menu for text scales 0.8 and 0.9 such that the
menu doesn't extend to the bottom of the screen or overlap the
inventory "Controls" text.

Resolves #1783.
2024-11-01 21:51:14 +00:00
Marcin Kurczewski
0eeeb3e8e3
input: remove health F11 cheat 2024-10-31 12:21:56 +01:00
lahm86
f07ceae877 tr1/gameflow: read leadbar name from gameflow
This restores reading the leadbar name from the gameflow to allow it to
be customised.

Resolves #1774.
2024-10-29 19:45:53 +00:00
Marcin Kurczewski
802740cbec gfx: try 3.3c gl backend if 2.1 fails 2024-10-26 15:26:58 +02:00
walkawayy
25cf965837
phase_pause: add the ability to pause during cutscenes (#1746)
Resolves #1673.
2024-10-25 10:07:10 -04:00
lahm86
c3bff3a9cb tr1/data: inject Khamoon trapdoor triggers
This injects dummy triggers in rooms 10 and 18 for trapdoors 33 and 34
in City of Khamoon.

Part of #1744.
2024-10-25 00:06:20 +02:00
Marcin Kurczewski
666a4845c2 tr1: improve crash reports 2024-10-24 09:33:12 +02:00
Topixtor
c552e072fe tr1/config_tool: improved Italian localization
This fixes and/or improves some Italian translations in the TR1 Config Tool.
2024-10-23 23:37:42 +02:00
lahm86
4952e460fe tr1/lara: add wading support
This adds support for wading, taken from TR2, with the required
animations and SFX provided in lara_animations.bin.

Resolves #1537.
2024-10-21 13:27:51 +01:00
lahm86
9f4b6fa7ab
tr1/carrier: add support for TR2-style item drops (#1719)
This allows item drops to be defined in the level data in the same
fashion as TR2, so any pickup item that is in the same position as an
enemy will be carried by that enemy. The gameflow approach is retained
for OG levels, and the provided gameflow setting will default to this.

Resolves #1713.
2024-10-16 12:03:32 +01:00
lahm86
0ea343f1ed
tr1/data: inject pushblock SFX commands (#1715)
This injects the missing animation commands for pushblock types 2, 3
and 4 in Natla's Mines, so they play 4 scrapes on the pull animation in
line with every other pushblock in the game.

Resolves #1714.
2024-10-15 15:40:48 +01:00
Marcin Kurczewski
1a6dd53a51
docs/tr1: release 4.5.1 2024-10-14 11:41:33 +02:00
Marcin Kurczewski
05d567be9f
build: fix mac builds
Resolves #1710.
2024-10-14 11:31:07 +02:00
Marcin Kurczewski
160bd53594
docs/tr1: release 4.5 2024-10-08 16:43:09 +02:00
walkawayy
39c982227a common: fix Lara entering a long animated interaction if pushed
Resolves #1687.
2024-10-08 10:26:42 -04:00
walkawayy
abb678bdca savegame: fixed a bug when saving during an animated interaction
Resolves #1546.
2024-10-08 10:26:42 -04:00
lahm86
a9fd434d99 tr1/lara: inject medium water exit animation
This injects the TR2 exit water to "medium" height animation.

Resolves #1538.
2024-10-08 14:14:39 +01:00
Marcin Kurczewski
19c8aae7a0
input: use look for camera reset 2024-10-07 22:52:57 +02:00
Marcin Kurczewski
8bab311d79
console: remember prompt history
Resolves #1571.
2024-10-07 19:45:22 +02:00
Marcin Kurczewski
5468377b8e
injections: inject shutter sound to cutscenes 2024-10-07 01:19:29 +02:00
lahm86
a6561f1d5b tr1/camera: fix potential division by zero
Resolves #1671.
2024-10-05 19:48:40 +01:00
lahm86
708141d4be camera: add photo mode
This adds a photo mode phase and camera logic to handle movement. No UI
is presented currently.
2024-10-05 16:24:10 +01:00
Marcin Kurczewski
309efee3c6
console: fix targeting pickups
Resolves #1667.
2024-10-05 12:37:17 +02:00
Marcin Kurczewski
ef0b20e902
output: fix water wibble effect
Resolves TR1X part of #1493.
2024-10-04 22:10:37 +02:00
lahm86
95407af8d4
overlay: add option to toggle game UI (#1657)
This adds an option to allow toggling the in-game UI.

Resolves #1656.
2024-10-04 18:41:53 +01:00
Marcin Kurczewski
4f8093df64
docs: update repo url and release tags 2024-10-03 11:25:26 +02:00
Marcin Kurczewski
2dd940c350 docs: fix TR1X 4.4 release diff link 2024-10-03 10:36:35 +02:00
Marcin Kurczewski
ff559580bf misc: merge tr2 and libtrx codebases 2024-10-03 10:36:35 +02:00