Commit graph

1873 commits

Author SHA1 Message Date
Shpoike
f0b8c70df2 Fix host_errors with csqc+r_showbboxes. 2020-10-16 01:31:37 +01:00
Shpoike
fe9fc6ada8 Fix polyblend not working with full csqc. 2020-10-13 18:56:50 +01:00
Shpoike
c6ffa53c48 Add support for loading 24bit replacements for the original content. Add PRECACHE_PIC_WRAP(from dp, disables npot padding+scrap, we already don't otherwise clamp), and PRECACHE_PIC_TEST(from fte, for consistency). 2020-10-13 18:42:04 +01:00
Shpoike
ae25184dfd Fix lightning beams missing with full csqc. 2020-10-13 18:15:01 +01:00
Shpoike
8c76dbb08b Make v_gunkick 1 behave all juddery like QS did with its lame protocols. v_gunkick 2 (lerp) no longer makes assumptions about update intervals so no longer acts all weird as a result of getting smaller-but-more-frequent changes. 2020-10-13 18:11:34 +01:00
Shpoike
7e3d3d14e0 (simple)csqc wasn't seeing the right stat values with old protocols. 2020-10-13 18:07:57 +01:00
Shpoike
8cd7fb4edd Switch to showing commit dates for version numbers instead of borrowing the QS version we're forked from. 2020-10-12 02:45:40 +01:00
Shpoike
46b43c7089 Fix csqc not receiving +showscores console commands. 2020-10-10 19:28:04 +01:00
Shpoike
0861025dc2 Mute not-watervised messages for maps with no fluids on them (eg AD's rubble models). Sock doesn't like developer prints. 2020-10-06 03:18:01 +01:00
Shpoike
6ecae25432 Force interpolation resets on new entities (to fix weird lerp glitches common in Copper) 2020-10-02 19:46:25 +01:00
Shpoike
430c9e4368 cl_warncmd wasn't getting re-enabled properly. 2020-09-13 16:14:59 +01:00
Shpoike
95e6465eb2 Clarify skyroom arg usage. 2020-09-04 13:24:57 +01:00
Shpoike
01155d041e This should have been in one of the earlier commits. 2020-09-04 13:24:04 +01:00
Shpoike
ffaa28249b Minor behavioural correction. 2020-09-04 13:23:19 +01:00
Shpoike
33fd2d2b12 For parity with fte's particle system. 2020-09-04 13:22:44 +01:00
Shpoike
903a901bde Allow findchain builtins to accept a chain field for feature parity with DP and FTE. 2020-09-04 13:20:01 +01:00
Shpoike
8ae1409f32 Allow search_begin to filter by package names. 2020-09-04 13:17:28 +01:00
Shpoike
231f6c2fff Add writetofile, getentitytoken, and checkpvs builtins. Fix parseentitydata to detect end-of-string more easily. 2020-09-04 13:13:37 +01:00
Shpoike
39c2e03165 Make the generated qsextensions.qc more complete (and somewhat more formulaic). 2020-09-04 13:08:43 +01:00
Shpoike
0ba3747a1f Add DP_CSQC_QUERYRENDERENTITY extension. 2020-09-04 13:06:51 +01:00
Shpoike
9fb8feb435 Finally give the SSQC the ability to send entity updates to the CSQC itself (as well as detect when a client is running CSQC). 2020-09-04 12:45:01 +01:00
Shpoike
b6c911e59e Allow SSQC to make use of SV_RunClientCommand, to match the custom player prediction in CSQC. 2020-09-04 12:36:56 +01:00
Shpoike
199904c7ae Give csqc access to the lightstyle+particle+makestatic+ambientsound builtins instead of depending on the server for them. 2020-09-04 12:28:48 +01:00
Shpoike
01da705d2b Allow csqc to intercept temp-entities, as well as generate clientside ones. 2020-09-04 12:27:00 +01:00
Shpoike
32a379f4c2 Allow csqc to set physics_mode for support for engine movetypes in csqc. Also provide support for .customphysics too. 2020-09-04 12:22:26 +01:00
Shpoike
02eefd98e3 Maintain an input journal so that CSQC can implement custom player prediction, if it wants. 2020-09-04 12:18:05 +01:00
Shpoike
7b3e11d745 Add the stuff for listener things. 2020-09-04 12:07:05 +01:00
Shpoike
82a5dbde8d Allow csqc to implement CSQC_UpdateView for full control over the 3d scene. 2020-09-04 12:01:03 +01:00
Shpoike
d9a426a82e Allow csqc to trace against deltaed entities. 2020-09-04 11:58:21 +01:00
Shpoike
11ec8fc87c Allow csqc to read csqc entity updates, prints, and centerprints. 2020-09-04 11:53:42 +01:00
Shpoike
dfa91b2267 Fix use of potentially-unrelated global instead of local with MOVETYPE_WALK. 2020-09-04 11:47:12 +01:00
Shpoike
49a65ca309 Allow csqc to draw proper 3d scenes. 2020-09-04 11:44:49 +01:00
Shpoike
7f9d54c63f Implement csqc validation, we can start on giving more capabilities now that we can distinguish between modified and unmodified csprogs. 2020-09-03 11:39:38 +01:00
Shpoike
4eae3094b0 More formulaic registration of various qc extension fields+funcs, including some that are still unused in this revision. 2020-09-03 11:08:13 +01:00
Shpoike
03d9db7d64 Strip residual sw-specific colormap stuff. 2020-09-03 10:59:23 +01:00
Shpoike
960c59818b Add md4 support to digest_hex (will be needed to validate csqc) 2020-09-03 09:40:50 +01:00
Shpoike
412c21334b Enable PEXT1 handshakes as well as just PEXT2. 2020-09-03 09:37:49 +01:00
Shpoike
bfb6cfa6f7 Reduce duplicate code a little. 2020-09-02 11:51:44 +01:00
Shpoike
f12042cdfa Implement serverinfo and userinfo. Both can be read in ssqc via infokey, and via serverkey/getplayerkeyvalue in csqc. Can be changed/viewed via serverinfo/setinfo/user console commands 2020-09-02 09:43:25 +01:00
Shpoike
679d45bd9d r_fastsky should skip skyroom drawing too, for people with really slow computers. 2020-08-22 04:35:40 +01:00
Shpoike
b98ae48c8b world.angles should be ignored for compat reasons (fixes e3m3 and a few custom maps). 2020-08-22 04:34:36 +01:00
Shpoike
6e18ddeae4 Fix a couple of stupid bugs. 2020-07-24 07:53:08 +01:00
Shpoike
71eec70989 Add alternative model lerping mode for proper compat with csqc/menuqc. 2020-07-23 20:28:19 +01:00
Shpoike
50e575d43b Fix more key_lines masks from 31 to CMDLINES-1. 2020-07-23 20:24:58 +01:00
Shpoike
c8fa43da38 Pointless engine compat. 2020-07-22 02:39:11 +01:00
Shpoike
db0d06a1f4 Fix menuqc-related crash with r_shadows enabled. 2020-07-22 02:37:57 +01:00
Shpoike
c5f68e3783 Add -basegame support. Update hack to hide texture failure dev-spam to include dds files. 2020-07-22 02:37:16 +01:00
Shpoike
f5296129a4 Support for fte's 'nll' texture mode etc, which should give fewer flickering pixels in the distance than quake's normal nearest_mipmap_linear mode. 2020-07-19 02:01:02 +01:00
Shpoike
1b5fe32811 Add support for %S in sprintf builtin for quoted strings. 2020-07-19 01:51:20 +01:00
Shpoike
916bcd34ff Fix bugs found through gcc's warnings. 2020-07-19 01:48:32 +01:00