Commit Graph
5251 Commits
Author SHA1 Message Date
fgsfds 8c844874e7 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-05-12 16:32:16 +02:00
fgsfds 15c0327592 port: better light glare hit detection 2024-05-12 16:22:34 +02:00
fgsfds b9a51e4a62 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-05-11 14:14:15 +02:00
fgsfds 27faaecda2 gcc14 fixes 2024-05-11 14:13:51 +02:00
fgsfds b72d7f54e1 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-03-09 22:38:35 +01:00
fgsfds c9f880e427 port: fix #224, allow combat knife in jpn 2024-03-09 22:38:11 +01:00
fgsfds 0d0de5b0d4 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-03-09 17:43:11 +01:00
fgsfds 4baae8de0b port: add extra sleep calls to busy loops; separate sleep into system.c 2024-03-09 17:39:41 +01:00
GreaseMonkey 94e244a236 Report correct ending success/failure when any counter-op player aborts 2024-02-09 16:15:09 +13:00
GreaseMonkey 92d3a9f564 Add macros for counter-op player determination; Handle some missing checks 2024-02-09 13:44:04 +13:00
GreaseMonkey a0db91a0c9 Preliminary 4-player counter-op mode
Here's some things that will be needed off the top of my head:

- Handling the half-screen-width case for the pause menus
- Changing the player select menu to select the not-counter-op player instead, then extending that to 4 players
- Thorough testing of each level for any weird counter-op-specific features
2024-02-09 08:40:02 +13:00
fgsfds a1af5b655a Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-01-28 18:46:13 +01:00
Hugo Locurcio 02d7efb87f Add an option to color crosshair according to player health + shield
Shield is taken into account and is added to health for the calculation,
as the vast majority of damage types are fully blocked by a shield.

3 modes are available:

- Off (default)
- On (Green): Goes through a red-yellow-green-cyan gradient,
  closer to vanilla.
- On (White): Goes through a red-yellow-white-green gradient,
  closer to games like Xonotic.

When set to either of the On modes, the crosshair color setting
is ignored but the crosshair alpha setting is still used.
2024-01-27 19:21:05 +01:00
fgsfds 35be4d589e Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-01-16 01:57:15 +01:00
fgsfds 474a6df3d4 port: add spawn with weapon mp option
unfortunately it does not fit in the save buffer and won't save
2024-01-16 01:56:30 +01:00
fgsfds cf5588478b Merge pull request #332 from Calinou/add-crosshair-size-option
Add a crosshair size option
2024-01-14 21:21:03 +01:00
fgsfds de14f90daf Merge branch 'port-net' into add-crosshair-size-option 2024-01-14 21:11:44 +01:00
fgsfds 511d6ca299 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-01-07 22:06:47 +01:00
fgsfds b9db86f89b port: add command line parameter to select player file 2024-01-07 22:05:31 +01:00
fgsfds 4eca4a1f07 port: net: fix a bunch of access violations 2024-01-07 19:54:27 +01:00
Hugo Locurcio 5e256ea406 Add a crosshair size option
5 sizes are available (from 0 to 4), with 2 being the default vanilla-like
value.

Size 0 is a dot with alpha adjusted to match the crosshair color
settings.
2024-01-05 20:21:44 +01:00
fgsfds 0737c688d7 port: net: don't explode in menu code with > 4 players 2024-01-04 00:00:14 +01:00
fgsfds b74cd095a1 port: net: better gun and crosshair position sync; fix zooming guns 2024-01-01 20:18:32 +01:00
fgsfds 2c0a0a1337 port: net: don't play death music, pain and pickup sounds from other players 2023-12-30 14:32:35 +01:00
fgsfds 312c752205 port: net: set client rng at the same time the server sends it 2023-12-28 12:10:43 +01:00
fgsfds c4a3c18208 port: net: clarify chrslots 2023-12-27 16:08:41 +01:00
fgsfds 04f95ed1d1 port: net: experimental 8 player support 2023-12-26 22:48:28 +01:00
fgsfds 02329b64a1 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2023-12-23 22:09:43 +01:00
fgsfds aae0f70dd3 port: net: sync some projectiles, doors, parts of bgun, etc 2023-12-23 22:09:37 +01:00
fgsfds 370047b1b0 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2023-12-18 16:34:58 +01:00
fgsfds 6fc99e4c23 port: net: basic networking with barely working position sync 2023-12-17 12:54:48 +01:00
Bobby Lovell 7ac734fc81 Merge branch 'fgsfdsfgs:port' into port_crosshair_alpha 2023-12-16 10:18:34 -05:00
fgsfds 28218b26c2 port: add setting for GE muzzle flashes and disable it by default 2023-12-16 15:22:23 +01:00
Bobby Lovell 79fb976bcf Implement a simple colored box menu item type and use that for the preview. 2023-12-14 16:03:29 -05:00
Bobby Lovell 2a6625278a - Fix RGB defines
- Just store the colour and parse RGBA values when modifying.
2023-12-13 13:48:06 -05:00
Bobby Lovell 342e186f79 Add option to change crosshair alpha, and could provide fully custom colors. Proof of concept. 2023-12-13 13:06:48 -05:00
fgsfds 3118d01921 port: don't render garbage in the first blur frame (fixes #287) 2023-12-06 14:57:21 +01:00
fgsfds 2c20a0487e port: better menu blur
TODO: make it render the blurred texture to the fb once instead of rendering it blurred every frame
2023-12-02 19:18:47 +01:00
fgsfds 2b8d5d4f75 port: fix crosshair aspect and make sights centered 4:3 2023-12-02 13:48:24 +01:00
fgsfds ef83f23200 port: fix sun aspect ratio 2023-12-01 19:35:04 +01:00
fgsfds 1aea68b89a Revert "port: unsquish the aspect ratio"
This reverts commit af34015562.

I'll have to come up with a better way to do this
2023-12-01 17:21:27 +01:00
fgsfds af34015562 port: unsquish the aspect ratio
this might break something but I haven't noticed anything bad yet
2023-11-30 10:51:21 +01:00
fgsfds 7cd3dafaa4 port: add wide HUD centering option for ultrawide displays 2023-11-27 11:52:53 +01:00
fgsfds 4a3c3a29b7 port: measure nbomb age based on timestamps
makes them last the same amount of time regardless of fps
2023-11-26 21:15:47 +01:00
fgsfds 2d3e3d1aaf port: add option to disable death music in MP 2023-11-26 19:10:19 +01:00
fgsfds 600dae58e2 port: allow using N64 control schemes
change from Ext to another control scheme to activate

note that this will require rebinding keys, as the default config is for the Ext scheme
2023-11-26 18:07:35 +01:00
fgsfds 5a68daf18c Merge pull request #243 from Bobbar/unlock_everything_gamesave
Option to unlock everything.
2023-11-24 22:31:40 +01:00
fgsfds e43d29f357 port: add hold crouch 2023-11-24 22:30:52 +01:00
Bobby Lovell 27e36ca24e Add prototype. 2023-11-17 09:23:00 -05:00
fgsfds 5bb4f1d193 port: fix (?) slomo at high framerates 2023-11-15 00:25:10 +01:00