Commit graph

154 commits

Author SHA1 Message Date
Marcin Kurczewski
b51a2b71a8
docs/tr2: release 0.6 2024-11-06 16:41:59 +01: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
57cedf1fc8 tr2/objects/pickup: add 3D pickups drawing
Resolves #1634.
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
walkawayy
4795f7e07e
game: fix new saves not having a save count in the passport (#1829)
Resolves #1591.

Eventually this fix will be moved to S_SaveGame.
2024-11-05 11:57:06 -05:00
Marcin Kurczewski
1a3fad5c2a tr2/inventory: fix fast spinout animation
Resolves #1704.

This was especially evident with FMVs that don't depend on the clock -
m_LastCounter held old time data, making the game try to make up for the
perceived large difference, and skip ahead by many frames at once.
2024-11-05 17:15:25 +01:00
Marcin Kurczewski
d2d296c3ec game/sound: fix cosmetic todo 2024-11-05 17:05:39 +01:00
Marcin Kurczewski
0f01993d0f tr2/objects/body-part: fix decomp status 2024-11-05 17:05:39 +01:00
Marcin Kurczewski
c9948af9ba tr2/objects: port Object_SetupGeneralObjects 2024-11-05 17:05:39 +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
Marcin Kurczewski
344ae2aa0c tr2: add turbo cheat
Resolves #1639.
2024-11-04 14:26:20 +01:00
Marcin Kurczewski
27f9dcb4c6 tr2: port EffectFunc_AssaultStart 2024-11-04 14:26:20 +01:00
Marcin Kurczewski
9c99c6535a tr2: replace Sync with Clock_SyncTicks 2024-11-04 14:26:20 +01:00
lahm86
a6cf2ee02f tr2/input: allow holding up/down in menus
This mimics the TR1 behaviour of allowing up/down to be held in menus
such as save/load.

Resolves #1644.
2024-11-02 23:57:53 +01:00
Marcin Kurczewski
9a3a2ddfb2 tr2/option: fix music resuming on volume change
Resolves #1707.
2024-11-02 19:50:44 +01:00
lahm86
04d75ac8a5 tr2/skidoo: use common approach to kill enemies
This treats killing enemies with the skidoo as though they were shot
down, so that statistics can remain accurate. It also means that monks
will become angry if one is run over.

Resolves #1772.
2024-11-02 18:26:42 +00:00
lahm86
4a7f0ecd7e tr2/objects/harpoon_bolt: test target item status
This tests that a target item for a harpoon bolt is a fully activated
creature.

Resolves #1804.
2024-11-02 17:06:49 +00:00
lahm86
fc4fe988dd tr2/objects/grenade: test target item intelligence and status
This ensures grenades that hit inactive or unintelligent creatures have
no effect on the item's hit points. We continue to explode the grenade
in the creature's position though, as it's still a collidable entity.

Resolves #1561.
2024-11-02 17:00:43 +00:00
lahm86
b13106b9c1 tr2/creatures/dragon: count dragon kill only once
This ensures that the dragon kill is only counted in the statistics
when it is finally defeated rather than after each time it is taken
down.

Resolves #1771.
2024-11-02 16:19:13 +00:00
Marcin Kurczewski
490cdffe58 tr2/console: fix console not drawn during credits
Resolves #1802.
2024-11-02 17:15:28 +01:00
Marcin Kurczewski
72909fe130 tr2: add ability to skip fmvs with the action key
Resolves #1650.
2024-11-02 17:15:28 +01:00
Marcin Kurczewski
94a2d2a4a5 tr2: add ability to skip credits
Resolves #1800.
2024-11-02 17:15:28 +01:00
Marcin Kurczewski
2989b9b1c2 tr2: port DisplayCredits 2024-11-02 17:15:28 +01:00
Marcin Kurczewski
ced4f9f502 tr2: port S_DisplayPicture 2024-11-02 17:15:28 +01:00
Marcin Kurczewski
ed60225796 text: refactor glyph information 2024-11-02 16:13:06 +01:00
Marcin Kurczewski
cafb84910b libtrx/text: move TEXTSTRING definition to libtrx 2024-11-02 16:13:06 +01:00
Marcin Kurczewski
72a8ef8fd1 tr2/input: add fly/item/level cheat inputs
Resolves #1640.
Resolves #1641.
Resolves #1642.

This pull request introduces keys to trigger various cheats and includes
a setting to enable or disable them. By default, cheats are disabled,
and the controls dialog won't display their bindings in such scenario.
2024-11-02 15:32:06 +01:00
Marcin Kurczewski
e7df7718cf tr2/gun: fix grenades launching too slow
Resolves #1760.
2024-11-02 10:48:28 +01:00
Marcin Kurczewski
93467ecdab tr2/sound: fix samples playing after level finish
Resolves #1770.
2024-11-02 10:48:07 +01:00
Marcin Kurczewski
6651aacdfd tr2/output: fix crash with z-buffer disabled
Resolves #1761.
2024-11-02 10:02:47 +01:00
Marcin Kurczewski
b56ccd99d3
tr2/input: add ui for editing controller layouts 2024-10-31 12:22:24 +01:00
Marcin Kurczewski
698915a291
input: merge tr1 and tr2 inputs code 2024-10-31 12:22:23 +01:00
Marcin Kurczewski
d22d495e46
tr2/input: make INPUT_STATE in line with tr1 2024-10-31 12:21:56 +01:00
walkawayy
11a7bad3cd stats: fix game hanging if exited during stats or credits
Resolves #1585.
2024-10-31 12:18:06 +01:00
walkawayy
393ffcb540 demo: fix hidden ammo counter while demo plays in NG+
Resolves #1559.
2024-10-30 09:26:59 +01:00
Marcin Kurczewski
f8efbc9005 tr2/screenshots: improve screenshots support
Resolves #1766.
Resolves #1773.
2024-10-29 22:34:43 +01:00
Marcin Kurczewski
7ebb2a0141 tr2/shell: fix unclean config saves
The EnumMap module was shut down before the config could save the enum
option values.
2024-10-29 22:34:43 +01:00
walkawayy
db9f33b815
grenade: fix kills counting as two kills (#1764)
Resolves #1560.
2024-10-28 16:09:11 -04:00
Marcin Kurczewski
535a502011 tr2: port Diver_GetWaterSurface 2024-10-27 00:14:01 +02:00
Marcin Kurczewski
88c0d4f227 tr2: port Diver_Harpoon 2024-10-27 00:14:01 +02:00
Marcin Kurczewski
a30da40be4 tr2: port Grenade_Control 2024-10-27 00:14:01 +02:00
Marcin Kurczewski
ee6beac403 tr2: port HarpoonBolt_Control 2024-10-27 00:14:01 +02:00
Marcin Kurczewski
7aef82315b tr2: port GameBuf_Free 2024-10-27 00:14:01 +02:00
Marcin Kurczewski
0a976d8a24 tr2: port GameBuf_Alloc 2024-10-27 00:14:01 +02:00
Marcin Kurczewski
59fc49f848 tr2: port GameBuf_Reset 2024-10-27 00:14:01 +02:00
Marcin Kurczewski
1bed628128 tr2: port GameBuf_Shutdown 2024-10-27 00:14:01 +02:00
Marcin Kurczewski
5fdb5ee829 tr2: port S_InitialiseSystem 2024-10-27 00:14:01 +02:00