Commit Graph

13 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 2c80a9f9ff NSSurfaceProp/PropData: Add support for breakable_skin. When a prop 'dies'
it doesn't necessarily have to disappear, it can change its material to one
of your choosing.
2022-01-28 06:53:32 +01:00
Marco Cawthorne 06d07738b6
Clean up the base classes, get rid of having to manually include the entbase
defs.h for the respective progs.
2022-01-20 16:23:29 -08:00
Marco Cawthorne 24b00565e3
Make it easier to parse Input/Output entity data by adding PrepareOutput()
to the NSIO class
2022-01-20 12:47:59 -08:00
Marco Cawthorne 08e112e128
trigger_changelevel: check if we're inside a trigger_transition under
certain conditions (and only compare the activator...)
2022-01-03 19:28:22 -08:00
Marco Cawthorne 6ca3900b4d
NSSurfacePropEntity: Handle health more appropriately to avoid conflicts,
unbreaks func_button's health behaviour.
2021-12-29 14:13:08 -08:00
Marco Cawthorne a80def1d12
Server: Fix that you're unable to pick up weapons when you've hit the ammo
cap of said weapon.
2021-12-12 20:36:11 -08:00
Marco Cawthorne bfad97f6eb
prop_dynamic: Remove redundant .health set code that's now handled in the
parent class.
PropData: Fix a bug that fails to check our cache properly, resulting in
the first entry being returned when no data is properly defined.
2021-11-21 04:23:33 +01:00
Marco Cawthorne a2f8fd0a5d
NSSurfacePropEntity: Keep track if .health is ever set manually, take that
and PropData info into account for determining if any child classes will
'break' by default
2021-11-21 03:57:18 +01:00
Marco Cawthorne eb85121716
Add BUILD_ODE build.cfg setting. Add stubs for platform specific functions
like achievements, rich presense. Minor GLSL adjustments.
2021-11-20 17:27:52 +01:00
Marco Cawthorne 0085403c95
NSSurfacePropEntity: Save/Restore for its attributes, OnBreak output etc. 2021-11-13 07:55:33 +01:00
Marco Cawthorne 08c3a4a576
SurfData: Goodbye to DAMAGE_MATERIAL. We streamline that process now so
that all entities will use surfaceParm defined info by default unless
overriden by an entity. + Set up sane defaults for surface properties.
2021-11-13 01:38:20 +01:00
Marco Cawthorne 249e4bc612
Massive revamp of the Nuclide system classes, more efficient networking
and memory usage thanks to intelligent boxing of fields.
Added Util_TimeToString, removed old VOX code, added lots of new helper
classes...
2021-10-20 01:19:10 +02:00