Commit Graph

5181 Commits

Author SHA1 Message Date
Spoike 2ce617ce7a Update the qclib-only makefile. linux's gcc didn't like the -l ordering.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5755 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-08 03:21:27 +00:00
Eukara 42d810b320 Support for HL SPR's INDEXALPHA blend type.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5754 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-05 18:58:12 +00:00
Spoike 64fb49e908 Fix crash from DNS resolution failures.
Additionally attempt to work around ISPs with dodgy DNS services.
Add tls_provider cvar, for builds using both gnutls and openssl.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5753 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-26 09:30:51 +00:00
Spoike 79d851d6ea Fix some crashes with rtworld enabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5752 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-26 09:25:48 +00:00
Spoike 8651ff62d8 fix 24bit skins to work again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5751 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-24 07:52:55 +00:00
Spoike 244b0681ed dont use CLOCK_MONOTONIC when not defined (should fix compile-time issue on non-posix macos, reported by rhoenie).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5750 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-24 07:50:15 +00:00
Spoike da6b6c3e6c qcc: Avoid crashing from trying to warn about uninlinable inlines.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5747 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-16 04:41:11 +00:00
Spoike 0c0b6c3ed0 Try to explicitly opt in/out to windows's ASLR in release/debug builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5746 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-16 04:40:13 +00:00
Spoike ac4e7c396c Only try to autoupdate the fmf file if we know which file to actually update... (should fix a crash).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5745 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-16 04:00:46 +00:00
Spoike 22ea0b87d7 Try to fix up some qcc inline logic to no longer result in so many offset_0 values.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5744 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-15 04:31:27 +00:00
Spoike 51ef92fa52 Add map selection list to menusys. Some other minor tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5743 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-13 10:09:39 +00:00
Spoike 744b9a25db try to fix common-symbol conflicts in windows builds.
attempt to provide some better gettext support for engine strings (especially cvar/command descriptions). still no translations available though.
try to optimise hldml rendering a little.
fix issue with menuqc models rendering as black when fog is active.
use threads to try to reduce stalls from player-skin switches.
add sys_clocktype cvar to linux builds too, with CLOCK_MONOTONIC by default.
enable dtls certificate pinning log stuff.
fix r_viewmodel_fov being used instead of fov cvar.
fix possible segfault when egl driver fails.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5742 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-13 08:39:48 +00:00
Spoike f7d46b7878 Fix clientside sv_cheats overriding server settings. Don't pointlessly stall for 5 secs when connecting via dtls.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5741 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-10 18:34:10 +00:00
Spoike 437a3091e4 Fix some recent bugs in fteqcc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5740 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-03 10:34:44 +00:00
Spoike 48d4e97515 Try to make the readcmd builtin more robust (by erroring out if some command destroyed the qcvm during execution). Stop forceinfokey from spamming when the new value is unchanged.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5739 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-01 06:33:05 +00:00
Spoike 1d4535f5a1 Add sys_clocktype cvar for windows, for people on older versions of windows that need to work around windows timer bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5738 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-01 06:28:22 +00:00
Spoike b005d9fdcd Try to fix missing impulses bug.
Fix skybox fog glsl compile error.
Implement DP_QC_FS_SEARCH_PACKFILE, search_getpackagename, and search_fopen.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5737 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-21 07:58:54 +00:00
Spoike a3a0e1eae1 Do the _xyz thing for vectors in structs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5736 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-19 22:39:10 +00:00
Spoike 8a20cb3a70 Annonymous union/struct fields were not initialising their symbol data properly for vector types.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5735 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-19 16:00:31 +00:00
Spoike 4d1a45109c Fix msvc compile issue reported by ericw. Tighten some syntax checks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5734 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-19 01:38:42 +00:00
Eukara 00dc8aad4f Makefile: Force PKGCONFIG on OpenBSD
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5733 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-17 16:19:35 +00:00
Spoike 1ff329062f Fix 'enum int {};' syntax.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5732 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-16 19:23:00 +00:00
Spoike bd29617dce Fix NOT_I instruction emulation.
Fix 'struct{.float a,b;}' type confusion.
Display a more helpful message when too many globals are used.
Fix warnings about qcc commandline (eg when -max_regs is used).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5731 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-15 23:50:30 +00:00
Spoike 6ffa59d684 Warn when fog rgb is specified above 2. fog rgb is supposed to be floats, not byte values. The oversaturation causes problems with skyboxes and other infinite-distance type things.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5730 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-15 23:47:04 +00:00
Spoike 457b7e5f58 Fix warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5729 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-14 01:16:20 +00:00
Spoike 6bea300f30 Allow menuqc to access the clipboard. Fix some c++ish warnings. Fix SDL build linker issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5728 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-14 00:48:56 +00:00
Spoike 474aaf68a2 Add support for generating DP-style arrays, now that it looks like they might actually be getting support in DP...
Update list of opcodes usable with -Tdp
Fix issue with logic ops resulting in crashes.
Fix enumflags crashes.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5726 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-13 17:48:16 +00:00
Spoike 3129400101 Fix problem with symbol offsets (read: structs) and inline functions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5725 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-09 12:27:31 +00:00
Spoike 763888e1ff Try to fix a crash OMC had.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5724 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-07 22:05:36 +00:00
Spoike 82ecdfbfa8 Try to fix the bugs that Paril found... I wonder if I broke anything new.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5723 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-07 22:01:53 +00:00
Spoike c09cf1481a Fix fteqccgui compile issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5722 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-02 16:29:01 +00:00
Spoike f2fe6951b6 Fix up issue with \!int ignoring the upper bits.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5721 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-02 16:28:20 +00:00
Spoike 0bda1b5c38 Add support for writing uhexen2's v7 progs files.
Try to fix issues with newer gcc not merging common symbols any more.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5720 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-01 05:32:21 +00:00
Spoike 856cad09cc Try to switch some types in preparation for potentially switching to 64bit types (so qc timer can use doubles for longer map uptime).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5718 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:32:49 +00:00
Spoike ee55057f8d Make the help command easier for csqc to replace without needing to use menuqc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5717 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:32:36 +00:00
Spoike 9dda706952 Fix conditionals for -log and -nolog args.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5716 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:32:31 +00:00
Spoike 3c0743f169 Add offset pointer stores to fteqcc, for writable tempbuffers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5715 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:32:26 +00:00
Spoike 27cf81cde7 Attempt to make clang happier.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5713 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:32:16 +00:00
Spoike 18b2ee695f Engine and vm changes required for tempbuffers (along with a few related builtins like findlist).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5712 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:32:08 +00:00
Spoike 7a22fb2527 Support Middle+Drag to move around in modelviewer. Fix bone orientation display. Start frametimes at the start.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:32:00 +00:00
Spoike 571d16b14f Attempt to fix VK_NOT_READY issue on amd vulkan drivers, as well as xlib errors also on amd.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5710 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:31:55 +00:00
Spoike 08f8cb2d35 Fix double-free crash on TLS failure.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5709 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:31:48 +00:00
Spoike dfc44e5d36 Print a warning message when we try to make sense of an invalid/corrupt infostring.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5708 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-20 09:19:18 +00:00
Spoike dfed212698 Try to handle 'r_clearcolour 1 0 0' better without getting confused by palette indexes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5707 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-20 09:17:38 +00:00
Eukara 4851956acb GLX: Map the key 'MENU' aka K_APP to XK_Menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5706 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-13 20:02:55 +00:00
Spoike 5aa11ddbb1 makefile: attempt to fix freetype when not using makelibs (should make it slightly easier for people to compile with msys2 without needing to resort to cmake).
emenu: clean up hexen2's maplist options slightly.
emenu: modelviewer should now be slightly more friendly (click+wasd to move around).
particles: fix up randomised s coords.
csqc: try to fix issue with applycustomskin not refcounting properly.
client: [s_]precache and (new) mod_precache cvars can be set to 2 to precache the resources after load, for faster loading at the expense of some early stutter, without risking later mid-game stuttering.
gltf: add support for morphweights in a cpu-fallback path. don't expect good performance on surfaces with morphtargets for now.
gtlf: add some support for gltf1 files. far from perfect.
shaders: gltf1 semantics handling
shaders: const correctness
iqmtool: fix up mdl skin export.
iqmtool: integrate the engine's gltf2 loader. works with animated models, but unanimated ones suffer from basepose-different-from-bindpose issues.
q3bsp: hopefully fixed bih traces. still disabled for now.
qc: change default value of pr_gc_threaded to 1.
qcext: add the '__deprecated' keyword to various symbols in fteextensions.qc, now that fteqcc supports it.
ssqc: spit out a more readable error for WriteByte(MSG_CSQC,...) outside of SendEntity.
ssqc: add registercommand builtin, for consistency with menuqc and csqc (though only one can register any single command).
sv: report userinfo/serverinfo sizes (some clients still have arbitrary limits, plus its nice to see how abusive things are)
sv: try to optimise sv_cullentities_trace a little.
movechain: relink moved ents.
csqc: add spriteframe builtin, for freecs to use instead of more ugly less reliable hacks.
menuqc: fopen("tls://host:port", FILE_STREAM) should now open a tls stream. tcp:// should also work.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5703 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-12 23:29:58 +00:00
Spoike a37f70e5f0 Add con_savehistory cvar, so the user can disable saving conhistory.txt all the time.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5702 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-01 01:41:17 +00:00
Spoike f6874f99b8 Don't trigger link clicks from RMB while scrolling the console up/down.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5701 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-01 01:38:55 +00:00
Spoike 24267a24ae Add spriteframe csqc builtin (presumably only useful for freehl/freecs).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5700 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-01 01:31:46 +00:00
Spoike f688882d3e Fix r_dynamic.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5699 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-01 01:30:31 +00:00
Spoike 62a4572f23 Fix some -TFTE issues with xonotic.
Implement OP_STOREF_F, but don't generate it just yet (waiting for next 'stable' build).
Just disable fteqcc.log by default. If this affects adversely you then you should probably just be using fteqccgui instead.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5698 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-05-30 12:12:46 +00:00
Spoike df5b4e4e48 Add -nolog arg for windows users to disable fteqcc.log files (and a -log arg for non-windows users).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5697 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-05-29 10:27:43 +00:00
Spoike 53deb25340 Add __deprecated keyword. Add strlen intrinsic.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5696 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-05-20 02:00:37 +00:00
Spoike 80474cc3be Fix web+android targets. Fix some relatively recent quake2 bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5695 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-05-16 13:12:58 +00:00
Spoike c949500da8 Implement preliminary openxr plugin. inputs are still useless (can HOPEFULLY result in some prints, but nothing else), and there's no considerations for 2d things.
Fix prediction issues with the ftenq protocol.
Fix some console image previews.
Added mod_precache cvar. set to 0 to significantly reduce memory usage in xonotic...
Prevent xonotic's random file writes from forcing full worker syncs, for faster loading.
QTV connections are now accepted only from localhost peers by default.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5694 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-05-14 15:50:26 +00:00
Spoike 402fd12785 Fix uninitialised locals detection (for both -WF302 and -Olo).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5693 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-05-14 13:43:32 +00:00
Spoike 89f1fa4011 Try to fix antilag crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5692 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-05-02 10:55:23 +00:00
Spoike 31a2726f10 Fix typo on a minor builtin's number.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5691 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-05-01 11:36:20 +00:00
Spoike 9859e199a0 Tweak emcc args to try to stop the web version of shpuld's bloodletter game from crashing. Still basically unplayable though.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5690 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-05-01 07:57:31 +00:00
Spoike 5d1d1ef9be Fix up some netquake initial angle quirk.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5689 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-05-01 07:34:21 +00:00
Spoike 08ccf2d0a8 Fix up some netquake initiak angle quirk, and related quirks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5688 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-30 14:33:58 +00:00
Spoike 813c8c54ff Some compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5687 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-29 15:07:25 +00:00
Spoike 4b8f303ca9 Some compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5686 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-29 13:16:33 +00:00
Spoike 97861a59a3 Some compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5685 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-29 12:25:24 +00:00
Spoike 6931c565df Some compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5684 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-29 11:43:33 +00:00
Spoike 4c2066601a Support connecting subnodes to servers over tcp (instead of depending on fork).
Fixed up the -netquake / -spasm / -fitz args slightly, should actually be usable now.
sv_mintic 0 is now treated as 0.013 when using nqplayerphysics, to try to make it smoother for nq clients.
Preparing for astc's volume formats. Mostly for completeness, I was bored. Disabled for now because nothing supports them anyway.
Fix broken mousewheel in SDL2 builds.
Fix configs not getting loaded following initial downloads in the web port/etc.
Make the near-cloud layer of q1 scrolling sky fully opaque by default (like vanilla).
Sky fog now ignores depth, treating it as an infinite distance.
Fix turbs not responding to fog.
r_fullbright no longer needs vid_reload to take effect (and more efficient now).
Tweaked the audio code to use an format enum instead of byte width, just with the same values still, primarily to clean up loaders that deal with S32 vs F32, or U8 vs S8.
Added a cvar to control whether to use threads for the qcgc. Still disabled by default but no longer requires engine recompiles to enable!



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5683 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-29 10:43:22 +00:00
Spoike 7e66608b36 Fix stupid buggy flawed bounds check.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5682 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-26 04:24:22 +00:00
Spoike b332742d6f Fix the web port's numerous audio issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5681 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-26 01:32:02 +00:00
Spoike a92778fdbe Fix the web port's decals.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5680 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-26 01:31:00 +00:00
Spoike 0e8d1acb05 Try to fix load times with certain q3bsps, by deferring phs calcs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5679 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-24 12:11:29 +00:00
Spoike ab36996acd Try to fix compressed audio loading issue with the web port.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5678 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-24 12:09:48 +00:00
Spoike eb277c45bd Fixes https://sourceforge.net/p/fteqw/tickets/81/
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5676 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-24 04:23:13 +00:00
Spoike 5b6b902c29 Fix music not looping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5675 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-19 10:17:11 +00:00
Spoike 9c0c6c5cc1 Fix music not looping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5674 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-19 08:29:58 +00:00
Spoike 9c348a4bc8 Fix underflow bug in Base64_EncodeBlock
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5673 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-19 05:13:51 +00:00
Spoike 843f971e2c minor compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5672 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-19 05:11:19 +00:00
Spoike 81617eaebc minor compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5669 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-19 03:44:32 +00:00
Spoike e8aa715763 disabled some quake-only teamplay stuff in non-quake builds.
GL: r_dynamic -1 is now r_temporalscenecache 1, which makes menu options etc a little friendlier. fixed a serious memory leak.
GL: Lightmaps are now uploaded using pbos to reduce cpu stalls (especially with temporalscenecache) and the resulting periodic framerate drops. Requires gl4.4.
PM: moved manifest-downloads to the package manager. still needs some proper testing.
PM: Fixed bug with downloading updates from every known mirror for that update.
PM: Fixed bug with duplicate mirrors...
PM: menuqc is now able to query available updates.
engine's Draw_TextBox centers the text box more appropriately and easily.
SV: added sv_autooffload cvar, when set the map command will automatically create a server in a separate process to reduce the effects of stutter in inefficient ssqc mods.
Menu: menu_mods now shares data with getgamedirinfo builtin.
MenuQC: Added some extra properties to the getgamedirinfo builtin.
MenuQC: Added Menu_RendererRestarted entrypoint.
MenuQC: _vid_renderer_opts cvar now has a value that actually reflects the windowing systems in the build, rather than just renderers.
CQSC: Added getlocationname builtin.
ALSA: device names are now more consistent with other audio drivers.
SV: added unsavegame console command, to delete unwanted saved games.
SV: hashtable entries are now saved into saved games.
SV: reworked player remapping strategy when loading games. Player slots are now directly swapped serverside, not reconnected.
SV: resend all csqc entity state when a client signals that it started recording a demo.
SV: Added SOLID_BSPTRIGGER as a shapely alternative to the aabb SOLID_TRIGGER. modelindex must still be set for this to work.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5668 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-19 01:23:32 +00:00
Eukara dba2e93f51 Fix memalloc corruption between saves/changelevel
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5667 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-12 19:14:08 +00:00
Eukara 82f4b73a44 WAD3 inverted decals don't actually exist non-white
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5666 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-02 20:28:11 +00:00
Eukara d45889800f Manifest cvars can now be queried via getgameinfo.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5665 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-04-01 09:27:04 +00:00
Eukara 00479d0567 WAD3: Handle decals with their 255-index hack.
At least I *think* how this is meant to be handled - looks okay.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5664 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-29 19:42:40 +00:00
Eukara b8a81d1868 Permission to kill the glass-shader hack.
It would have been cvar'd, but we figured it'd be a waste of LOC.
Handle this in the game-logic instead.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5663 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-29 18:37:10 +00:00
Eukara cd21e68e3b Fixed frameduration() for HL MDL
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5662 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-29 09:49:12 +00:00
Eukara baa9f5004a Fixed FreeType 'makelibs' URL
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5661 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-29 06:36:49 +00:00
Spoike e9ee4b8fdd Fix issue with non-q2 servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5660 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-29 04:42:43 +00:00
Spoike 11e41f1e7d Fix some Q2 issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5659 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-28 01:46:25 +00:00
Spoike 2d1699985f rework music looping a little so that eg 'cd play' does not loop, like vanilla
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5658 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-27 00:49:13 +00:00
Spoike 73af4c8bf1 fix some compile bugs...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5657 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-26 13:12:03 +00:00
Spoike b63dc8b880 prepare for proper binary auth instead of depending upon tls certs (using sha2(512) to ensure no modification). probably buggy on windows so not fully enabled yet.
allow for binary updates on linux as on windows (-allowupdate for modified/nonsvn builds).
dlightmask is now size_t, because we might as well allow that on 64bit cpus, this allows for 64 lightmaphack lights instead of 32.
fix potential openal issue with source=0.
added q3bsp_ignorestyles cvar to ignore rbsp styles (and reduce needed batch counts), should only be used on maps with subtle lighting changes (ones that are properly lit without toggling any lightswitches).
add support for directly loading foo.bsp.gz
Added prints to clarify why servers might be listed under the 'UNKNOWN' category in the master server. Attempt to show hostnames anyway, to make it a little more obvious who's responsible for those badly configured servers.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5656 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-25 21:29:30 +00:00
Spoike 9aa87ad28e Fix the SendEntity geomsets issue Eukara found.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5655 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-25 20:56:01 +00:00
Eukara 7d0014bf34 Fix RBSP fixed-patch loading.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5654 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-20 11:37:18 +00:00
Eukara 9d3bf714a5 fixed the fteqcc help screen misnaming asm as flag
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5653 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-16 03:49:43 +00:00
Eukara e11a3da66e Ignore vmap_ material prefixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5652 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-16 03:47:01 +00:00
Spoike 5016371660 Slightly better decompiler behaviours.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5651 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-15 06:58:03 +00:00
Spoike 2152eda3d0 Attempt to add autocomplete+calltips to the qt version of fteqccgui.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5650 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-14 17:39:31 +00:00
Spoike 19a2ecb99e Attempt to add autocomplete+calltips to the qt version of fteqccgui.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5649 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-14 17:38:55 +00:00
Spoike d0b7519242 Fix assignment to static class members const issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5648 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-14 17:31:17 +00:00
Spoike 4beaf0e0c8 Fix miptex crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5647 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-08 18:10:50 +00:00
Spoike 9a88730ba8 Properly fix TW dedicated servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5646 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-08 17:56:34 +00:00