Commit graph

25 commits

Author SHA1 Message Date
bca3a1f713 Prediction: Unbreak Weapons_Draw by setting the roll-back values of
predicted variables. This is because we're doing something that happens
outside the prediction... this should be more elegant but it works for now.
2019-09-08 12:19:27 +02:00
4da3cf5079 Prediction: Roll back .viewzoom, as that was forgotten about before. 2019-09-08 12:16:27 +02:00
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
31750420be Remove/Fix sounds that were named wrong or missing. 2019-09-07 08:39:28 +02:00
6413e26786 Clean the 'valve' HUD for splitscreen. 2019-09-07 07:31:38 +02:00
137a44dac4 Cleaned up spraylogo.cpp a bit. 2019-09-07 06:21:27 +02:00
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
cf795010b9 Turn down the camera roll a litte. 2019-09-05 03:46:39 +02:00
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
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
a7c2c04651 Delete v_cambob, as that never really worked well anymore to begin with. 2019-09-04 04:02:20 +02:00
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
205cd5856f Made it so camera roll is only calculated when the player movetype is MOVETYPE_WALK 2019-09-04 03:14:41 +02:00
b34bd0298d Added cvar v_camroll. 2019-09-04 02:51:49 +02:00
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
0f3cc9c5f5 Initial support for scripted_sentence and sentences.txt. It doesn't do anything fancy yet. 2019-09-02 06:29:18 +02:00
978a0dd865 Added initial func_guntarget and trigger_autosave. 2019-09-01 22:39:56 +02:00
78429997aa Support for scrolling env_message text, as well as a test cmd (titles_test) that allows you to test message definitions. 2019-09-01 13:34:11 +02:00
f4ae48b1b5 Initial titles.txt support. Only env_message works with it right now. 2019-09-01 11:45:42 +02:00
7541db9f63 Half-Life: Only draw HUD when ITEM_SUIT is present. 2019-09-01 10:07:58 +02:00
0968ee7756 Counter-Strike: Don't open VGUI in singleplayer upon start. 2019-09-01 06:20:00 +02:00
dee8eb2fd8 Updated progs.src file paths. 2019-09-01 05:23:24 +02:00
b3acf9b715 Moving game specifics .src files into their own dirs. 2019-09-01 05:06:43 +02:00
a6c53e9a7c vid_reload/restart will now refresh decal shaders. 2019-09-01 04:52:49 +02:00
b604077d0b Renamed /Source to /src 2019-09-01 04:35:37 +02:00