Commit Graph

19 Commits

Author SHA1 Message Date
Marco Cawthorne 29a1bea943
Misc consistency cleanups 2022-11-22 22:37:07 -08:00
Marco Cawthorne ecf5988584
PropData: Breakmodels now spawn fully client-side! This will remove a lot of network overhead. 2022-11-14 19:50:23 -08:00
Marco Cawthorne 2945e1f65d
Add support for Source Engine decal groups (scripts/decals.txt). 2022-10-27 20:04:11 -07:00
Marco Cawthorne 36fdd443d2
Change 'material' over to 'surfaceprop'. Implement new networked event EV_SURFIMPACT.
Surfaceproperty impacts are now fully done on the client. Server has no concept of
impacts beyond the point of announcing them.
The next step: NSTraceAttack should be fully shared between client/server so
that the local player doesn't need to be told about their own EV_SURFIMPACT events
by the server, thus saving a bit of bandwidth.
2022-10-26 12:50:08 -07:00
Marco Cawthorne 9e675c212d
Implement 'cleardecals' client command, as well as an SVC_CGAMEPACKET for servers to request clients' clear their decal cache. 2022-08-27 22:05:31 -07:00
Marco Cawthorne 66b09de431
Big commit fixing many regressions since crunch hit. env_sprite has been reworked.
multi_manager entities now behave correctly when calling themselves in MULTITHREADED mode.
Remove GS_RENDERFX option. Too many entities rely on its functionality anyway.
Fixed some rendermode behaviour - ladders will no longer be visible.
You can now see the playermodel (and no longer the viewmodel) in mirrors.
Fixed a lot of warnings.
2022-07-07 09:10:14 -07:00
Marco Cawthorne 6fb067eed3
My name has changed, so an update to the copyright to reflect it. 2022-03-11 11:40:43 -08:00
Marco Cawthorne c2e4050bae
Replace CSQC_Parse_Damage with our own, add EV_DAMAGE. Make sure trigger_hurt
respects the 'damagetype' field. Add CSQC_UpdateSeat to make querying of
the current player seat easier (splitscreen).
2021-12-17 18:20:30 -08: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
Marco Cawthorne 03b16ff905 Add Vox_Sentence_Broadcast() and Vox_Sentence_Single 2021-05-25 10:25:20 +02:00
Marco Cawthorne 4962f82f89 Move entity-update/event definitions for game-specific cases out of root
src/shared.
2020-10-24 13:11:02 +02:00
Marco Cawthorne 00a8ee2a00 env_hudhint: Initial basic implementation, plus a way for the game-logic to send hints. 2020-10-24 03:32:34 +02:00
Marco Cawthorne 0c0b9938b7 Went over weapon-drop logic to handle ammo, undroppable weapons.
Added basic intermission logic to HL:DM for fraglimit/timelimit being hit.
Cleaned up WeaponAPI to get rid of killicons, which should be handled
elsewhere.
2020-04-26 13:17:19 +02:00
Marco Cawthorne 324fadd668 Spring cleaning. Prepare for summer! Fixed lots of bugs too:
v_camroll is now working again.
Counter-Strike is finally getting somewhere again.
Counter-Strike has pseudo spray-patterns now! They're all the same.
func_button now can be programmed to use Sound-Shaders.
The menu handles the vid_conautoscale command autonomously. Set r_autoscale
to 0 if you don't like it.
The menu has an updater, requires a not-yet-pushed build of FTE.
Don't use it yet.
Moved a lot of globals into pSeat's structs to fix splitscreen with them.
Made explosion decals be handled client-side!
Added trigger_look, env_sun and light_environment entities.
2020-04-12 15:50:42 +02:00
Marco Cawthorne f43bc2cf32 update copyright dates because I've been forgetting all year. 2020-04-07 14:46:23 +02:00
Marco Cawthorne e1b38f008a Adjusting spawn-angle to match spawnpoints. 2020-04-04 00:52:45 +02:00
Marco Cawthorne 82d9027873 Added support for chaptertitle worldspawn key.
Valve: Added monster_snark and monster_tripmine. Although they don't work
as such fully yet.
Pain/Death are properly part of the player class.
Added own music track networking so we can skip the looping business,
which is currently broken in the engine.
Shoved some gamerule specific stuff around so there's more shared code
between the mods.
2020-03-26 23:07:13 +01:00
Marco Cawthorne 66b629b83a Valve: Basic weapon pickup notification, cl_autoweaponswitch 2020-03-24 16:20:58 +01: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
Renamed from src/events.h (Browse further)