Commit Graph

17 Commits

Author SHA1 Message Date
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 62b5e300d7 Set default physics cvars up on init, as the engine has some set to "" and
thus renders our autocvar definitions useless.
2021-08-14 09:13:27 +02:00
Marco Cawthorne 971b76f938 Menu-FN: Added support for parsing gameinfo.txt from Source Engine games 2021-06-13 09:04:29 +02:00
Marco Cawthorne 17368be5e7 Moved the PMove code into the base_player class, so mods can override
sections at will
2021-06-08 15:30:47 +02:00
Marco Cawthorne 3efae50481 GS-Entbase: Make use of setmodelindex() instead of directly assigning
modelindex.
PMove: Hack to get stop gravity=0 from breaking runstandardplayerphysics if
CUSTOMPHYSICS is not defined
2021-06-08 09:17:35 +02:00
Marco Cawthorne af139751e0 setmodel(): verify if model exists in PATH and set it to an error one if
it's not present.
2021-06-01 12:40:53 +02:00
Marco Cawthorne 2d17321554 Small fix to avoid spam in my inbox. 2021-05-17 20:15:49 +02:00
Marco Cawthorne 448b9bd20d Client: MakeStatic func_wall ents where we can do it on.
Shared: Bench PMove_Run using the engines builtin runstandardplayerphysics
2021-05-16 23:08:08 +02:00
Marco Cawthorne c5cea7a162 Base: Weapons now track weight (for Weapons_SwitchBest)
BotLib: Add CreateObjective() method that can be overridden
2021-05-12 15:42:20 +02:00
Marco Cawthorne aef65b5749 Shared: Add frametime parameter to Animation_TimerUpdate(). 2021-05-10 12:22:12 +02:00
Marco Cawthorne 1485544b91 Base: Get rid of g_eAttacker, which had been replaced by g_dmg_eAttacker.
Go over TraceAttack and make it combine multiple Damage_Apply calls into
one.
2021-05-10 11:33:31 +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 fca8620cba Server: Physics variables are now controlled via sv_ cvars like they
usually are in idTech, however we're now checking them every frame and
updating the networked infokeys in question
2021-04-06 12:22:32 +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 89be1ea628 PMove: Fixed water movement code a bit so we don't sink while moving 2021-02-16 11:02:39 +01:00
Marco Cawthorne 2449fa492e Half-Life: Fix viewmodel still drawing when dead, player moving 2021-02-13 10:07:52 +01: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
Renamed from src/shared/pmove.c (Browse further)