Commit Graph

1550 Commits

Author SHA1 Message Date
Marco Cawthorne 4bebda7940 build.cfg: Add BUILD_UPDATE, which will control whether or not to run a vcs update command before building a project 2021-08-07 12:27:19 +02:00
Marco Cawthorne e50cf421e6 build.cfg now specifies which revision of fteqw to build to avoid sudden
breakage
2021-08-07 12:09:34 +02:00
Marco Cawthorne ca9e42a49c Add 'testPointLight' command. 2021-08-06 08:46:12 +02:00
Marco Cawthorne decb8ea1fc make_mapdef.sh: output entities.def files into the game-dirs now, since
the WorldSpawn editor will now read those instead of looking in its own dir
2021-08-04 13:20:11 +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 972304bf23 Update base/liblist.gam 2021-07-19 11:27:11 +02:00
Marco Cawthorne 5e710d5427 added doc/mods 2021-07-19 11:25:28 +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 362895b19c Platform: terrain_alpha_* GLSL will no longer apply fog to the fragment's
alpha component
2021-07-19 08:32:52 +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 49632b9dd1 Platform: Don't hardcode sampler ids in lightmapped_reflectcube.glsl 2021-07-07 11:51:07 +02:00
Marco Cawthorne d634b35be1 nuclide launch script: if NUCLIDE_GDB is set, run a debug session with gdb 2021-07-03 15:10:55 +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 2e8bb7e23c Platform: updated test_lightwarmth with point light examples 2021-06-28 21:58:21 +02:00
Marco Cawthorne a2865a5be8 Tweaked textures/lights/k_8000/9000/10000.tga 2021-06-28 20:36:18 +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 9cb23f381b test_lightmwarmth: add env_glow entities for some minor visual flair 2021-06-27 08:39:45 +02:00
Marco Cawthorne 54cd7e2ccf build_editor.sh: append LD/CFLAGS differently to support more shells 2021-06-26 21:57:09 +02:00
Marco Cawthorne 6edba5dad4 Build system: Use '. ' instead of the 'source' shell builtin. 2021-06-26 21:50:17 +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 75f97827dc Add build.cfg source, for configurable builds using the build_*.sh scripts. 2021-06-26 18:09:08 +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 b9644915ae Platform: addd test_lightmwarmth and some generic light textures for
vmap that act as light volumes.
2021-06-26 12:13:24 +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