Commit graph

86 commits

Author SHA1 Message Date
Shpoike
09a32a91ba Add sv_nqplayerphysics cvar for mods that don't want to include SV_RunClientCommand for whatever reason. Set to 0 to force predictable player physics. 2023-07-25 15:08:17 +01:00
Shpoike
9f5d6f0355 Rework input accumulation to be a bit smoother. 2023-07-25 15:08:17 +01:00
Shpoike
2d76417807 Rework how the viewmodel is added to the scene. No more phantom viewmodels with csqc, please. 2023-07-25 15:08:17 +01:00
Shpoike
9b8573aa79 Add runstandardplayerphysics builtin, allowing for csqc-based prediction compatible with quakeworld engines, and just generally handy as a less-dumb more-setup alternative to walkmove. 2023-07-25 15:08:17 +01:00
Shpoike
937a2b9819 Make sure getiputframe's partial frame has an updated time value, to keep csqc-based prediction smooth. 2023-07-20 15:15:37 +01:00
Shpoike
506484cb4b csqctest apparently depends on serverkey used serverside, lets give it. 2023-07-20 15:10:45 +01:00
Shpoike
157e5672bd Update sprintf builtin to keep in sync with FTE. 2023-07-20 15:08:18 +01:00
Shpoike
0c15adc009 Fix recent black shirts bug. 2023-07-13 05:16:53 +01:00
Shpoike
8b08262ffb Give the cvars generated from float+vector autocvars prettier default/initial values. 2023-07-10 03:10:30 +01:00
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