Commit Graph

8 Commits

Author SHA1 Message Date
Marco Cawthorne 578da4a779
Add VGUI_Active() which returns whether or not we're drawing VGUI elements,
add SNDFL_ALERTS to sound shaders, which will alert enemy AI of suspicious
behaviour, fix a health-setting bug in NSSurfacePropEntity and remove
playerslot check in item_pickup from base/
2022-01-28 16:02:00 -08:00
Marco Cawthorne 52dfde0cf1
Sound: Add Sound_PlayLocal() which is a 'sound shader' analogue to to
localsound()
2022-01-07 13:46:16 -08:00
Marco Cawthorne 8ba5bc56d2
Sound: Added 'distshader' keyword support... which will play a
another sound definition at global attenuation (explosions like this)
2021-09-02 10:10:27 +02:00
Marco Cawthorne 64745eb23c Overhaul prediction routines by boxing the generic client attributes away
from the game specific code. Add some helper macros... clean a whole bunch
up.
2021-05-08 17:44:16 +02:00
Marco Cawthorne 4b5125d97f CBaseEntity: Optimisation in SendEntity regarding predictable defaults. 2021-01-21 01:29:26 +01:00
Marco Cawthorne 74192c2f78 Implement basic EV_SHAKE event & adding 'shakes' key multiplier to sound
shaders. Client-side sound shaders will get proper shake duration matching
the sound sample length too. Fancy stuff you can try.
2020-12-12 06:24:48 +01:00
Marco Cawthorne 97d19c1b37 Add shared/include.src, so we touch gamename/include.src less for global
changes.
2020-10-30 12:21:00 +01:00
Marco Cawthorne a025a41e73 Simplified the client progs.src file for each game massively. 2020-05-02 23:57:25 +02:00