Commit graph

711 commits

Author SHA1 Message Date
Marcin Kurczewski
50387b888e photo-mode: support 60 FPS 2025-03-13 14:59:03 +01:00
Marcin Kurczewski
4283d0a37b photo-mode: increase world bounds by 5 tiles 2025-03-13 14:59:03 +01:00
Marcin Kurczewski
b455d5ba96 photo-mode: improve inputs 2025-03-13 14:59:03 +01:00
Marcin Kurczewski
888ffaee07 tr2: add quadrilateral interpolation 2025-03-12 22:43:20 +01:00
Marcin Kurczewski
1a05a732a2 cmd: add flood and drain console commands 2025-03-12 17:08:27 +01:00
Marcin Kurczewski
d667b13532 docs: improve command docs
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-03-11 23:07:35 +01:00
Marcin Kurczewski
332c0ba0cf cmd/pos+play: make 0 always refer to the gym level
Resolves #2605.
2025-03-11 23:07:35 +01:00
Marcin Kurczewski
1989453f58 cmd/pos: improve indexing of demo and cutscenes 2025-03-11 23:07:35 +01:00
Marcin Kurczewski
4eb4cbd34b cmd/pos: use proper prefix for demos and cutscenes 2025-03-11 23:07:35 +01:00
Marcin Kurczewski
17e96de3ec game-strings: fix loading demo and cutscene titles
Resolves #2604.
2025-03-11 23:07:35 +01:00
Marcin Kurczewski
0e85a3d155 tr2: add accented fonts
Resolves #2356.
2025-03-11 21:10:32 +01:00
lahm86
655bd311fb data: rebuild injection files
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 replaces all injection files with those built in the new
chunk/zlibbed format. Qualopec and Mines enemy texture fixes have also
been merged into their respective level file injections.
2025-03-11 18:11:52 +00:00
Marcin Kurczewski
c2a930a1cb tr2/shell: add -l argument support 2025-03-11 13:50:03 +01:00
Kappa971
1336767f06 Update tr2 CHANGELOG.md 2025-03-11 13:13:50 +01:00
Kappa971
32cc0a6ec4 tr2/config-tool: Add Italian translation 2025-03-11 13:13:50 +01:00
Marcin Kurczewski
8a0c695b02 tr2: add 60 fps 2025-03-09 17:03:01 +01:00
lahm86
1a8d956f55 tr2/movable_block: fix falling pushblock SFX
This makes falling pushblocks use the correct SFX when they land.

Resolves #2193.
2025-03-08 21:32:22 +00:00
lahm86
34ff171fa3 tr2/movable_block: fix pushblock stacking issues
This resolves issues with being unable to stack pushblocks across
multiple rooms.
2025-03-08 21:32:22 +00:00
lahm86
e89d6932bf tr2/movable_block: fix falling pushblock height issues
This resolves falling pushblocks causing various floor height issues
depending on where they are placed above the floor.
2025-03-08 21:32:22 +00:00
lahm86
8621b05dd8 tr2/room: fix floor height alteration creating walls
This fixes altering the floor height to a wall in the case where
pushblocks have been stacked and the one on top is touching the
ceiling.
2025-03-08 21:32:22 +00:00
lahm86
c5757957b9 lara/cheat: prevent fly cheat after exploding death
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
This prevents the fly cheat from being used after the explosion cheat.

Resolves #2584.
2025-03-06 13:46:18 +00:00
lahm86
206b4d5cb5 tr2/lara/misc: fix landing damage check
This brings TR2 into line with TR1 when Lara has landed bad, so that
later checks can make decisions on the goal anim state more accurately.

Resolves #2575.
2025-03-06 13:14:31 +00:00
lahm86
9347a71b7c tr2/demo: restore config caching on demo start
Resolves #2574.
2025-03-02 18:29:16 +00:00
lahm86
620dd6724b tr2/game_flow: fix losing NG+ flag in saves
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 postpones the fix for #2515 in TR2 because of the way the original
savegame is loaded; the bonus flag is otherwise lost because of the
sequence of events.

Resolves #2566.
2025-03-02 13:41:58 +00:00
lahm86
18fa738260 tr2/option_passport: restore play any level in gym
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 #2564.
2025-03-01 16:24:46 +00:00
lahm86
6044b08a4d tr2/option_passport: restore new game text for play any level
Resolves #2563.
2025-03-01 16:24:46 +00:00
walkawayy
3808fa7c28
inventory: limit max item quantities to fix crashing (#2554)
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 #2497.
2025-02-28 19:58:51 -05:00
lahm86
798dc168f0 camera: fix unchecked NO_HEIGHT usage
This resolves an OG bug whereby the camera shift could result in
extremely large values when NO_HEIGHT is involved, hence resulting in
the camera going out of bounds for a frame or so. We now check for this
case and use the previous valid Y position of the camera.

Resolves #1034.
2025-02-28 22:13:03 +00:00
lahm86
307daff7ad tr2/inventory: fix level number for play any level
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 increments the selected level to play only if there is a gym level
present.

Resolves #2560.
2025-02-27 21:01:19 +00:00
lahm86
f98d5a3574 tr2/inventory: fix flare pickup quantity
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
This ensures we always add 6 flares when Lara picks up item 151. The
other logic for single flares is required for gameflow flare additions,
like in Great Wall.

Resolves #2551.
2025-02-25 13:23:59 +00:00
lahm86
b1e24182fc tr2/flares: fix flare throw reset test
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
This reverts to testing open upper end frame range when Lara throws a
flare.

Resolves #2545.
2025-02-23 10:27:32 +00:00
Marcin Kurczewski
ed2281d1d7 tr2/commands: add /wireframe and /cheats
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 #2500.
2025-02-21 14:00:50 +01:00
Marcin Kurczewski
018c1925ed room: remove unused functions
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-02-21 10:01:28 +01:00
lahm86
a187d535a7 tr2/objects/window: unblock box on savegame load
This ensures that the box where a window sits is unblocked if the
window has already been smashed and the game is loaded from a save.

Resolves #2535.
2025-02-20 17:11:02 +00:00
Marcin Kurczewski
797f68a8b7
Merge branch 'stable' into develop
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-02-19 09:19:40 +01:00
Marcin Kurczewski
9ebdc96547
docs/tr2: release 0.9.2
Some checks failed
Run code linters / Run code linters (push) Has been cancelled
2025-02-19 09:18:25 +01:00
Marcin Kurczewski
e33395d1a9
tr2/game-flow: fix saves losing secret rewards
Resolves #2528.
2025-02-19 09:18:13 +01:00
Marcin Kurczewski
9ec588813d
filesystem: fix checking for directory existence
Resolves #2504.
2025-02-19 09:18:11 +01:00
Marcin Kurczewski
fb9b111dfc tr2/game-flow: fix saves losing secret rewards
Resolves #2528.
2025-02-19 09:18:05 +01:00
Marcin Kurczewski
c32141c0f1 filesystem: fix checking for directory existence
Resolves #2504.
2025-02-19 09:17:31 +01:00
Marcin Kurczewski
5f936d0b45 objects: merge type definitions; tidy member names 2025-02-17 21:47:01 +01:00
Marcin Kurczewski
fc2b06846b
docs/tr2: release 0.9.1 2025-02-15 19:36:05 +01:00
Marcin Kurczewski
35e4ceeffb tr1/passport: refactor input processing 2025-02-15 19:21:51 +01:00
Marcin Kurczewski
4702d7e782 tr2/savegame: fix reading bools crashing on Linux
Resolves #2508.
2025-02-15 19:21:42 +01:00
Marcin Kurczewski
e4bc78cdbe filesystem: fix resolving case sensitive paths
Resolves #2504 and #1934.
2025-02-15 17:00:56 +01:00
Marcin Kurczewski
0e04acd901 game-buf: rewrite to use arena allocator 2025-02-14 23:47:35 +01:00
Marcin Kurczewski
2408972070
docs/tr2: release 0.9 2025-02-14 09:19:16 +01:00
lahm86
5dcda1f314 tr2/sound: fix sound slot issues
This resolves problems when the sound slot list is full but the game
continue to try to play further SFX. The previous result would be that
some sounds would be permanently disabled, or some could start playing
but become untracked.

Resolves #2494.
2025-02-13 12:07:34 +00:00
Marcin Kurczewski
2ecb4c18d0 tr2/text: fix scaling dragon icons
Resolves #1631.
2025-02-10 13:46:51 +01:00
Marcin Kurczewski
6009a57782 tr2/option/passport: rewrite and simplify
Resolves #2346. Resolves #2263.
2025-02-10 13:46:44 +01:00