Commit Graph

423 Commits

Author SHA1 Message Date
Marco Cawthorne e64bc2ca8e Networking: Make sure level transitions don't miss player entity setup
packets
2019-09-08 12:59:17 +02:00
Marco Cawthorne 875dc52c96 Networking: Add keepalive packet for players, so that prediction doesn't break. 2019-09-08 12:17:46 +02:00
Marco Cawthorne 4da3cf5079 Prediction: Roll back .viewzoom, as that was forgotten about before. 2019-09-08 12:16:27 +02:00
Marco Cawthorne 3112040047 old_viewofs should really be a float.
Made PlayerDisconnect SendFlag more explicit.
2019-09-07 21:09:18 +02:00
Marco Cawthorne 44479cd637 Networking improvements. Make player entities and NPC networking
conditional. Only changed fields are networked. This is because the overall
design seems mature enough.
2019-09-07 21:01:05 +02:00
Marco Cawthorne 31750420be Remove/Fix sounds that were named wrong or missing. 2019-09-07 08:39:28 +02:00
Marco Cawthorne 63d91bb40e HL/SH: Make the ammo type icon affected by the ammo2/3 alpha 2019-09-07 07:47:11 +02:00
Marco Cawthorne 137a44dac4 Cleaned up spraylogo.cpp a bit. 2019-09-07 06:21:27 +02:00
Marco Cawthorne 27707e37b6 Move things from the root src/ dir into the src/shared folder, as that
makes the most sense.
2019-09-07 05:50:44 +02:00
Marco Cawthorne f4ced97ad0 Started documenting map entities via QUAKED style comments.
Use the mk_mapdef.sh script to generate a radiant compatible entities.def
file.
2019-09-07 05:37:06 +02:00
Marco Cawthorne 98e7bdef03 Spraylogos: Illuminate them with getlight() 2019-09-05 18:11:01 +02:00
Marco Cawthorne 396e811850 Scientist Hunt: Fixed weapon kill icon info. 2019-09-05 04:47:43 +02:00
Marco Cawthorne 5aa167d4af Added graphical obituaries for HL/SH.
The way the weapon is chosen is not yet final. I'm just tired and don't
feel like engineering the damage stuff right now.
2019-09-04 18:11:55 +02:00
Marco Cawthorne 53a12821e1 Cleaned up the damage routines to prepare for a bunch of new changes
related to obituaries etc.

Also added support for headshots. Right now they'll explode scientists'
heads so that's hilarious.
2019-09-04 10:38:39 +02:00
Marco Cawthorne 9f68bc97e1 Scientist Hunt: Tweak the chainsaw for a bit animation wise. 2019-09-04 04:40:05 +02:00
Marco Cawthorne 0841eb65f0 Scientist Hunt: Set the double barrel muzzle flash. 2019-09-04 04:39:46 +02:00
Marco Cawthorne bc4bd0580d Scientist Hunt: Tweak the Hammer to not violate our precious ears 2019-09-04 04:39:16 +02:00
Marco Cawthorne 50c1aced6e Handle muzzleflashes differently.
Originally I thought that the model event calls would decide which
muzzleflash to use. It WORKED close enough for CS afterall. It turns out
that the numbers must relate to size or something else which I have yet
to figure out. Either way this unbreaks muzzleflashes in Half-Life and soon
when I port the weapons from CS' system over to the predicted weapon system
from FreeHL, they'll get it too.
2019-09-04 03:57:06 +02:00
Marco Cawthorne b70eb4b7ce Counter-Strike: Bring back the scoreboard, as it wasn't interactive anyway. Maybe in the future there will be some fancy VGUI version. 2019-09-03 04:58:49 +02:00
Marco Cawthorne 978a0dd865 Added initial func_guntarget and trigger_autosave. 2019-09-01 22:39:56 +02:00
Marco Cawthorne a6c53e9a7c vid_reload/restart will now refresh decal shaders. 2019-09-01 04:52:49 +02:00
Marco Cawthorne 0456322d28 Removed cstrike's player.cpp as it's unused. 2019-09-01 04:38:35 +02:00
Marco Cawthorne b604077d0b Renamed /Source to /src 2019-09-01 04:35:37 +02:00