Commit Graph

254 Commits

Author SHA1 Message Date
Marco Cawthorne e28de86415 Call DSP_UpdateSoundscape(), seems I forgot all about it! 2021-08-27 11:35:59 +02:00
Marco Cawthorne d4fccac03f Work towards making vehicles predicted, this is ongoing. 2021-08-19 17:54:08 +02:00
Marco Cawthorne ca9e42a49c Add 'testPointLight' command. 2021-08-06 08:46:12 +02:00
Marco Cawthorne 0ca3d03927 Remove some debug stuff. 2021-08-01 11:21:24 +02:00
Marco Cawthorne 1ec3cf2e8e Decouple Camera/Viewmodel effects from src/ into base/src/ 2021-08-01 08:53:21 +02:00
Marco Cawthorne 3ef55c5e48 build_engine.sh: iqm has been renamed to iqmtool, so adjust those basenames 2021-07-20 12:19:27 +02:00
Marco Cawthorne affa7b4a0c Client: add camera.qc and viewmodel.qc, better restructure how we apply
effects to the view. Add CVARs v_cambob, v_camroll, v_bobstyle...
2021-07-19 08:36:19 +02:00
Marco Cawthorne e13323e07d Client: when 'buildcubemaps' is running, make sure the views are centered
at all times to avoid FTE dumping weird projections
2021-07-09 22:18:25 +02:00
Marco Cawthorne 3d236a64ed Client: console command 'dev_sunpos' will now also report the sunangle and
pitch values for a light_environment entity.
2021-07-02 13:43:58 +02:00
Marco Cawthorne dc592c1deb Client: Muzzleflash will now follow the viewmodel angle, in case it's
a 3D model (The Wastes)
2021-07-02 11:16:57 +02:00
Marco Cawthorne 97bc849abe Add cvar ftebug_checkpvs, to see work around something that hasn't been
fixed yet.
2021-06-28 19:52:36 +02:00
Marco Cawthorne b0755d36cb Way-Menu: Move 'remove nearest' into the waypoint creation menu for
convenience
2021-06-27 22:13:07 +02:00
Marco Cawthorne 4d042ea062 Client: Font_LoadFont() will now have some credible defaults as a fallback. 2021-06-27 09:56:25 +02:00
Marco Cawthorne 88e5084f38 Client: Added Entities_RendererRestarted, giving entity classes a chance
to reload their assets. env_glow and prop_rope support in this commit.
2021-06-27 09:55:48 +02:00
Marco Cawthorne e42b714458 Client: Added Font_LoadFont() as a wrapper for loadfont(), which will
parse definitions located in the filesystem instead of hardcoding font
paths and sizes.
2021-06-26 21:45:46 +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 243c875a3f CBaseTrigger: Add support for Source Engine's FireUser/OnUser 1-4 trigger
inputs/outputs.
2021-05-29 10:52:47 +02:00
Marco Cawthorne 2082f1355a Menu-FN: Parse liblist.gam files instead of relying on manifests outright. 2021-05-28 10:26:42 +02:00
Marco Cawthorne 03b16ff905 Add Vox_Sentence_Broadcast() and Vox_Sentence_Single 2021-05-25 10:25:20 +02:00
Marco Cawthorne 09528c2944 Add support for top/bottom color on players and viewmodels.
Fix func_breakable's sound shader from precaching non existing sounds.
2021-05-20 16:01:07 +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 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 a3ecd78f17 CBaseMonster: support for spawnflag MSF_IGNOREPLAYER (64). 2021-05-10 08:14:10 +02:00
Marco Cawthorne e0a2f47f4d Dereference pSeat and pSeatLocal to __NULL__ instead, it's not like we ever
caught an error with the previous assignment anyway.
2021-05-08 23:06:11 +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 76507b3e9e Client: Handle EFX_Shutdown() for OpenAL Environmental FX 2021-05-07 16:29:24 +02:00
Marco Cawthorne 31ae020cba Plugins: Add example plugins.txt config, add support for inline comments,
move searchpath to gamedir/plugins/
2021-05-07 14:15:08 +02:00
Marco Cawthorne eaff488dc2 Client: Add an OSD for various EFX debug info when s_al_debug is enabled. 2021-04-27 12:53:21 +02:00
Marco Cawthorne 69caffe91c Fix typo where flReflectionsPan isn't getting set in the EFX loader. 2021-04-23 11:43:40 +02:00
Marco Cawthorne 96a748f189 Server: Flush 'skyname' serverinfo before setting the .bsp one, to prevent
it from bleeding to maps that don't define 'skyname' from old configs.
2021-04-22 12:14:56 +02:00
Marco Cawthorne ead2ab6a6b EFX/env_sound: Add bound checks for legacy roomtypes. 2021-04-22 11:44:53 +02:00
Marco Cawthorne f09f5833e0 Introduced the new OpenAL EFX handling subsystem. It's fully user-definable
via plain-text definitions and allows even legacy/GoldSrc content to take
advantage of it.
2021-04-22 11:33:48 +02:00
Marco Cawthorne 74f6d1a033 Client: Remove the last reference to g_iWorldInitialized 2021-04-22 01:59:37 +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 eeda69f6d2 Client: Damage indicators now use the spriteframe() builtin for precaches 2021-04-02 08:35:54 +02:00
Marco Cawthorne e5ba0406fd Added pSeatLocal, which is like pSeat but games no longer break if upstream
Nuclide expects new fields. You might have to migrate some fields over.
2021-03-31 13:40:27 +02:00
Marco Cawthorne 9319e63619 View_AddEvent: Add hack to cache and verify we're playing the event only on our frame of choice 2021-03-30 07:30:33 +02:00
Marco Cawthorne b043b57ed5 Get rid of the View_EjectShell* functions I added last week and replace it
with the much cooler View_AddEvent() which allows for much more.
2021-03-29 21:52:53 +02:00
Marco Cawthorne ab355d6a52 Add drawrect(), a simple helper for drawing rectangles with specified
thickness
2021-03-27 07:49:13 +01:00
Marco Cawthorne 2c7f540787 botlib: add USER linkflag. When a bot passes that link, he'll USE the
closest func_button nearby.
2021-03-27 07:48:46 +01:00
Marco Cawthorne cec4872994 Add modelevent_shell sound shader definitions, so mods can set shell eject
sounds.
2021-03-27 07:47:56 +01:00
Marco Cawthorne 95739c7a20 Basic spectator implementation for all games. 2021-03-24 07:50:30 +01:00
Marco Cawthorne 48d1b1ad0d Client: View_EjectShell is now replaced by three different variations. 2021-03-17 14:34:26 +01:00
Marco Cawthorne 69b087c7e4 Client: add View_EjectShell(); and integrate it. 2021-03-17 13:24:00 +01:00
Marco Cawthorne 3d1041fcf6 Added ClientGame callbacks for PreDraw and PostDraw calls. 2021-03-17 06:24:38 +01:00
Marco Cawthorne 00141d5ab0 Add View_PreDraw() and move View_Stairsmooth() into that. 2021-03-17 06:12:50 +01:00
Marco Cawthorne 0645b98036 vmap script: Add check for the env vars VMAP_NOVIS/BSP/LIGHT 2021-03-09 14:25:59 +01:00
Marco Cawthorne 46f9e1be0f Client: Add force parameter to Sky_Update() and make sure Sky_Update() is
called upon CSQC_RendererRestarted.
2021-03-08 01:45:15 +01:00
Marco Cawthorne fc75a1be11 Base, Half-Life, Counter-Strike, Opposing Force and Scientist Hunt have
now been reworked to have fully networked ammo that's also fully affected
by rollback netcode. Big diff, mods WILL break. Beware.
2021-02-28 02:31:27 +01:00