Commit Graph
339 Commits
Author SHA1 Message Date
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 6a03e8d9cf port: net: unify console and join address input routines 2024-01-28 19:28:51 +01: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 bfa4035642 port: net: bump protocol version 2024-01-16 01:59:01 +01:00
fgsfds 884a30f970 port: net: bump protocol version 2024-01-16 01:27:22 +01:00
fgsfds 7288947390 port: net: handle UCMD_ACTIVATE as a press 2024-01-16 01:27:03 +01:00
fgsfds c4b1a8d4a2 port: net: fix --maxclients 2024-01-15 13:01:13 +01:00
fgsfds 7c8b1176c7 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-01-15 12:58:35 +01:00
fgsfds 9cde121b52 port: don't call rumble function if rumble strength is 0 2024-01-15 12:58:00 +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 fbfe4b4564 port: net: allow up to 120fps in netgames 2024-01-14 20:48:22 +01:00
fgsfds 4cb99506cb port: net: replace useless checksum with slightly more useful crc16 2024-01-14 20:36:03 +01:00
fgsfds 952de6e82b port: net: allow connectionless server info queries 2024-01-14 19:59:00 +01:00
fgsfds 7ec54e6d0b port: net: fix team/handicap menus with 5+ players 2024-01-14 17:54:16 +01:00
fgsfds e6df6014c7 port: net: bump protocol version 2024-01-14 17:40:02 +01:00
fgsfds e688a1c6e6 port: net: do not assume contiguous player slots 2024-01-14 17:36:19 +01:00
fgsfds a46ce32ad4 port: net: don't crash if there aren't any player props
although I still don't know what actually leads to this situation
2024-01-14 15:38:05 +01:00
fgsfds 31d8aae704 port: net: move the rest of the IP logging to log only 2024-01-08 12:31:42 +01:00
fgsfds 4b30f52b32 port: net: cap --maxclients 2024-01-07 22:20:46 +01:00
fgsfds c8d42bbf20 port: net: if going into netgame from command line, skip intro and default to profile 0 2024-01-07 22:14:59 +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 33f6d643be port: net: add command line arguments for quick hosting and joining 2024-01-07 22:01:20 +01:00
fgsfds c2d09135f7 port: net: probably fix ipv6 address parsing 2024-01-07 21:17:59 +01:00
fgsfds 9f6b21e870 port: net: fix main menu lockup after playing a 5+ player game 2024-01-07 20:52:31 +01:00
fgsfds 4eca4a1f07 port: net: fix a bunch of access violations 2024-01-07 19:54:27 +01:00
fgsfds 4439fdf411 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-01-07 19:10:21 +01:00
fgsfds 6bd3597ff6 port: fix optionsmenu.c warnings 2024-01-07 18:40:32 +01:00
fgsfds 6ac8a1a0f6 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-01-07 17:08:44 +01:00
fgsfds 8645d0a82a port: don't use the existing log system in crashlog in case it crashes 2024-01-07 17:07:12 +01:00
fgsfds ba52580e0c port: display module offsets in the windows crashlog 2024-01-07 16:43:20 +01:00
fgsfds 06f2283180 port: use cv2pdb on windows executables if present 2024-01-07 16:09:04 +01:00
fgsfds b1b17e21c1 port: write crash info to log file even without --log 2024-01-07 15:40:30 +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 5abb0e484e port: net: fix maxplayers cap 2024-01-05 00:33:51 +01:00
fgsfds 16c247a24e port: net: change default LerpTicks to 3 2024-01-04 19:27:14 +01:00
fgsfds 9de245eab6 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-01-03 21:56:28 +01:00
fgsfds c487e423b1 port: fix blur-related crash on Intel GPUs 2024-01-03 21:55:07 +01:00
fgsfds a3cc54d33a port: net: bump protocol version 2024-01-02 19:03:11 +01:00
fgsfds a261246e64 port: net: move clsettings to a separate message; add join notifications 2024-01-02 19:02:23 +01:00
fgsfds 2e195fe21a port: net: bump protocol version 2024-01-02 00:44:40 +01:00
fgsfds 36a692991f port: net: transmit more player options; allow headroll death in netgames 2024-01-02 00:44:08 +01:00
fgsfds 39474e97a7 port: net: bump protocol version 2024-01-01 20:26:52 +01:00
fgsfds b74cd095a1 port: net: better gun and crosshair position sync; fix zooming guns 2024-01-01 20:18:32 +01:00
fgsfds 96e1c57f61 port: net: carry some of the client inputs over to server-sent moves 2023-12-31 21:00:54 +01:00
fgsfds f6ee8bbf71 port: net: don't die when there's a % in a chat message 2023-12-31 20:31:37 +01:00
fgsfds aa3c5a85b7 port: net: make team sync slightly less insane 2023-12-29 11:56:54 +01:00
fgsfds f46e112c3d port: net: fix dualwielding, probably; bump protocol version 2023-12-29 02:06:12 +01:00