Commit Graph

880 Commits

Author SHA1 Message Date
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 f562991ada Clean-up defines for physics vars. Those are handled elsewhere... 2021-08-14 08:49:40 +02:00
Marco Cawthorne a3e0cceba0 GS-Entbase: Add detailed QUAKED definition for light_environment! 2021-08-12 21:34:32 +02:00
Marco Cawthorne 0d759c724c Menu-FN: Support for mIRC color codes in the Chat-Room function (fg only) 2021-08-12 12:36:48 +02:00
Marco Cawthorne fbf6ee7367 Switch from iqmtool to vvmtool. 2021-08-10 12:07:09 +02:00
Marco Cawthorne c7004625ae Menu-FN: Add LOGO_STATIC, rename LOGO to LOGO_AVI. Allowing mods to have
non video menu headers
2021-08-08 14:06:26 +02:00
Marco Cawthorne 844c29bf23 Menu-FN: Off-load font definitions into external .font files, like cgame 2021-08-08 13:54:05 +02:00
Marco Cawthorne 0cd6694c32 Menu-FN: Parse locale file info, then gfx/shell definition overrides to
allow for proper translations of the menu system.
2021-08-08 12:12:17 +02:00
Marco Cawthorne fb63b4f774 GS-EntBase: Fix rendermodes for more complicated entities, ts_bikini will
now display properly.
2021-08-08 07:47:20 +02:00
Marco Cawthorne 1230a6d636 prop_rope: Fix PVS culling. It may be more aggressive now, so fix your maps. 2021-08-08 06:51:57 +02:00
Marco Cawthorne ca9e42a49c Add 'testPointLight' command. 2021-08-06 08:46:12 +02:00
Marco Cawthorne 9fb574d920 CBaseEntity: Fix error for when games are not compiled with GS_RENDERFX 2021-08-03 07:15:25 +02:00
Marco Cawthorne 0709688f9f Add base/default.cfg, some fallback menu assets. 2021-08-02 22:36:36 +02:00
Marco Cawthorne 3ca7b5451c Menu-FN: set create-server maxplayers to 8 when cvar is at 1, search pak
archives in reverse for liblist etc. files to ensure we read the latest +
more fixes
2021-08-01 11:49:00 +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 3b0ad9468a Menu-FN: Fix broken training map button. 2021-07-19 08:37:08 +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 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 9798e0c91b QUAKED light_surface, a new vmap-only entity that enables you to
quickly add map-specific material overrides for the purpose of lighting.
It's similar to the "_surfname" key in tyrutils_ericw, but it is more
advanced than that.
2021-07-12 10:17:10 +02:00
Marco Cawthorne 8a2820f15b func_brush: Ironed out most of the behaviour, thanks Xylemon for creating
a great test map documenting how this entity should behave in Source.
2021-07-12 10:15:00 +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 60313aa3ce GS-Entbase: env_particle needed setorigin() and setsize(), since that's
how FTE will now set a pvs sample in CSQC
2021-07-09 22:16:36 +02:00
Marco Cawthorne 3f3e61689d GS-Entbase: Move client/worldspawn to shared/worldspawn, defined QUAKED
comments that we encourage using for new maps
2021-07-03 12:42:33 +02:00
Marco Cawthorne 03ecfbabfb Menu-FN: Don't push the updater into anyones face right now until this is
rock-solid under the hood
2021-07-02 23:42:03 +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 3a69435a6b Platform: Update test_lightwarmth.bsp/map 2021-06-29 22:27:25 +02:00
Marco Cawthorne 334f880462 Menu-FN: Remove cvar_set line overriding scr_sshot_type 2021-06-29 19:56:20 +02:00
Marco Cawthorne 767f610e5a light_dynamic: normalize color values for static dlights 2021-06-29 12:16:52 +02:00
Marco Cawthorne 9309aef925 Client: Remove redundant addentity() calls from predraws of entity classes that
don't require drawing of a modelindex.
2021-06-29 10:53:36 +02:00
Marco Cawthorne 883a64b744 Remove ftebug_checkpvs(), undefined behaviour was causing things to pop
in and out of existence. There was no fault with FTE's implementation after
all. Change func_dustmotes, prop_rope and env_glow to querying player pos
more reliably.
2021-06-29 10:47:51 +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 fc63f9af55 Menu-FN: disable models/spray widgets in m_customize if we've got none. 2021-06-26 17:14:00 +02:00
Marco Cawthorne c0050b9798 prop_static: Only MakeStatic if avelocity isn't set. 2021-06-26 10:25:46 +02:00
Marco Cawthorne c55317711c trigger_hurt: Make damage timer relative to the entity, not relative to
the trigger itself.
2021-06-18 22:59:54 +02:00
Marco Cawthorne 7f00e9354d Add shared/platform.h which will send hints as to what target platform
we're dealing with (pc, touch, web, console etc.)
2021-06-18 09:26:24 +02:00
Marco Cawthorne 75dfffaf4b func_pushable: only run physics routine when velocity is > 0 2021-06-18 09:24:58 +02:00
Marco Cawthorne de63f37a52 Call Math_FixDelta before networking a bunch of different entity angles. 2021-06-16 11:56:28 +02:00
Marco Cawthorne 12e02bd019 multi_manager: clean up the way we trigger our sub-triggers, avoid string
tokenization
2021-06-16 11:53:29 +02:00
Marco Cawthorne dabe93a9ce func_wall_toggle: Fix networking bug, we weren't using SetModelindex() 2021-06-16 11:52:59 +02:00
Marco Cawthorne ef66642c7f Server: Prevent the engine from handling spawnflags or else it'll remove
entities depending on mode/difficulty
2021-06-16 11:52:36 +02:00
Marco Cawthorne ff39eda49d Menu-FN: Keep track of where games got their gameinfo from and accomodate
the different game/mod switching methods in case of manifests
2021-06-15 10:49:57 +02:00