Commit Graph

5211 Commits

Author SHA1 Message Date
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
Spoike 7f8b081b8c Make sure fte servers get listed under quakeworld and not netquake.
Fix some wastes dedicated server compile error.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5645 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-08 07:02:37 +00:00
Spoike 062cdf6b21 Q3TA: Added snd_ignorecueloops cvar to ignore auto-looping sounds.
Q3TA: Fixed script parsing, so the menus are not so broken.
Q3TA: added the UI_CIN_* and CG_CIN_* builtins for 2d cinematic playbacks.
Q3TA: backspace should work for gamecode text entry now.
Q3TA: map_restart now directly restarts without needing loading screens.
Fixed multiple envmap generation bugs.
Fixed envmaps getting flushed with r_keepimages 0.
Console image previews can now display cubemaps (although their orientation is probably a little off).
Made a 'remapshader' csqc builtin. Depending on the r_remapshader console command was stupid.
Fixed packet command to create a udp socket, if needed.
sv_public can now be set to a non-numeric name for custom names (instead of needing to poke sv_port too).
Support extended data on the end of miptex entries in bsps. Requires a qbsp (like vanilla) that doesn't rewrite the miptex entries.
Updated imgtool to generate/read our new extended miptex data.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5644 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-07 09:00:40 +00:00
Eukara 2b01dbea52 Mark fonts as IF_NOPURGE.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5643 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-02 04:00:54 +00:00
Eukara a9ce5e303c DTLS: ifdef'd timeout notice (thx rhoenie)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5642 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-03-01 11:48:20 +00:00
Eukara 99e9817dd8 Don't purge shadows on reinit (r_purgeimages fix)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5641 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-29 19:29:01 +00:00
Eukara ec58c94e03 Updated TW build config.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5640 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-28 20:39:40 +00:00
Spoike fe28099e68 Switch to using epoll on linux, because we can.
Rework q3bsp_mergedlightmaps as q3bsp_mergelightmaps. Now a boolean filling to the gpu's limit. Now also fills horizontally too.
ftemaster now provides needpass info for sv_public 2 servers.
fix (most?) ftemaster crashes.
ftemaster now supports protocol name aliases (allowing for more friendly game names in its html).
ftemaster now pings the servers from a different port. This should highlight/exclude servers that are unreachable for nat/firewall reasons.
Fix memory leak from mvd recording.
Servers should now cope better with ctrl-z and related fg/bg unix shell commands.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5638 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-26 00:37:52 +00:00
Eukara 62f2a380e1 Performance boost by correctly batching lightmaps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5637 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-25 00:30:34 +00:00
Eukara fa62cd2678 TW config changes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5636 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-23 22:02:51 +00:00
Eukara 430c87ebe1 Added logos subdir to TW. Needed for the sprays...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5635 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-21 23:14:18 +00:00
Eukara 48cbd50217 Make sure TW builds with static FreeType.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-20 21:19:41 +00:00
Spoike 5626c20876 Fix some wayland bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5633 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-20 02:41:02 +00:00
Spoike dbc76288a5 Fix discoloured screenshots bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5632 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-20 02:33:15 +00:00
Spoike a5c1adc630 Fix bug with host-less rtc:// schemes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5630 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-16 19:27:31 +00:00
Spoike fc6b45a105 Fix teamplay setting descriptions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5629 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-16 19:26:58 +00:00
Spoike 006b074f2b Reformat output of 'dir' command, and allow 'ls' as a synonym.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5628 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-16 19:18:31 +00:00
Spoike e098e06663 Make sure timing info is correct for botclients, preventing weirdness with clientside prediction of other players.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5627 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-16 19:17:43 +00:00
Spoike 21c077bbb5 Send frag updates according to client protocol (removing warnings due to bots being sent messages).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5626 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-16 19:16:19 +00:00
Spoike a777ea642e Be less weird with regard to botclients and qw physics.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5625 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-16 19:14:48 +00:00
Spoike e38b1faa3e fix msvc incompat.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5624 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-16 19:13:55 +00:00
Spoike e42558cd60 fix a crash if packets arrive in unexpected orders.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5623 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-16 19:13:15 +00:00
Spoike c4cc904f14 fix sv_public 2 servers not being displayed
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5622 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-16 19:12:16 +00:00
Eukara 3e0b1af72b Remove shader override for clutter...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5621 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-13 01:27:15 +00:00
Spoike bfa5cef4d3 Fix misc obscure builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5620 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-12 12:15:56 +00:00
Eukara b0a9b18b55 We now handle Quake 2 BSP flow textures.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5619 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-12 03:06:48 +00:00
Eukara e655d13d0e Fix wrong Quake 2 BSP rendering properties and serverinfo allow_skybox
1.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5618 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-12 02:09:26 +00:00
Eukara 7dfdd68dd5 Updated TW's engine config.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5617 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-11 23:13:53 +00:00
Eukara 9099d2796b Always sample lightgrid a bit higher up, because anything close to the
ground usually turns pitch-black that's got a smaller bounding box.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5616 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-11 23:12:33 +00:00
Eukara 237a9e820f Prevent killing the sound in AL when soundupdate changes the volume to
0. We need this.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5615 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-11 23:08:11 +00:00
Spoike 9033f7b237 fixed eztv md4 incompatibility.
reimplemented qtvreverse command.
fixed some stuffcmds being handled by the wrong splitscreen seats (was noticable in TF).
rework smartjump to try to be more predictable...
rework relighting to try to be more robust (and more self-contained).
allow the csqc to actually use VF_PROJECTIONOFFSET.
jump now moves upwards instead of trying to lock on to a nearby player when spectating.
assume 32 fullbright pixels when running with a palette.lmp yet no colormap.lmp (happens with some total conversions).
tweaked scoreboard for fainter backgrounds.
rearranged autoid, to be smaller etc.
hacked around dodgy conchars.lmp - don't treat 128*128 qpics as qpics to work around workarounds for buggy wad tools (with a warning).
fixed missing fullbrights on h2holey models.
avoided warning about mod_h2holey_bugged on dedicated servers.
added net_ice_exchangeprivateips, for people worried about exposing lan IPs when using ICE.
sv_public 2: implemented client support for our webrtc broker in order to use our own ICE implementation without needing to faff around with irc accounts or plugins etc.
TODO: ensure at least one ephemerial udp port when using ice or come up with some better sv_port handling
fixed multiple tls bugs (one could cause server problems). change net_enable_tls to disabled by default anyway (reenable for the server to be able to respond to https/wss/tls schemes again).
don't colourmap when there appears to be a highres diffusemap on q1 models.
imgtool now understands exporting from qpics in wads, as well as just mips.
implemented speed-o-meter in ezhud.
added removeinstant builtin to avoid the half-second rule.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5614 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-11 18:06:10 +00:00
Spoike 75593b6578 Block autorepeat from sending release events (consistent with win32).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5613 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-02-11 03:59:01 +00:00
Spoike 08547509e3 Fix overflow in sound mixing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5612 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-01-23 18:57:48 +00:00
Spoike a3d6a3fdec Clamp pitchspeed properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5611 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-01-23 18:53:52 +00:00
Spoike 95f13b3a34 Update fte's dds writing code, for better compat with gimp's dds plugin and non-dxgi formats.
Add additional format conversions (mostly for imgtool).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5610 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-01-20 18:49:13 +00:00
Spoike 79bd5bd8a9 Try to fix noise with certain sounds with rate scaling active.
Fix snd_playbackrate cvar not applying to csqc's sounds.
(Both issues reported by GoaLitiuM)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5609 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-01-20 18:43:46 +00:00
Spoike 0d01ec40ea Fix typo in fteextensions.qc (reported by daemon).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5608 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-01-20 18:40:49 +00:00
Spoike 1c2026c055 Fix wastes builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5606 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-01-20 18:38:50 +00:00
Spoike ffda35fae4 Integrate gltf2 support without external plugin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5605 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-01-20 18:36:45 +00:00
Spoike 8e656b4af8 Fix some qtv proxy bugs, some serious some less so.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5604 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-01-20 18:01:39 +00:00
Spoike 3d54173ad1 Make sure glowmod is set properly, even on viewmodels (bug reported by xaGe).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5603 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-01-20 17:58:45 +00:00
Spoike 4ea233bf8a Fix people needing help to get out of the help menu (reported by daemon).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5602 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-01-20 17:53:39 +00:00
Spoike 67b5041ec8 Added VF_PROJECTIONOFFSET to offset the projection (for GoaLitiuM).
Added mod_h2holey_bugged cvar for better compat with quakespasm's bugs (for xaGe et al).
Some minor compiler warning/error fixes.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5600 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-01-13 07:03:28 +00:00
Spoike 73f92fb799 Fix problems with last commit.
Fix rbsp not responding to lightstyle0 consistently.
Fix q2 not responding to any lightstyles.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5599 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-01-10 12:23:25 +00:00
Spoike bfea433dff Attempt to fix some nondeterministic build variations.
fix GPD_LIMIT_PITCH not properly limiting +lookdown.
fix plugins not auto-loading properly (when previously enabled, obviously).
engine updates now try to replace the 'launcher' binary, instead of chaining from it. this should make firewalls (and other shady special-case gldriver hacks) more consistent at the cost of not being able to revert to your initial revision.
imgtool can now extract from wads.
imgtool now compiles+works on windows (GoaLitiuM's code).
update ffmpeg plugin to handle more recent ffmpeg versions properly.
fix somewhat recent audio streaming bug with openal output.
fix sleep+abort qc builtins.
gltf2 plugin will now work better with blenders no-material files.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5598 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-01-09 15:35:40 +00:00
Spoike 246f24bafd Fix fs_cache getting outdated after file renames/removes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5597 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-01-02 05:48:05 +00:00
Spoike effeb6e089 Fix sv_public getting the wrong value in dedicated servers, and possibly other weird crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5596 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-01-01 07:46:41 +00:00
Spoike 40ce444015 Fix some compile issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5595 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-12-17 19:21:29 +00:00
Spoike d16c6646b7 GoaLitiuM's changes to fix msvc2015's cmake support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5594 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-12-17 17:41:12 +00:00
Spoike b4de288ca7 Emscripten is too lame to support c89's offsetof macro.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5593 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-12-16 18:57:32 +00:00
Spoike 630678f6e3 Add ReadInt+WriteInt qc builtins in csqc+ssqc respectively, add some extra docs for some other builtins.
Try to mimic dp's console background cvars, so we don't need to add so many files to run xonotic properly.
Don't bother trying to recognised xonotic automatically for now, it won't work well without extra fmf stuff anyway.
Try to fix up rotated 'wrbrushes' stuff. Untested.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5592 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-12-16 17:36:00 +00:00
Spoike eddf5dc6d1 Better warnings with some dodgy xonotic shaders.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5591 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-12-16 17:25:59 +00:00
Spoike c5909c6744 Fix compile error for secondary build configs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5590 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-12-16 17:24:09 +00:00
Spoike 5fa62eb2d0 backtrace stuff is glibc, not gnuc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5589 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-12-16 17:22:37 +00:00
Spoike 0cf6128ffe Remove void* pointer arithmatic to make msvc happy.
Change openal usage to try to be more conformant to spec (should only be an issue for less mature openal implementations though).
Added a developer warning if fog is oversaturated.
Fix crash when loading a game with an animated texture in view... yes, weird.
Support big-endian ktx files.
Added some wrath builtins.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5588 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-12-10 14:50:47 +00:00
Spoike 7d5de552b6 Try to fix timestamps issue that was breaking fully deterministic builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5587 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-12-10 14:36:53 +00:00
Spoike 7628dcae73 Fix openal channelupdate offset issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-11-25 04:20:56 +00:00
Spoike 322754174b Try to handle ctrl-z a bit better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5585 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-11-20 09:13:20 +00:00
Spoike deb756d25b Fix some problems in my recent commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5584 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-11-20 07:14:28 +00:00
Spoike 0884f32ddb Fix some problems in my recent commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5583 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-11-20 05:27:43 +00:00
Spoike 2c07bbac7d Fix some problems in my last commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5582 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-11-20 04:53:22 +00:00
Spoike 811bce25f1 Too many changes, sorry.
Change revision displays, use the SVN commit date instead of using __DATE__ (when there's no local changes). This should allow reproducible builds.
Added s_al_disable cvar, to block openal and all the various problems people have had with it, without having to name an explicit fallback (which would vary by system).
Add mastervolume cvar (for ss).
Add r_shadows 2 (aka fake shadows - for ss).
Add scr_loadingscreen_aspect -1 setting, to disable levelshots entirely, also disables the progress bar (for ss).
Better support for some effectinfo hacks (for ss).
Added dpcompat_nocsqcwarnings (because of lazy+buggy mods like ss).
Rework the dpcsqc versions of project+unproject builtins for better compat (for ss).
Added dpcompat_csqcinputeventtypes to block unexpected csqc input events (for ss).
Better compat with DP's loadfont console command (for ss).
Added dpcompat_smallerfonts cvar to replicate a DP bug (for ss).
Detect dp's m_draw extension, to work around it (for ss).
Cvar dpcompat_ignoremodificationtimes added. A value of 0 favour the most recently modified file, 1 will use DP-like alphabetically sorted preferences (for ss).
loadfont builtin can now accept outline=1 in the sizes arg for slightly more readable fonts.
Fix bbox calcs for rotated entities, fix needed for r_ignorenetpvs 0.
Hackily parse emoji.json to provide 💩 etc suggestions.
Skip prediction entirely when there's no local entity info. This fixes stair-smoothing in xonotic.
screenshot_cubemap will now capture half-float images when saving to ktx or dds files.
Fix support for xcf files larger than 4gb, mostly to avoid compiler warnings.
Fixed size of gfx/loading.lmp when replacement textures are used.
Added mipmap support for rg8 and l8a8 textures.
r_hdr_framebuffer cvar updated to support format names instead of random negative numbers. Description updated to name some interesting ones.
Perform autoupdate _checks_ ONLY with explicit user confirmation (actual updating already needed user confirmation, but this extra step should reduce the chances of us getting wrongly accused of exfiltrating user data if we're run in a sandbox - we ONLY ever included the updating engine's version in the checks, though there's nothing we can do to avoid sending the user's router's IP).
Removed the 'summon satan all over your harddrive' quit message, in case paranoid security researchers are idiots and don't bother doing actual research.
Removed the triptohell.info and fte.triptohell.info certificates, they really need to stop being self-signed. The updates domain is still self-signed for autoupdates.
Video drivers are now able to report supported video resolutions, visible to menuqc. Currently only works with SDL2 builds.
Added setmousepos builtin. Should work with glx+win32 build.
VF_SKYROOM_CAMERA can now accept an extra two args, setviewprop(VF_SKYROOM_CAMERA, org, axis, degrees).
Removed v_skyroom_origin+v_skyroom_orientation cvars in favour just v_skyroom, which should make it behave more like the 'fog' command (used when csqc isn't overriding).
Added R_EndPolygonRibbon builtin to make it faster+easier to generate textured ribbon/cable/etc wide lines (for TW).
sdl: Fix up sys_sdl.c's file enumeration to support wildcards in directories.
edit command now displays end1.bin/end2.bin correctly, because we can.
Finally add support for f_modified - though ruleset_allow_larger_models and ruleset_allow_overlong_sounds generally make it redundant.
Fix threading race condition in sha1 lookups.
Updated f_ruleset to include the same extra flags reported by ezquake.
A mod's default.fmf file can now contain an eg 'mainconfig config.cfg' line (to explicitly set the main config saved with cfg_save_auto 1 etc).
fmf: basegame steam:GameName/GameDir can be used to try to load a mod directory from an installed steam game. The resulting gamedir will be read-only.
HOMEDIR CHANGE: use homedirs only if the basedir cannot be written or a homedir already exists, which should further reduce the probability of microsoft randomly uploading our data to their cloud (but mostly because its annoying to never know where your data is written).
Fixed buf_cvarlist, should work in xonotic now, and without segfaults.
Added an extra arg to URI_Get_Callback calls - the response size, also changed the tempstring to contain all bytes of the response, you need to be careful about nulls though.
Try to work around nvidia's forced-panning bug on x11 when changing video modes. This might screw with other programs.
sdl: support custom icons.
sdl: support choosing a specific display.
Added some documentation to menuqc builtins.
menusys: use outlines for slightly more readable fonts.
menusys: switch vid_width and vid_height combos into a single video mode combo to set both according to reported video modes.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5581 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-11-20 03:09:50 +00:00
Spoike 3e376f4cb2 Fix ktx compat issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5580 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-11-14 16:27:03 +00:00
Spoike e95ead86e9 Fix deluxemaps issue with q3 lightmap merging, and a couple of other minor issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5579 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-11-04 17:24:11 +00:00
Eukara b4c87a1857 Fix building for OpenBSDs 6.6 freetype change.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5578 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-11-03 08:41:36 +00:00
Spoike 10718b339c Try to fix Sock's window-not-sized-properly issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5577 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-30 14:33:32 +00:00
Spoike ff5237f066 Try harder to block ezquake's buggy extensions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5576 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-30 14:03:59 +00:00
Spoike e296ee5cc3 Split up SDL stuff in the build_wip stuff, so I can build linux64-sdl separately from the others.
Fix up LTO stuff, some misc makefile tweaks.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5575 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-27 06:59:19 +00:00
Spoike c0e297c93d Don't try and generate vbos for surfaces with no verts nor elements.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5574 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-26 09:37:52 +00:00
Spoike 81ade0c5d3 Fix grey textures coming out as too dark.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5573 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-26 09:32:38 +00:00
Spoike 6a7f1d5eff Build fixup: separate BUILD_WINDOWS into BUILD_WIN32 and BUILD_WIN64.
Don't use outdated header versions (png versions were conflicting, causing errors).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5572 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-20 05:02:37 +00:00
Spoike dc57faa013 Q3 input fixups.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5571 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-19 22:02:12 +00:00
Spoike 11e6214daf Add explicit skyroom fog.
Changed how cubemaps are held in memory, making all images basically just 3d textures.
Don't start up at all if no game data is found.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5570 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-18 08:37:38 +00:00
Spoike 371909fb30 bullet plugin should now be compilable for windows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5569 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-18 07:04:38 +00:00
Spoike bdc2b01f11 Fix a couple of bugs with ezhud.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5568 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-18 03:37:15 +00:00
Spoike bf1bd72be4 Use reflectcubes more often.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5567 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-15 18:10:14 +00:00
Spoike 76f1f0ef66 Better compat with quakespasm's demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5566 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-14 02:36:57 +00:00
Spoike 9984042186 XCF support now works with 16bit+32bit linear float source files, and 16bit int files too.
Added a couple extra pixel formats to the dds loader.
Format conversions are handled via a table. Additional conversions added.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5565 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-14 02:36:13 +00:00
Spoike 1d56c1443e Optimise env_cubemap. Fix some compile warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5564 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-07 04:51:17 +00:00
Spoike a524692e4f Fixes from ericw.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5563 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-06 22:41:02 +00:00
Spoike 0a88ecfb33 windows doesn't define GL_RGB32F.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5562 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-06 05:36:22 +00:00
Spoike 9ef5d8da85 Make things a little less annoying.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5561 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-06 05:12:13 +00:00
Spoike 1c1f04370f preliminary .xcf support.
imgtool tweaks.
some build system fixups.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5560 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-06 01:59:13 +00:00
Spoike b1f6417d3a Add snd_ignoregamespeed cvar, optionally making it easier to desync sounds...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5559 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-05 06:36:45 +00:00
Spoike 48c3c27793 Fix 'jerky spectators' bug, reported by Zel.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5558 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-02 06:07:40 +00:00
Spoike 0558ec638b Make sure freetype doesn't use the system/wrong png/zlib headers when compiled statically.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5557 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-02 04:33:36 +00:00
Spoike f3a779639c Fix build issue with bullet plugin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5555 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-10-01 22:19:09 +00:00
Spoike df3fca5bc0 Make sure libjpeg links properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5554 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-29 03:27:44 +00:00
Spoike b227fc2374 Make sure libjpeg links properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5553 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-29 03:27:24 +00:00
Spoike fde25234df Add lame image tool, for no real reason. Handy as a wrapper around astcenc. Only tested on linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5552 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-29 03:08:01 +00:00
Spoike be5466c9fd Some image fixups.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5551 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-29 02:16:34 +00:00
Spoike 4134353778 Update some dependancy versions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5550 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-26 02:48:55 +00:00
Spoike a09a8ebcc3 Some compile fixes and remove some dead code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5549 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-26 02:31:56 +00:00
Spoike cfd20f4f06 Update prediction code to propagate some values properly with certain protocol combinations that I'd overlooked.
Try to fix problems caused by (auto)save's screenshots
Added code to allow falling back on stbi for when libpng/libjpeg are not compiled it, at eukara's request.
Handle .exr image files as suggested by eukara, when the appropriate library is available.
Fix mipmaps etc for half-float files.
Enable support for stbi's special gif loader, loading gifs as an 2darray texture.
Add code for threading the qcvm's tempstring recycling, disabled due to paranoia but does otherwise help xonotic perf (at the cost of extra ram).



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5548 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-25 20:23:24 +00:00
Spoike 2498024a77 Improve Valve Texture File (.vtf) support, still disabled by default.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5547 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-22 03:25:09 +00:00
Spoike 131a6be4bc Fix ignore command.
Add cl_lerp_driftbias and cl_lerp_driftfrac cvars, to tweak drifting. changed defaults to try to reduce clamping.
Implement ladders with nq player physics.
Fix submodel contents with nq player physics.
Implemented drawrotpic_dp for compat (incompatible with fte's earlier implementation)
Added con_textfont cvar to set fonts without uglifying menuqc/csqc drawstrings that don't specify explicit fonts.
Enemycolor and teamcolor are now true cvars, which means they now work with seta.
Move the homedir from CSIDL_PERSONAL to CSIDL_LOCAL_APPDATA, because microsoft apparently scrape all CSIDL_PERSONAL data for upload to their servers, because they don't understand 'personal'. Will still use the old homedir if it exists.
Pack signon data without wasting so much, primarily to allow abusive mods to spew larger individual signon messages (hurrah for packet fragmentation).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5546 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-17 19:49:39 +00:00
Eukara 40b7193cef Grayscale Half-Life fonts upon loading them
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5545 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-17 18:43:59 +00:00
Eukara 6e3c5f2d8d HLMDL: Fix models with loads-of-bones from drawing incorrectly by doing
them in software instead if r_max_gpu_bones is set too low.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5544 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-16 17:34:57 +00:00
Spoike 8f02c55729 Load .obj meshes (yuck). They should at least be useful for loading the odd q3 .map file.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5543 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-15 15:20:20 +00:00
Spoike ea9936a340 Fix scr_scoreboard_showflags 1
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5542 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-15 15:09:36 +00:00
Spoike 22b494f171 Fix fteqcc struct args.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5541 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-11 17:35:03 +00:00
Spoike c6917a5f8c Added LMSTYLES16 support, increasing max lightstyles to 65k.
Updated networking for these extra lightstyles.
LMSTYLES[16] bspx lumps now also infer the number of styles per face, allowing for up to 16 styles per face.
Support a few more pixel formats in dds files.
Allow r_lightmap_format to be changed instantly.
Remove physics_bullet_enable cvar, as its inferred by whether the plugin is enabled or not.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5540 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-10 15:40:04 +00:00
Spoike 364328e212 Keep sbar more centered.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5539 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-08 15:36:44 +00:00
Spoike d2fd1daba8 Fix some CLIENT_ONLY issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5538 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-07 16:19:13 +00:00
Spoike 474f01d553 Fix emscripten.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5537 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-05 16:01:13 +00:00
Spoike 45f567dc34 cl_lerp_smooth 2 should include spectating as well as just demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5535 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-05 15:37:40 +00:00
Spoike 018afede9a Compile fixes (mostly focused on windows)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5534 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-05 00:01:01 +00:00
Spoike 5fa6e12d56 Compile fixes (mostly focused on windows)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5533 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-04 23:39:39 +00:00
Spoike 200ec8c246 Compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5532 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-04 09:15:13 +00:00
Spoike 41b0d993f2 smoother console scrolling (at least with the mouse)
support RLE+luminance+alpha tga files.
support half-float tga files.
recognise hdr astc images.
added appropriate fallbacks for astc support.
load mip-less .astc files (mostly just for debugging stuff).
allow packages to warn about required engine/gpu features.
catch when stdin flags get changed to blocking by external libraries, to avoid fatal stalls.
basic support for .mdx files (kingpin models)
sort packages loaded via wildcards, by datetime then name, to avoid random ordering from certain filesystems.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5531 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-04 08:32:22 +00:00
Spoike d561772bb0 stripped support for qvm-based plugins. rewrote native plugins to use a more efficient interface.
merged engine menus, native menus, game menus, plugin menus into a single layered menu interface, simplifying all the special-case input.
engine confirmation prompts can now show regardless of underlaying menus, including above the console.
skeletal formats can now provide their own way to build bones, for variable per-bone keyframes/interpolation methods/etc (used by gltf2).
updated various plugins for the new api.
removed qvm makefiles/scripts.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5530 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-04 07:59:40 +00:00
Spoike 6f00bc8e8a Fix the off-by-one that has been causing ogg vorbis crashes all these years.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5529 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-03 12:33:14 +00:00
Eukara 6e0a8d7e2d Expose IE_ constants to MENU, this has always worked just dumpplatform ignored it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5528 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-31 16:06:44 +00:00
Eukara a3810b4f50 Slightly more useful version output for pr_dumpplatform
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5527 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-31 15:38:11 +00:00
Spoike 9202c3f015 Restore choke lines into the netgraph, and support discontinuities so it doesn't look so weird. Also tweak realip warnings. Don't honour dupes if it would exceed rate limits (new data is better than dupe data), which can also double-up as a CBR type thing to try to reserve the bandwidth (avoiding packetloss bursts at the worst times).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5525 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-24 16:09:08 +00:00
Spoike 2377c3fa54 Compile fix (Wastes already removed those console commands).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5524 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-20 11:46:53 +00:00
Spoike 06be934fa2 Try to fix xrandr monitor selection - should now properly default to the primary monitor, as well as actually use it...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5523 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-20 11:45:43 +00:00
Spoike 267d9a1753 Make astc pixel formats more likely to load (nvidia are the only ones that don't support ldr astc on new gpus, but their drivers can emulate it so things still work).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5522 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-20 10:46:02 +00:00
Spoike eeba6c912e Remove the 'weapon' command and a few others in q2/q3. Never reset pending input angles to 0 (makes mods that use input_angles instead of view_angles work a bit better). Some c++ tweaks for the bullet plugin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5521 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-19 16:15:31 +00:00
Spoike b497142fa7 Fix some ragdoll issues with the modelviewer. Fix mouse not working in mods menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5520 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-19 16:10:57 +00:00
Spoike 2f6cd29511 Allow ragdoll joints to default to disabled, fix off-by-one bug (which can cause ode problems).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5519 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-19 16:09:47 +00:00
Spoike a6ec9fd9b5 Avoid unintended clamping when approaching slopes the wrong way (typically because of minor precision issues).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5517 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-19 16:01:24 +00:00
Eukara e9e15b77f6 qclib: register VF_SKYROOM_CAMERA to make the voices in my shell go away
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5516 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-17 23:41:25 +00:00
Spoike 3986dfe944 Add some warnings for ragdoll errors, instead of crashing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5515 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-16 20:28:13 +00:00
Spoike 1effff9be4 Some mapcluster/nq fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5514 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-16 06:58:37 +00:00
Spoike e378ff51ac Fix high's te_teleport effect.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5513 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-12 03:48:46 +00:00
Eukara 3250a794b3 Hardlink against Freetype on OpenBSD from now on. The versioning is different on systems apparently and we don't want dynamic linking to turn into a Lovecraftian nightmare
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5512 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-12 02:32:18 +00:00
Eukara 299921118d Use CC=cc on BSD systems. On OpenBSD that'll use clang which produces more stable results than its version of gcc. For example release builds will break on Quake 3 Arena when playing with bots.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5511 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-11 23:35:23 +00:00
Spoike c0b383886e Fix downloads-are-going-to-qw-gamedir bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5510 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-11 13:54:26 +00:00
Spoike c8b040b360 Fix obscure compile bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5509 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-11 07:02:38 +00:00
Eukara e7726fe42f Fixed crash with the getchannellevel QC builtin
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5508 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-11 05:34:37 +00:00
Spoike 93a9fe379a fix a few unrelated bugs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5507 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-11 05:32:53 +00:00
Eukara 3d55513a48 Fixed off-by-one that'll totally fix model issues, especially on OpenBSD.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5506 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-06 07:46:38 +00:00
Spoike 07ac8fd047 fix outline quirks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5505 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-03 18:02:21 +00:00
Spoike 15faa72a3d Fix gles-only builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5504 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-03 03:41:22 +00:00
Spoike 5066a8b1b5 Compile error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5503 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-03 02:28:31 +00:00
Spoike 707fba95cd Implement gl_outline, fixing some of the issues with my previous attempt.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5502 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-03 02:07:40 +00:00
Spoike 26e527a8a6 Fix compile issues when HAVE_PACKET is disabled, also removing references to resulting unusable hostnames.
Fix recent sizeof(void) error.
Fix crashes from 0-byte lit files (and a few other related bugs that noone else noticed yet).
r_loadlit 3 now generates e5bgr9 .lit format (for over-over-bright). Also supports world.light for minlight values, now also uses super-sampling (slower but nicer).
Additionally disable PEXT_TRANS in the FortressOne fork of ezQuake (sidestepping its inherited bugs).
Fix q3's sprites getting horizontally flipped.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5501 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-03 01:58:03 +00:00
Spoike 7991260cc0 Add BPTC (aka: bc6+bc7) fallback decompression.
Fix some warnings.
Work around ezquake's PEXT_TRANS bug - now properly gets disabled.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5500 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-01 02:13:44 +00:00
Eukara c159d90253 Fixed FTE not compiling on OpenBSD 6.5.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5499 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-30 23:34:18 +00:00
Spoike e88ae1537e Fix up SDL port.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5498 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-29 16:33:59 +00:00
Spoike b7204b7004 Fix some more stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5497 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-29 06:32:37 +00:00
Spoike 8612ca3437 Lets try enabling Z_EXT_PF_ONGROUND by default for a bit, lets see what explodes.
Some warning/compile fixes.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5496 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-29 06:04:43 +00:00
Spoike 7ca727489a Fix some warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5495 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-29 05:49:27 +00:00
Spoike 1b8e779b9b Last fix for skyrooms. Should now show entities in the skyroom.
Fix a couple of valgrind issues.
Added reason info for when a download fails.
Downloading models now forgets failed-to-load state, fixing a downloaded-but-still-missing bug.
Use anisotropic filtering in more fps_presets.
Fix significant fps loss when using the modelviewer.
First attempt at automatic LOD (supported for md3s and extended-iqms for now).



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5494 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-29 05:28:20 +00:00
Spoike 326f9dddc8 Fix skyrotate glsl compilation error, apparently nvidia are fine with qcish syntax while other drivers are not.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5493 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-21 05:00:29 +00:00
Spoike df8440d682 Make sure skyrooms show only the entities inside the skyroom (disabling non-static entities if their pvs is not reliable).
Make sure q2's skyaxis/skyrotate stuff actually works properly on skyboxes.
Add a cvar to spin skyrooms too (separate from skyboxes, allowing for double spins though probably only one will be useful).
Fix win32+reversedns issue.
Fix a splitscreen networking bug.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5492 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-19 02:13:19 +00:00
Spoike e0fe3c8dec vulkan: fixed anisotropy
vulkan: fixed msaa
vulkan: fixed some validation errors
input: fixed bug with mwheel etc failing to register
screenshot_360: default to vid width/height instead of assuming a megascreeny
images: reworked Image_ResampleTexture to handle image formats in a more generic way
console: toggle command now accepts two args to toggle the cvar between
skyrooms: fixed a couple of bugs.
x11-egl: should actually work now
wayland: fixed up some omissions. still needs more work but should at least be somewhat tolerable now.
server: be a little more friendly towards ktx
server: added sv_use_dns cvar, to report reverse-dns instead of ip addresses.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5491 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-16 02:59:12 +00:00
Spoike f75beaff81 Make sure the menus for quake2 and hexen2 have a splitscreen option.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5490 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-07 04:20:09 +00:00
Spoike 145c99e802 Make sure stripping actually happens now that we're spitting out .db files.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5489 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-03 18:27:09 +00:00
Spoike 69e1c6a880 Ignore maxclients limit when adding splitscreen seats for loopback.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5488 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-03 17:53:08 +00:00
Spoike 748f373783 Fix bug with xinput axis not triggering simulated buttons.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5487 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-03 17:41:30 +00:00
Spoike 49e10926be Fix bug with offset capsule collisions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5486 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-03 15:45:54 +00:00
Spoike af48d07bc5 Fixes for winX_sdl builds.
Disable -ffast-math in release builds, as it was causing problems.
Added a build config that disables a number of things that might trigger antivirus FALSE-positives (including all http+tcp support, process forking, tls/crypto), for use in SDL builds where any further system interactions is deferred to SDL. For crippled builds.
Made the output of the version command more verbose to reflect networking features.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5485 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-02 04:37:11 +00:00
Spoike 8197e0875f Track areas properly, so we don't bug out when a client has multiple cameras in different areas.
Fix up r_ignoreentpvs 0 to check areas properly.
checkpvs builtin can no longer mess up area checks elsewhere.
Write out foo.db files for release builds, in the hopes of at least getting function names from release-build crashes.
Implement _skyroom worldspawn field, still needs a few tweaks though.
Try to fix android surface-related crashes, AGAIN.
Separate parsing of connect requests, in preparation for formal logins (and removal of the old ranking code).
A few tweaks to try to improve compatibility with q3 mods.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5484 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-02 04:12:20 +00:00
Spoike 6c7220324e Fix some compile issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5483 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-27 14:38:51 +00:00
Spoike 1f421b40cc Try to fix emscripten build error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5482 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-22 03:11:41 +00:00
Spoike 73ef27d709 Fix quad-speaker audio crash when LG is fired (issue reported by Monster).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5481 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-21 23:08:34 +00:00
Spoike 9c7ba654b5 Add a maptimes log, to display best times (and whether a map has actually been completed).
update the qi plugin a little, and for maptimes.
Try to fix a bug with android.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5480 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-21 03:59:46 +00:00
Spoike 5fabdcd186 Fix missing symbol in certain build types.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5479 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-18 15:09:31 +00:00
Spoike 5c5830eb53 Fix possible crash with deluxemapping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5478 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-18 15:06:51 +00:00
Spoike 6ed36fa5a9 Fix shaders forcing lowercase.
Fix saving of infoblobs (larger than 48000 bytes will not be saved).



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5477 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-18 13:03:37 +00:00
Spoike 2715ee0767 That gl define wasn't defined on windows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5476 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-17 17:48:42 +00:00
Spoike 5721e754a6 Rework android code to avoid google's nativeactivity limitations.
Fix a number of gles2 bugs.
Fix infoblobs. they should be much more reliable now.
Added callbacks so csqc can know when serverinfo|playerinfo changes (at least for processing blob changes anyway).
Fix 'pkg addsource' not saving (and remsource).



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5475 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-17 04:21:41 +00:00
Spoike b0083491a7 Fix csqc te_lightning quirk.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5474 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-12 01:47:03 +00:00
Spoike 83199ef8d6 Match DP for no-size arg stringwidth.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5473 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-12 01:45:19 +00:00
Spoike 19ac844e90 Only activate the low-level keyboard hook if one of the relevant cvars is enabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5471 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-07 22:19:49 +00:00
Spoike 40c0eea061 Fix serverside issue with the second+ dpp7 download failing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5470 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-06 18:07:12 +00:00
Spoike 00ab3f5998 Fix serverside issue with the second+ dpp7 download failing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5469 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-06 18:03:01 +00:00
Spoike 1dd8153998 fix some warnings and some alternative build configs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5468 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-06 04:32:09 +00:00
Spoike 00885ffd27 Fix q2 cinematics (was giving black screens).
Add support for DP_SV_CLIENTCAMERA (primarily to work around an rmq bug).
Now pointing the engine at the shadowy updates.triptohell.info domain (with a self-signed cert), so that we can give fte.triptohell.info a proper cert that browsers will trust. Still need to make a stable release some time before that can happen.
Make sure q2 gamecode updates can work, so win64/linux64 can actually run q2 now (using yamagi's).




git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5467 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-05 20:48:06 +00:00