Commit graph

77 commits

Author SHA1 Message Date
Shpoike
d7e86a6592 Handle quakeworld spectators more gracefully. 2023-07-07 10:01:30 +01:00
Shpoike
3cb679f310 Give QSS some basic support for extended qc data types. 2023-07-06 05:16:32 +01:00
Shpoike
6ffc737f57 Fix stupid unqueryable-userinfo bug. 2023-03-18 11:15:29 +00:00
Shpoike
2e01e89a49 Merge tag 'quakespasm-0.95.0' into qss 2023-03-18 11:14:40 +00:00
Shpoike
4d57e5fccc We might as well report these when they're already enabled, if only for internal documentation. 2022-09-11 14:09:06 +01:00
Shpoike
66abf5a378 Fix some misc csqc issues. 2022-08-23 11:58:15 +01:00
Shpoike
b3bec67cb1 Only enable DP_SV_ROTATINGBMODEL when its actually enabled. This is to resolve issues in multiple maps/mods so they behave like they do with the inferior engines they were tested against. Warnings will be printed for any maps or mods that appear to be trying to use it without checking for it first. Resolves https://github.com/Shpoike/Quakespasm/issues/75 2022-08-23 10:10:17 +01:00
Shpoike
e9822ae936 Fix support for scale with unextended protocol 999. 2022-08-11 20:39:35 +01:00
Shpoike
52d8cce64a Fix pr_dumpplatform. 2022-08-11 20:39:35 +01:00
Shpoike
54c646420e Fix csqc's addentities ignoring scale+colormod, fix culling of scaled entities. 2022-08-02 01:39:04 +01:00
Shpoike
bf20203857 Remove a little dead code that I missed. 2022-04-29 03:58:12 +01:00
Shpoike
26f0bc4682 Merge remote-tracking branch 'sf/master' into qss
(cl_startdemos stripped in favour of QSS's existing cl_demoreel cvar. osx project files ignored.)
2022-04-27 22:32:40 +01:00
Shpoike
bdeddfae88 Rework QEx compat to disable QSG extensions when needed. 2021-10-14 07:12:08 +01:00
Shpoike
d7d167c1e9 Fix corrupted player skins. Fix player colours not always applying properly. Allow richer player colours. 2021-09-11 04:07:03 +01:00
Shpoike
f58cee89e8 Disable QC extensions that conflict with the rerelease (only when running progs.dat files from said rerelease). 2021-09-08 04:39:31 +01:00
Shpoike
fb0f83ca00 Add support for SOLID_BSPTRIGGER. 2021-09-08 02:48:30 +01:00
Shpoike
5b05414d7f Require mods to actually query DP_SV_PRECACHEANYTIME if they want to avoid warnings from making use of it. This should avoid unintentional compat issues for QS in mods. 2021-09-06 11:59:09 +01:00
Shpoike
f400daab4c Add EF_BLUE, EF_RED and EF_GREEN, for consistency with other engines that support them. 2021-09-03 08:52:57 +01:00
Shpoike
085ff518fa Add rcon command, let csqc handle some relevant console commands. 2021-08-31 04:59:13 +01:00
Shpoike
7bdf911d3a Handle sound flags, providing reliable+unicast flags. Also handle other sound flags+networking that only fte clients will benefit from right now. 2021-08-31 04:59:13 +01:00
Shpoike
4e3ac66f63 Fix skyrooms when using csqc. 2021-08-31 04:59:13 +01:00
Shpoike
d6fd6076b8 Tweak qsextensions.qc slightly to try to work around DP-defined weirdness. 2021-08-31 04:59:13 +01:00
Shpoike
fdb19a1dac Allow users to block specific named qc extensions. 2021-08-31 04:59:13 +01:00
Shpoike
bfb0f04708 Fix r_scale with csqc active. 2021-08-31 04:59:13 +01:00
Shpoike
c59f3e56f6 Add input_cursor_* fields to csqc and ssqc for use as custom csqc->ssqc data. 2021-08-31 04:59:13 +01:00
Shpoike
b186ba61cb Add missing localsound builtin for menuqc. 2021-08-31 04:59:13 +01:00
Shpoike
49d0390828 Fix protocol-based qc extensions not getting reported properly. 2021-08-31 04:59:13 +01:00
Shpoike
52bb3299b7 Another day, another bug found by Polo - this time in sendevent with entity references. 2021-08-31 04:59:13 +01:00
Shpoike
27f20b277e Fix copyentity builtin. 2021-08-31 04:59:13 +01:00
Shpoike
d6ccf1a9ae Add some notes about quirky symbols. 2021-08-31 04:59:13 +01:00
Shpoike
ec2123f042 Add project+unproject csqc builtins, for converting between 2d and 3d space (eg cursor interactions). 2021-08-31 04:59:13 +01:00
Shpoike
43bf160e0c Fix csqc's view_angles global. 2021-08-31 04:59:13 +01:00
Shpoike
074c31e414 Refrain from reporting qc extensions that depend upon disabled protocol extensions. 2021-08-31 04:59:13 +01:00
Shpoike
69aa507143 Fix polyblend not working with full csqc. 2021-08-31 04:59:13 +01:00
Shpoike
1d9e73a36f 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). 2021-08-31 04:59:13 +01:00
Shpoike
4decec980e Fix lightning beams missing with full csqc. 2021-08-31 04:59:13 +01:00
Shpoike
2631235d31 Allow findchain builtins to accept a chain field for feature parity with DP and FTE. 2021-08-31 04:59:12 +01:00
Shpoike
f232be4f77 Allow search_begin to filter by package names. 2021-08-31 04:59:12 +01:00
Shpoike
8915c41e0c Add writetofile, getentitytoken, and checkpvs builtins. Fix parseentitydata to detect end-of-string more easily. 2021-08-31 04:59:12 +01:00
Shpoike
8435cfc7fa Make the generated qsextensions.qc more complete (and somewhat more formulaic). 2021-08-31 04:59:12 +01:00
Shpoike
f28dee8b72 Add DP_CSQC_QUERYRENDERENTITY extension. 2021-08-31 04:59:12 +01:00
Shpoike
e8cd3bd846 Finally give the SSQC the ability to send entity updates to the CSQC itself (as well as detect when a client is running CSQC). 2021-08-31 04:59:12 +01:00
Shpoike
fc391f4ba5 Allow csqc to intercept temp-entities, as well as generate clientside ones. 2021-08-31 04:59:12 +01:00
Shpoike
d18b907e43 Maintain an input journal so that CSQC can implement custom player prediction, if it wants. 2021-08-31 04:59:12 +01:00
Shpoike
d4094cbaa0 Add the stuff for listener things. 2021-08-31 04:59:12 +01:00
Shpoike
277f833ef7 Allow csqc to draw proper 3d scenes. 2021-08-31 04:59:12 +01:00
Shpoike
929dd85164 Implement csqc validation, we can start on giving more capabilities now that we can distinguish between modified and unmodified csprogs. 2021-08-31 04:59:12 +01:00
Shpoike
e04c097eb8 More formulaic registration of various qc extension fields+funcs, including some that are still unused in this revision. 2021-08-31 04:59:12 +01:00
Shpoike
b1f93c7f3d Add md4 support to digest_hex (will be needed to validate csqc) 2021-08-31 04:59:12 +01:00
Shpoike
4aee746efa Reduce duplicate code a little. 2021-08-31 04:59:12 +01:00