Marco Cawthorne
2d911109cc
trigger_relay: Set m_iValue so that multisources will work properly that get targetted by them
...
trigger_auto: Delay the trigger of them in singleplayer until 1 player has joined
Misc cleanups. The 'Janitor Simulator' on TWHL should work now.
2022-12-14 16:51:16 -08:00
Marco Cawthorne
33295ff409
env_beverage/item_food: Fix item_food not rendering and or spawning.
2022-12-13 23:16:00 -08:00
Marco Cawthorne
94d5d5408c
GS-EntBase: Adjust QUAKED comments so they can be parsed by Doxygen.
2022-12-13 17:52:20 -08:00
Marco Cawthorne
56ec44700a
Lots of cleanup related to many entity classes to aid doxygen with generating documentation.
2022-12-06 15:04:07 -08:00
Marco Cawthorne
e499a7d484
Documented the Nuclide System (NS) classes.
2022-10-14 13:08:47 -07:00
Marco Cawthorne
7a252ad213
NSEntity: new methods to simplify a lot of common tasks added. ScheduleThink(void(), float) and WithinBounds(entity) will surely be helpful.
...
Went over gs-entbase/server and made sure to use the new Think handlers to safely deal with MOVETYPE_PUSH
and handle any fun edge cases where time may be 0.0f.
func_breakable has also been fixed, since the changed Show/Hide behaviour prevented
them from getting destroyed fully.
2022-08-26 15:39:00 -07:00
Marco Cawthorne
517614fd37
Major overhaul that'll make savegames a lot better. Every entity we implement should have a Save/Restore function.
...
AI noes recalculates their route in case of a loaded savegame... And much more.
2022-08-10 14:24:06 -07:00
Marco Cawthorne
5ca96bbcd9
Add helpers across the codebase to deal with networking ents. I tried prototyped a more elegant solution the compiler didn't like - the language should really deal with this.
2022-08-07 14:12:55 -07:00
Marco Cawthorne
41d3f3b520
func_water: Don't assign the toggle spawnflag. I don't know where that came from - this should fix sh_hdgibfactory
2022-08-07 13:24:55 -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
a463498f60
Huge cleanup. Add initial code for the revamped material definition system.
2022-06-01 17:38:52 -07:00
Marco Cawthorne
bb2b7dbddf
NSClient: add method UpdateAliveCam()
...
UITextbox: Misc polish regarding text entry
GLSL: Detail pass support for some materials
2022-05-15 13:32:53 -07:00
Marco Cawthorne
06efd9495d
func_door: Add some useful inputs.
...
VGUI: Some misc changes related to classic mode.
2022-05-13 14:10:07 -07:00
Marco Cawthorne
2d403202b9
Avoid use of infokeys to communicate whether or not a client is spectating.
2022-04-25 15:25:35 -07:00
Marco Cawthorne
607194957e
Player: Move UseUp/Down into the base_player class. Should now universally handle un-presses for all games.
2022-04-25 10:19:17 -07:00
Marco Cawthorne
0c89cd31ec
func_door_rotating: Redid the way how one-way-doors swing. This should avoid them swinging into your face constantly
2022-04-23 18:32:29 -07:00
Marco Cawthorne
0d93a22b58
Clean up misc warnings.
2022-04-04 09:40:35 -07:00
Marco Cawthorne
75a1c8ce6c
NSEntity: .touch being assigned is being deprecated in favor of our internal Touch(entity).
...
This is so we can support StartTouch(entity) as well as EndTouch(entity) which are implemented
with this commit. Update your entities touch() function overrides for NSEntity sub-classes!
2022-04-03 14:04:34 -07:00
Marco Cawthorne
e45987d65c
NSEntity: Added new methods based on GMod's API. More to follow.
2022-04-02 00:10:25 -07:00
Marco Cawthorne
95c2b8225a
func_door: Add 'snd_move' attribute.
...
Platform: Misc minor GLSL updates. You can use the #TINT parm on program fade materials now.
2022-03-28 03:32:02 -07:00
Marco Cawthorne
1ca716d4fe
func_door: Add Save/Restore methods to aid save-games.
2022-03-26 18:15:43 -07:00
Marco Cawthorne
c87837f583
func_door: Add 'forceclosed' key from Source
2022-03-26 18:03:22 -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
df2a385bbd
func_door: 'netname' trigger happens when door returns to its original
...
position, not the other way around.
2022-01-03 19:27:47 -08:00
Marco Cawthorne
d3dcb3a12b
GS-EntBase: Cleanup and fixes regarding which func_ entities support the
...
'angles' key for visuals. trigger_hurt damagetype tweaks (needs more tests)
as well as monstermaker fixes and SF_ROT_TOGGLE func_door_rotatings no
longer auto-return...
2022-01-03 00:23:20 -08:00
Marco Cawthorne
fe15241b2d
GS-EntBase: add PortalOpen/Close methods to func_door and func_door_rotating
...
which keeps track of our areaportal state more reliably.
2021-10-31 19:15:32 +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
Marco Cawthorne
1764677394
Add hacks to func_door(_rotating) that deal with 'wait' being 0.
2021-09-16 20:26:03 +02:00
Marco Cawthorne
56a616ec8b
CBaseEntity: Add reliable methods to query what certain attributes where
...
when the entity first spawned. (e.g. GetSpawnOrigin())
2021-09-16 17:34:56 +02:00
Marco Cawthorne
eda2e3e751
GS-EntBase: Implement 'locked_sound' in func_door.
2021-09-12 01:06:45 +02:00
Marco Cawthorne
37c5c6efdd
GS-Entbase: Make sure we use Set*() functions for networked fields all the
...
time to notify clients of any changes
2021-07-19 08:34:46 +02:00
Marco Cawthorne
50c3f27a69
GS-Entbase: Document spawnflags throughly in QUAKED comments.
2021-07-17 21:04:34 +02:00
Marco Cawthorne
d744bf2272
GS-Entbase: QUAKED comment improvements for level editors
2021-07-14 11:49:30 +02:00
Marco Cawthorne
ce8731079f
func_door(_rotating): Support for separate sound shaders handling opening
...
and closing of doors. See QUAKED comment in WorldSpawn for details.
2021-04-21 10:03:18 +02:00
Marco Cawthorne
02efa21e3d
Move game-specific sources into their respective mod-dirs. This was planned
...
for a while and was inevitable. Latest fteqcc required that fixes a limit
with paths. Also added src/server/mapcycle.qc
2021-02-08 13:35:15 +01:00