Commit graph

58 commits

Author SHA1 Message Date
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
Shpoike
bec4f4c0c5 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 2021-08-31 04:59:12 +01:00
Shpoike
2885bcae83 Fix a couple of stupid bugs. 2021-08-31 04:59:12 +01:00
Shpoike
e39c88a58b Add alternative model lerping mode for proper compat with csqc/menuqc. 2021-08-31 04:59:12 +01:00
Shpoike
0fb371178d Pointless engine compat. 2021-08-31 04:59:12 +01:00
Shpoike
77a8f9a9a1 Add support for %S in sprintf builtin for quoted strings. 2021-08-31 04:59:12 +01:00
Shpoike
bc684222fc Fix string autocvars bug in menuqc. 2021-08-31 04:59:12 +01:00
Shpoike
8b6737a436 Make menuqc respect qs's scr_menuscale cvar instead of scr_sbarscale. 2021-08-31 04:59:12 +01:00
Shpoike
5842eb70e8 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. 2021-08-31 04:59:12 +01:00
Shpoike
06fd012dfe Custom hardware cursors, fix missing cursor when running fullscreen. 2021-08-31 04:59:12 +01:00
Shpoike
54538a054a Menuqc support. Only tested against menusys so far. 2021-08-31 04:59:12 +01:00
Shpoike
1a18a8af47 Add support for string stats (for csqc's use). 2021-08-31 04:59:12 +01:00
Shpoike
85e9399f2f 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). 2021-08-31 04:59:12 +01:00
Shpoike
81b7ba9e4b Added FTE_ENT_SKIN_CONTENTS support. 2021-08-31 04:59:12 +01:00
Shpoike
85821b6fab Better effectinfo compat 2021-08-31 04:59:11 +01:00
Shpoike
3a7caf60c3 less spammy from pr_checkextension 0 2021-08-31 04:59:11 +01:00
Shpoike
4d5fd6c688 Implement exteriormodeltoclient 2021-08-31 04:59:11 +01:00
Shpoike
7cf404e366 builtin number was wrong, oops. 2021-08-31 04:59:11 +01:00
Shpoike
f96964315e Fixed some warnings 2021-08-31 04:59:11 +01:00
Shpoike
aa8dd16dad Display multiple local addresses on the create-game multiplayer menu.
Hopefully this wll be slightly more useful on multi-homed machines.
2021-08-31 04:59:11 +01:00