Commit graph

5761 commits

Author SHA1 Message Date
Spoike
fb9f8c9cd8 Fixups for crashes triggered by xonotic, probably some other mods too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6325 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:28 +00:00
Spoike
6abd0f75bf ezquake clients were all being treated as version 0, instead of our version-dependant workarounds disabling when ezquake bugs got fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6324 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:22 +00:00
Spoike
c769e6fa01 Fix Q2 saved-game crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:17 +00:00
Spoike
ed63b7435e Make class parsing more c++-like, fix some issues with uninitialised variables not getting detected properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6322 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:12 +00:00
Spoike
6700dfd289 Fix _bump texture loading.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6321 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:05 +00:00
Spoike
407c4eca8b Rework gamepad menu bindings, should be more intuitive now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6320 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:59 +00:00
Spoike
1fb00b3721 Avoid the use of RETURN_CSTRING for cvar string values that might get cached by qc beyond the engine freeing the implied memory (crashes were reported by pjt/newby).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6319 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:46 +00:00
Spoike
503162aefe Add file uri support, requires a '-allowfileurl' commandline argument.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6318 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:39 +00:00
Spoike
cdcb3c3950 Add rogue's teamplay modes to the menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6317 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:31 +00:00
Spoike
9c47966653 Add -unsafefopen commandline argument to allow disabling the qc fopen sandboxing (like the original frik_file spec).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:26 +00:00
Spoike
2383c618ee Fix up some SDL issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6315 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:12 +00:00
Spoike
6307ae1303 add base64encode and base64decode builtins. Allow the second arg of registercommand builtin to specify a description for that command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6314 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:04 +00:00
Spoike
c5d19c46ba Fix partial fakeshaft not always appearing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6313 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:11:57 +00:00
Spoike
aa789965bf Fix cl_maxfps's periodic fast-frame bug. Reduce latency in singleplayer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6312 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:11:50 +00:00
Spoike
cac4c91778 Be more verbose in the case of hardware errors, in case OMC has that issue again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6311 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:11:45 +00:00
Spoike
3be61ca1bc Make sure the rerelease's models can do colourmapping properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6310 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:11:40 +00:00
Spoike
df6b651eeb Better compat with QE. EX_PROMPT now supported serverside (emulated for non-qe clients). Per-client localisation now works. Scoreboards are now a little nicer when running mods with well-defined teams (eg NQ ssqc).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6309 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:11:34 +00:00
Spoike
3a6f22d05c Make sure runstandardplayerphysics builtin properly initialises everything it needs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6308 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:11:23 +00:00
Spoike
2e84a3b96a Fix up some docs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6307 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:11:17 +00:00
Spoike
16c8e521ef Protocol compat with the Rerelease Update 4, at the expense of earlier versions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6306 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-08-19 13:30:16 +00:00
Spoike
279474a019 Fix a skins issue on nq servers after changing maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6305 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-08-19 13:29:55 +00:00
Spoike
c2f7a7b2d0 Fix some issues from last commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6304 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-08-19 13:29:27 +00:00
Spoike
f8af9b18eb Fix up fteqcc's typedefs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6303 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-08-08 22:45:19 +00:00
Spoike
a0f2ffda90 Try to fix up some ICE quirks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6302 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-08-07 23:49:33 +00:00
Spoike
cbb18429f1 Work around a gcc optimisation bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6301 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:18:11 +00:00
Spoike
89fde9c5e4 Some more ICE polish.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6300 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:18:05 +00:00
Spoike
5182692590 Slightly smoother framerates on shib8.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6299 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:17:58 +00:00
Spoike
6941032cc7 Add r_showbatches command to debug builds. Shows a list of all draw calls for the next video frame.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6298 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:17:52 +00:00
Spoike
4fc23b4f4d Make the frametime graph a bit more pretty.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6297 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:17:45 +00:00
Spoike
e7a8e6b7f3 Our ICE implementation now uses mdns to avoid hairpin issues on lans, for more robustness.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6296 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:17:38 +00:00
Spoike
9abf7b74b3 Try to clean up our pext handshake code a smidge.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6295 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:17:33 +00:00
Spoike
62e8bb5774 Prevent FTE servers from getting mistreated as NQ servers, this should restore the 'observe' option.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6294 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:17:27 +00:00
Spoike
ce8155f8a1 Only default to sv_listen_nq when running q1.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6293 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:17:16 +00:00
Spoike
5d0dd2ef8f Make sure infokey(ent,"protocol") reports something unique for qex-protocol clients.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6292 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:17:11 +00:00
Spoike
de644a5384 Add fence stuff to q2bsp, for Kingpin support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6291 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:17:05 +00:00
Spoike
77f5f7adc1 Fix a gl buffer handle leak.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6290 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:59 +00:00
Spoike
4fce9e090d Fix up vrinputs frame times.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6289 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:54 +00:00
Spoike
7e49962039 Fix up replacement texture names for sprite framegroups to better comply with what might be called a standard.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6288 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:48 +00:00
Spoike
52cede2e9f Fix possible out-of-bounds access (reported by qqshka).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6287 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:42 +00:00
Spoike
217a49c08d Commit 6276 was bad (reproted by qqshka).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6286 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:37 +00:00
Spoike
3f85c9793c Add TURN support to our ICE implementation, along with a few fixups. Must be configured with 'net_ice_servers turn:foo?user=foo?auth=bar'. space-separated list, can also accept additional 'stun:' servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6285 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:31 +00:00
Spoike
91ea3ed518 Change 'player minlight' rules from the singular player.mdl to any entity with a player's colourmap. This is to fix ktx's vwplayer.mdl not responding like players should. This may also slightly affect TF's sentries and telepads and stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6284 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:20 +00:00
Eukara
03440263e2 Merge PR from GitHub: FRAMEGROUPS: add ability to specify explicit poses instead of the range. Thank you qqshka!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6283 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-20 01:08:51 +00:00
Spoike
8705adfb86 Revision 6270 was bad.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6282 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-30 04:12:24 +00:00
Spoike
c4b043d39f Fix some missing ambient sounds on large bloated maps/mods (this really should have been fixed years ago).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6281 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-29 07:20:24 +00:00
Eukara
4afdb54861 Roll back some wastes config changes, as we now have addentity_light...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6280 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-27 19:22:49 +00:00
Eukara
ad03c1f6a6 Add missing check for QUAKESTATS being defined in pr_cmds.qc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6279 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-27 18:28:43 +00:00
Spoike
304079e1dc Add a variation of the addentity builtin, for explicit light levels.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6278 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-26 08:08:50 +00:00
Spoike
81ab9277ac Make the various build config defines a little more robust.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6277 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-26 08:08:43 +00:00
Spoike
dae4ad6ed6 Fix up internal client/spec counters so servers don't incorrectly enter idle modes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6276 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-26 08:08:36 +00:00
Eukara
d3276ec658 Update wastes config.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6275 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-23 18:08:31 +00:00
Spoike
d8364a4cc2 Clean up the q3 plugin a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6274 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-20 07:16:16 +00:00
Spoike
d41ca13562 Fix fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6273 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-20 04:54:54 +00:00
Spoike
9371b7ca14 Be slightly more verbose on tcp failures.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6272 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:18:30 +00:00
Spoike
758f47ffc3 Fix ezhud images not loading.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6271 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:18:23 +00:00
Spoike
c715171416 Fix some qcc bugs with large structs (reported by qqshka).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6270 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:18:14 +00:00
Spoike
06038d496e First weapon wheel implementation.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6269 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:18:08 +00:00
Spoike
8faf8a7e96 Fix up our support for _Bool.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6268 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:18:00 +00:00
Spoike
d7454f4f78 Add DP_SV_SHUTDOWN, for qqshka.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6267 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:17:54 +00:00
Spoike
1068a62d75 Add vid_baseheight and vid_minsize cvars for TCs unhappy with vid_conheight to put in their default.cfg, instead of them feeling a need to force user settings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6266 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:17:48 +00:00
Spoike
c39c4d0255 Make sure getmodelindex/modelnameforindex and sound equivelents are available in both ssqc and csqc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6265 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:17:41 +00:00
Spoike
ce01181d88 wither reported that findkeysforcommandex wasn't present in menuqc. Fix that.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6264 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:17:35 +00:00
Spoike
89c37774ae basementApe reported segfaults in the audio init logic.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6263 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:17:29 +00:00
Eukara
f1c714a187 Stub INS_KeyToLocalName for SDL so we can build SDL2 again and ship a build out today.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6262 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-10 17:52:56 +00:00
Eukara
fab14e046f Fix a typo and therefore make a crash with QC server lists disappear
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6261 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-10 17:10:51 +00:00
Spoike
6bd79c8ff8 .ktx 2darray textures were being written incorrectly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6260 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-06 02:20:55 +00:00
Spoike
eb95a933de qqshka: seems like allow_download_particles and allow_download_logs cvars are not registered :E
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6259 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-06 02:20:49 +00:00
Spoike
2b440a186d Simplify QW network deltas. By just trusting the server instead of second-guessing it, we should get something more robust (at least for demo playback).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6258 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-02 06:08:21 +00:00
Spoike
33665b8d92 Use the correct function for plugins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6257 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 18:00:45 +00:00
Spoike
f59283aa56 Try to work around an nvidia issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6256 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 18:00:37 +00:00
Spoike
4fc371c7b4 compiler warning fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6255 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 18:00:30 +00:00
Spoike
a84fa2e534 Fix warning message.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6254 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 18:00:22 +00:00
Spoike
5743de1167 Make fteqcc handle dupe typedefs better (primarily to fix autoproto).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6253 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 18:00:09 +00:00
Spoike
bfdc0b59bd 'qqshka: btw, static actually helped' with hotkeys not working.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:59:57 +00:00
Spoike
12cdfc197f Make sure that either f_playmapend or f_specmapend work when f_mapend does, for people that want more specific behaviours. spec is ALWAYS used for demo playback too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6251 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:59:51 +00:00
Spoike
130d758077 Prevent IQM loader from crashing on bad models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6250 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:59:45 +00:00
Spoike
74e9015f9d Modelviewer should cope with more bones now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6249 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:59:39 +00:00
Spoike
368e094dcd Make sure areaportals get reset properly on map changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6248 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:59:33 +00:00
Spoike
0f8d07b8e8 Add lerptime protocol extension. Still WIP, don't record to demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6247 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:59:26 +00:00
Spoike
255ce795a0 Fix up some KTX issues (mostly bot related).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6246 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:59:17 +00:00
Spoike
f996ff5fc8 Fix up some .wal palette issues when running q2 bsps in q1 gamedirs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6245 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:59:08 +00:00
Spoike
08aedd4b5b Mouse4 now acts as a back button in our menus. Binds menu should now report system key names instead of guessed names (better non-qwerty support).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:59:01 +00:00
Spoike
c45b0e5cf8 Fix up statically linking the ODE plugin into the engine (eukara wanted me to fix this up).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6243 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:58:53 +00:00
Spoike
4d8015d9cf Update QE compat a bit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6242 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:58:45 +00:00
Spoike
3ea2f04d90 Allow for better encoding of guarenteed-unsigned values.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6241 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:58:39 +00:00
Spoike
ef74bc83a0 Make it a smidge easier for server admins to run community maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6240 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:58:33 +00:00
Spoike
e0f3c35414 Improve robustness with weird build configs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6239 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:58:27 +00:00
Spoike
9824304aa5 Make sure model fields are 0-filled, to avoid issues with models that are reloaded (eg when the user replaces them with a different type of model/etc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6238 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:58:21 +00:00
Eukara
b8b77e2a1d Update config_wastes.h for an upcoming playtest.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6237 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-27 18:33:48 +00:00
Eukara
7fea1f33ee OpenAL: Crush that annoying bug where volume changes creates clicks in the sound.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6236 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-05 23:28:33 +00:00
Eukara
bc8895c5fa Fix compiles without RTLIGHT. Update config_wastes.h
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6235 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-23 20:10:18 +00:00
Eukara
34e9917d76 Fix lightmap corruption that happens after a while.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6234 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-20 15:14:22 +00:00
Spoike
5aa018cf5b Fix windows issues with dtls.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6233 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-17 19:46:57 +00:00
Spoike
1636db0c6d Fix sequence error with our webrtc sctp support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6232 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-17 19:46:52 +00:00
Spoike
7f649df33e Fix up d3d renderers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6231 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-17 19:46:46 +00:00
Spoike
27c32fc1a0 Add a new net_ice_usewebrtc cvar for people that want to skip the extra overheads/bugs of webrtc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6230 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-16 20:28:18 +00:00
Spoike
2ac548e17f Make use of fitz's interpolation hints when they're provided.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6229 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-16 20:28:11 +00:00
Eukara
80df4533fe Undefine XAUDIO2 for TWTest
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6228 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-16 19:05:10 +00:00
Eukara
7998f9d42c More TW config adjustments in preparation for TWTest
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6227 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-16 18:59:50 +00:00
Eukara
6c5bd42d93 Fix compiling with HUFFMAN and HAVE_MEDIA_DECODER disabled, bump ODE version to latest stable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6226 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-10 17:43:33 +00:00
Spoike
7a8472ed6b Eukara complained about .fatness not working with hlmdl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6225 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-06 19:23:57 +00:00
Eukara
1dfa9e88cb Fix q3plug related crash when issuing a 'sv foo' server command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6224 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-02 16:22:05 +00:00
Eukara
078514f2d2 Bump zlib version to 1.2.12, as 1.2.11 seemingly reached EOL
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6223 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-31 15:52:44 +00:00
Eukara
6515c0e5cd Fix screenshot_cubemap command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6222 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-28 10:31:07 +00:00
Spoike
6f5180a915 Fix q3plug-related crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6221 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 07:21:44 +00:00
Spoike
29f9d620f9 Fix q3plug-related crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6220 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 06:20:33 +00:00
Spoike
7e67f46482 Fix Q2 tickrate issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6219 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:34:49 +00:00
Spoike
6dbfc0ebbe Fix msg_readcount issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6218 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:34:26 +00:00
Spoike
0d9a269ab4 Remove last plugin stubs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6217 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:34:13 +00:00
Spoike
ba9a852d9d Move the q3 files into the plugins subdir.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6216 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:33:52 +00:00
Spoike
1a5c8da880 Make it easier to compile q3 statically.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6215 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:32:38 +00:00
Spoike
1c32a8ef8c Fix map_restart command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6214 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:32:31 +00:00
Spoike
e800079baf minor cleanup.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6213 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:32:25 +00:00
Spoike
73c05fe3b2 Fix up some stubs in the q3 plugin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6212 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:32:15 +00:00
Spoike
cb64ea30f9 Move playerview weaponmodel matrix into r_refdef instead, to fix viewmodel positions in q3.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6211 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:32:03 +00:00
Spoike
11d385ed77 Implement CG_R_LOADWORLD properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6210 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:31:52 +00:00
Spoike
6ceb76233c Move Quake3 support to a plugin. There's still a number of stubs+bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6209 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:31:34 +00:00
Spoike
dd9bdab8dc Add ZG_Free function for zonegroup memory.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6208 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:30:30 +00:00
Eukara
e55f21585e Fix graphical glitch on the sbar when cl_sbar is 0 and viewsize < 100.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6207 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-07 04:18:00 +00:00
Eukara
5f80e2b0a3 Merge patch from ticket #132 from illwieckz, making the utils target build 'iqmtool'
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6206 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-06 21:13:14 +00:00
Eukara
f66f43c70b Merge patch from ticket #131 from illwieckz, mkdir'ing the output dir for iqmtool
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6204 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-06 20:16:21 +00:00
Spoike
3e71c9863c Political statement.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6202 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-01 02:52:16 +00:00
Spoike
1fd65cc80d Use our json parser to make sense of emoji names instead of our previously hacked up mess.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6201 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-01 02:52:09 +00:00
Spoike
1af4e05ab6 Fix qw:// url stuff a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6200 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-01 02:52:02 +00:00
Spoike
c2633078ff Try to fix up package downloads, and dp-compat downloads too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6199 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-01 02:51:55 +00:00
Spoike
d9b4bc1a77 Make sure linux dedicated servers trim their memory usage on map change (ie: return freed memory pages back to the system).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6198 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-01 02:51:46 +00:00
Spoike
a5cb7af5d1 Fix silly q3-crash bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6197 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-01 02:51:41 +00:00
Spoike
51ed3456e8 Add linux_aarch64 target to the cross-compile build scripts.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6196 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-19 20:49:56 +00:00
Spoike
1f707225e3 cmdlist now accepts wildcards. qqshaka was the first to notice it previously sucked.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6195 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-19 20:49:49 +00:00
Spoike
01c498d136 Remove Q2 hacks from the usercmd_t type. Just translate them without trying to be clever.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6194 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-19 20:49:42 +00:00
Spoike
4e1b665277 Fix https://sourceforge.net/p/fteqw/tickets/115/
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6191 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-19 20:49:17 +00:00
Spoike
bd64ae2d17 Disable r_dynamic when r_shadow_realtime_dlight is active (both at the same time is a waste of processing time). Also treat the rerelease's world lights as dlights instead of just world lights, which should give behaviour closer to what's expected.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6190 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-19 20:48:59 +00:00
Spoike
c5daf67332 Tweak IQM tool to cope with longer bone names.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6189 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-19 20:48:51 +00:00
Spoike
dd03b69609 Move our gltf's json parser into the engine-proper, implement QC builtins to make json parsing available to qc. API defined by Joshua Ashton.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6188 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-19 20:48:40 +00:00
Spoike
242dea4676 Try and be a bit more portable; allow .map support in browser ports.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6186 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-07 14:34:36 +00:00
Spoike
75f11ba33b Fix CSQC_UpdateViewLoading.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6185 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-07 14:34:30 +00:00
Spoike
73f6df016c A few minor tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6183 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-07 14:34:11 +00:00
Spoike
c6e00068db Try to fix some qcc bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6182 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-07 14:34:02 +00:00
Spoike
88858f7698 Bump ent counts by a smidge.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6181 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-07 14:33:56 +00:00
Spoike
40232ab5ca Lets just default this cvar to 1, in the hopes that it'll force windows' timers to not be quite so lame.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6180 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-07 14:33:49 +00:00
Spoike
87ee3298a3 Let the browser port access the system clipboard (where permitted/allowed by browsers).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6179 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-07 14:33:44 +00:00
Spoike
711bd8a990 try to fix chrome's disconnection issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6178 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-30 11:44:37 +00:00
Spoike
98c60de572 Should at least build for android again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6177 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-30 07:18:34 +00:00
Spoike
42430d4712 Fix some misc memory leaks and a few other minor issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6176 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-30 05:55:01 +00:00
Spoike
5fb58a8990 Trim some redundant stuff from ftemaster.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6174 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-28 10:48:21 +00:00
Spoike
0f5c092a96 Fix +strafe with mouse movements, for Aberrant.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6173 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-28 10:48:14 +00:00
Spoike
29b5f51077 Try to work around Chrome's mouse-grab woes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6172 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-28 10:48:07 +00:00
Spoike
86d2f0e0d4 Provide support for webrtc's sctp-over-dtls stuff, providing browser+native connectivity (via broker).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-28 10:48:01 +00:00
Spoike
43565e4363 Increase QEx strings limit, for mods that use fancy writebyte hacks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6170 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-28 10:47:52 +00:00
Spoike
bc2c6efa08 Fix our sha224 implementation.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6169 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-28 10:47:44 +00:00