Commit graph

129 commits

Author SHA1 Message Date
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
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
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
Marcin Kurczewski
962a66a090 output: tidy shade constants 2025-04-20 21:58:51 +02:00
Marcin Kurczewski
dd2af3377a tr1/game-flow: fix level numbering
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 #2767.
2025-04-18 21:10:22 +02:00
Marcin Kurczewski
f144f8ccad tr1/output: make sprites use the meshes shader 2025-04-18 17:24:44 +02:00
Marcin Kurczewski
e3240b166c ui2: port controls dialog 2025-04-18 10:53:35 +02:00
Marcin Kurczewski
1bdcdb5898 tr1/output: disable wibble effect for sprites 2025-04-17 12:11:23 +02: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
5d096fe311 tr1/objects/trapdoor: rename trapdoor types
This renames the trapdoor types in TR1 to match TR2.
2025-04-13 13:21:06 +01:00
Marcin Kurczewski
72c67d7973 config: add/improve enable_legal option
Resolves #2740. Resolves #2741.
2025-04-12 22:33:59 +02:00
Marcin Kurczewski
2aa0f2e161 tr1/output: optimize uvw access
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-11 15:45:33 +02:00
Marcin Kurczewski
98acd91c5a tr2/options: add graphic options dialog
Resolves #1615.
2025-04-11 08:25:16 +02:00
Marcin Kurczewski
bd4b56f726 tr1/output: make water color player-customizable 2025-04-08 21:50:43 +02:00
Marcin Kurczewski
9c708933bc tr1/option: add ui for changing the fog 2025-04-08 08:16:02 +02: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
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
Marcin Kurczewski
30c5d02344 tr1/output: draw trigger debug info using the new approach 2025-04-04 20:36:54 +02:00
Marcin Kurczewski
519783fafb tr1/output: draw shadows using the new approach 2025-04-04 20:36:54 +02:00
Marcin Kurczewski
b797d9f75f tr1/output/objects: rewrite object mesh drawing
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-04 12:29:34 +02:00
Marcin Kurczewski
273a63bafe tr1/output: rewrite room drawing 2025-04-04 09:49:15 +02:00
Marcin Kurczewski
6e27f24264 tr1/output/sprites: do not interpolate texture layer
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-01 23:48:39 +02:00
Marcin Kurczewski
c0ff49461c tr1/output/sprites: fix small mistakes 2025-04-01 23:48:39 +02:00
Marcin Kurczewski
88870ef539 tr1/output/sprites: simplify projection matrix 2025-04-01 23:48:39 +02:00
Marcin Kurczewski
5d3d677a00 tr1/output: optimize dynamic sprites 2025-03-22 19:58:24 +01: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
Marcin Kurczewski
1fecbf8c2f tr1/output: color underwater sprites
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 #2093.
2025-03-20 22:43:23 +01:00
Marcin Kurczewski
39a4279a2e tr1/output: render room sprites using new approach 2025-03-20 18:16:02 +01:00
Marcin Kurczewski
2f7a1aa46d gfx/gl: extract common shader code
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-20 14:20:02 +01:00
Marcin Kurczewski
57c7146f32 gfx/gl: remove opengl 2.1 support
According to GitHub comments, it was not working anyway.
2025-03-20 14:20:02 +01:00
Marcin Kurczewski
98a3928701 cmd/pos: improve formatting; enable in tr1 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
0f373c9df2 tr1: fix fonts not injected to demos and -l 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
Marcin Kurczewski
cf9c0c9557 tr1/output: add quadrilateral interpolation
Resolves #354
2025-03-10 23:18:52 +01:00
Marcin Kurczewski
d91f0afeef output: move rhw multiplication to the shader 2025-03-10 23:18:52 +01:00
Marcin Kurczewski
ea6399fe99 tr1/shell: add -l argument support
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-10 13:37:26 +01:00
Marcin Kurczewski
843f96305d tr2/game-flow: fix carrying final level stats
Resolves #2480 where the final level statistics were not being added to
the overall cumulative stats. TR1 was not affected by this problem
because it records the current statistics in the resume/start
information for the current level, unlike TR2, which continues to store
these statistics in a separate structure.
2025-02-10 18:09:23 +01:00
Marcin Kurczewski
360c1cde6a game-flow: fix setting the NG+ flag
Resolves #2474. The check for the last level only happens in the
`level_complete` event, which will be followed with an exit to title
anyway.
2025-02-10 10:55:31 +01:00
lahm86
60eaf76aad tr1/data: add ricochet sprite to the gym
This injects the ricochet sprites into the gym level.

Resolves #2462.
2025-02-09 20:31:59 +00:00
Marcin Kurczewski
9681572101 game-flow: rename play level event back 2025-02-04 22:55:26 +01:00
Marcin Kurczewski
c76d8d4394 docs: document TR2 game flow 2025-02-04 22:55:26 +01:00
Marcin Kurczewski
0f2d3d71f0 cmd: add new /music command 2025-02-03 13:52:03 +01:00
Marcin Kurczewski
ed18dcce71 cmd/demo: add console log when playing a demo 2025-02-02 23:02:05 +01:00