Commit Graph
7381 Commits
Author SHA1 Message Date
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
fgsfds 33cc89e8fd Merge pull request #371 from Calinou/add-crosshair-health-option
Add an option to color crosshair according to player health + shield
2024-01-28 18:39:05 +01:00
fgsfds cc6df47eed Merge pull request #372 from Calinou/crosshair-hide-when-dead
Always hide crosshair when dead
2024-01-28 18:37:50 +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
Hugo Locurcio 1f4d9c8cdc Always hide crosshair when dead
Previously, the crosshair would show up during the death animation
if Always Show Target is enabled or if aiming just before dying.
2024-01-27 19:19:06 +01:00
fgsfds edeafa596d Merge pull request #373 from abgrac/port-net
Changed server footer color to more readable green
2024-01-27 14:51:30 +01:00
Adriano Bini b954e3ce80 Changed server footer color to more readable green 2024-01-27 02:17:48 -03:00
fgsfds bfa4035642 port: net: bump protocol version 2024-01-16 01:59:01 +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 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 c444e76ecb port: net: skip intro cutscene if netgame requested on command line 2024-01-15 13:10:57 +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 c5a088e7b8 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-01-15 11:40:30 +01:00
fgsfds e53f26f3eb port: fix #347
patch submitted by Ryan Dwyer

The patch allows all humans/bots to be selected regardless of team. It also adds a check to make sure a bot is not given a command to attack itself.
2024-01-15 09:47:52 +01:00
fgsfds 81313f0c4e port: ifdef around sight scale changes 2024-01-14 21:21:19 +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 d9cb850848 Merge pull request #333 from AXDOOMER/port
Always use high detail weapon models
2024-01-14 21:20:36 +01:00
fgsfds 8e443d4830 port: ifdef around sight scale changes 2024-01-14 21:13:31 +01:00
fgsfds 2cb52b749c Merge pull request #332 from Calinou/add-crosshair-size-option
Add a crosshair size option
2024-01-14 21:11:58 +01:00
fgsfds de14f90daf Merge branch 'port-net' into add-crosshair-size-option 2024-01-14 21:11:44 +01:00
fgsfds 9afc7e113e Merge pull request #333 from AXDOOMER/port
Always use high detail weapon models
2024-01-14 20:49:20 +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 562e763fbd tools: add server query client example 2024-01-14 20:03:16 +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 e44298d0c2 port: net: fix player options not working in SP 2024-01-14 17:15:43 +01:00
fgsfds 31cd8fc28a port: net: fix #328 2024-01-14 15:49:18 +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