Commit graph

1807 commits

Author SHA1 Message Date
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
Shpoike
7191e540a6 Fix string autocvars bug in menuqc. 2020-07-19 01:47:06 +01:00
Shpoike
f37a1898a9 Make menuqc respect qs's scr_menuscale cvar instead of scr_sbarscale. 2020-07-19 01:42:15 +01:00
Shpoike
503222cabc Added search_getpackagename builtin to query which package a file is inside (flags&2 to get the gamedir of the package/gamedir too), also let the 'cvar' pseudo-cvar be queried via cvar_string. 2020-07-19 01:36:32 +01:00
Shpoike
e0246ba335 Fix for search_begin on linux. 2020-07-17 10:09:21 +01:00
Shpoike
5e0e8ce7ee Remove MAX_GLTEXTURES limit. 2020-07-11 20:43:19 +01:00
Shpoike
b31b3717f6 Rename a QSS cvar for better compat with FTE. 2020-07-08 15:46:39 +01:00
Shpoike
2fcd0194b1 Let menuqc detect engine more easily, so it can tailor available cvar values for specific engines. This is probably a bad thing but I don't see any other sane way around it. With it being a cvar, the user can at least override it/lie to fake forked engines. 2020-07-08 15:46:00 +01:00
Shpoike
9174a8f1c9 Custom hardware cursors, fix missing cursor when running fullscreen. 2020-07-08 15:38:08 +01:00
Shpoike
da5b8ed3a8 Menuqc support. Only tested against menusys so far. 2020-07-02 20:05:51 +01:00
Shpoike
8d20de22f3 Try to make IQM animations sync to when the frame is changed (like FTE or DP) so that the animations can actually be used for non-static things. There are still no 4-way blends, however. 2020-06-24 02:57:44 +01:00
Shpoike
799a5abc0b Fix late model precaching bug. 2020-06-24 02:49:35 +01:00
Shpoike
4eec92fd23 Add support for string stats (for csqc's use). 2020-06-19 23:19:07 +01:00
Shpoike
718d7c1316 Try to fix compiling in msvc, and try to avoid the issue in future too. 2020-06-19 23:13:30 +01:00
Shpoike
d5a78dc734 Fix support for replacementdeltas with ent counts above 32767 (in case other engines use qss as their reference for support, or if it gets bumped later). 2020-06-19 23:11:22 +01:00
Shpoike
13c87a5cfc Allow decals to adhere to random s bias stuff too. 2020-06-19 22:40:24 +01:00
Shpoike
8ff1c87aaa Add -nohome arg to disable homedir use (when compiled to use them, consistent with other engines). 2020-06-19 22:39:16 +01:00