Commit Graph

25 Commits

Author SHA1 Message Date
Marco Cawthorne 649ed825ad
Big commit, work over various triggers. Clean up debug prints and make
them more consistent. Warnings are in yellow, while errors are in red.

New cvar: g_developerTimestamp will display timestamps next to debug messages
originating from the game-logic. Set g_developer to 1 to see them.
A lot of useful into, such as which entity id messages originate from
should aid in debugging quite a bit.

SP level transitions should also be more reliable now in terms of
transferring entities and the like.

Some levels have awkward transition areas and you might find yourself
jumping between levels frequently. Workarounds are in the works.
2024-03-02 00:40:08 -08:00
Marco Cawthorne 2c6da152ed
Clean up more and more warnings fteqcc yells about 2022-11-30 14:21:55 -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 f01e90ad2e
Merge material property definitions into the surfaceproperties system to streamline
everything more and to allow level designers custom properties without recompiling
the game-logic. This will also make it more Source Engine compatible.
2022-10-15 22:43:32 -07:00
Marco Cawthorne ff17dea01f
Initial work towards the NSWeapon class. Testing will happen in base/ under the NEW_INVENTORY define.
Comitting this early to ensure nothing breaks and it'll co-exist.
2022-07-25 09:31:37 -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 c996986631
prop_vehicle_driveable: respect clipvehicle 2022-06-16 23:04:26 -07:00
Marco Cawthorne 25c54af62c
Spring cleaning part one. 2022-05-11 12:49:04 -07:00
Marco Cawthorne a469c06fc8
Add 'surfaceparm projectile' support, so non-solid surfaces can
still react to tracelines and projectiles.
2022-04-13 16:58:42 -07:00
Marco Cawthorne 143a00e94e
Fix light_dynamic (static) from not spawning in CSQC. Add r_skipDiffuse to rtlight.glsl,
add SURF_PENETRATE, which will make bullets pass right through them when
BULLETPENETRATION is set. Go over and refactor a lot of base_client, player
and spectator code to facilitate both permanent and temporary spectators
better. Add experimental env_glow lens flare code. Fix material ID detection
bug for Q3 based BSPs. A couple helper functions were added to src/client/utils.cpp
but they are not yet final.
2022-03-17 21:05:47 -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 70fe95e5a7
Add support for Source styled surfaceproperties.txt definitions, which
is incorporated into func_breakable/pushable already. Mods can now control
material/surface properties without code.
2021-10-15 19:01:36 +02:00
Marco Cawthorne d283c309cd
Add missing material/impact definition for sand. Document some other ids
of interest that are used in L4D and GO.
2021-10-11 23:29:26 +02:00
Marco Cawthorne 2b377fdd79
Document the various CONTENTBITS that are relevant to us and reserve
a GRENADECLIP content bit, so levels can be optimised for nade throws.
2021-09-24 10:48:05 +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 6da1f3c4fa GS-Entbase: massive optimisation - any func_wall and illusionary without a
targetname will not be networked and handled 100% client-side.
2021-04-10 09:35:06 +02:00
Marco Cawthorne 44ab18793c Rearrange how we execute and time our player animation logic 2021-04-06 09:18:17 +02:00
Marco Cawthorne aeae39fc9a Materials_FixName: Fix typo 2021-01-25 12:09:43 +01:00
Marco Cawthorne 4cf229d946 CBaseEntity: Don't send origin/size info when 0 upon entering PVS 2021-01-22 16:05:40 +01:00
Marco Cawthorne 93728d283c Added Materials_FixName() for preparing materials.txt lookups 2021-01-22 15:54:06 +01:00
Marco Cawthorne f8606ae7e7 Extend impacts to the full spectrum of material definitions, sound shaders
and all. Still needs patch for Counter-Strike.
2021-01-19 10:37:28 +01:00
Marco Cawthorne 2cee375ce5 Lots of commits bundled into one:
- Added GamePMove_Fall and GamePMove_Jump for controlling either.
- Tweaked maxspeed for Counter-Strike heavily.
- Worked on the Counter-Strike WEAPON_KNIFE (fully functional!).
- Worked on the Counter-Strike WEAPON_AWP (mainly zoom).
- The WEAPON_C4 in Counter-Strike will no longer unfreeze you during warmup
- Added cl_showtriggers for displaying brush-based triggers.
- Removed muzzleflash dynamic light, as it seems GoldSrc doesn't have any.
- Fixed bug in which the server-list would run into an infinite loop error.
- Fixed weapon pricing in Counter-Strike.
- To rescue hostages means to earn $$$
2020-04-20 06:45:14 +02:00
Marco Cawthorne 8ac5ac7c77 Support for Q3-based BSP material flags - for footsteps anyway 2020-04-19 12:01:20 +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 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/materials.h (Browse further)