Marco Cawthorne
2265047bfe
Fix a bunch of nonvirtual/virtual mismatching going on that's been caught by the new compiler.
2022-11-16 14:04:10 -08:00
Marco Cawthorne
e499a7d484
Documented the Nuclide System (NS) classes.
2022-10-14 13:08:47 -07:00
Marco Cawthorne
5a7d082af7
Move touch handlers into NSTrigger, remove trigger_multiple's own version of the team check.
2022-08-31 15:18:06 -07:00
Marco Cawthorne
31bb9b4042
Abstract timers to make sure MOVETYPE_PUSH entities are handled without game/mod developers having to think much about them.
...
Also change rechargers to MOVETYPE_NONE instead of PUSH, as it won't be moving anyway.
2022-08-31 13:24:55 -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
146051dd67
Proper nonvirtual declarations for class methods.
2022-08-24 15:11:04 -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
2a220fb331
Move base classes out of gs-entbase. This evolution only happened because classes such as CBaseMonster that once existed were replaced and it grew from there.
...
Tweak g_developer prints for scripted_sequences.
2022-07-19 15:22:15 -07:00