Commit Graph

4667 Commits

Author SHA1 Message Date
Spoike 6b712a4404 tiny fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5213 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-02-11 06:04:40 +00:00
Spoike 04c14f4600 stop movetype_toss+solid_trigger from touching themselves. this fixes lavaballs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5212 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-02-11 05:37:11 +00:00
Spoike 312d64bb4a try to fix non-glsl skybox.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5211 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-02-09 17:42:09 +00:00
Spoike 9f27189937 Fix missing sounds/etc with fteq2 servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5210 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-02-08 17:43:01 +00:00
Spoike f1f54311f6 fix some bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5209 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-02-04 13:16:25 +00:00
Spoike 7da299ee88 fix scrag/hknight trails - they're moving about 9 times too fast.
fix particle trail spam. oops.
fix ttf fonts not using fallback quake glyphs.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5208 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-28 04:12:59 +00:00
Eukara 0d82557c28 Fixed a crash when not supplying a demoname upon recording.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5207 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-25 20:43:00 +00:00
Spoike 912812083e try to fix some android issues...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5206 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-24 20:19:15 +00:00
Spoike f3ae58608b QUAKETC with dpmaster fix.
don't archive csprogs when it's getting saved into demos anyway.
bound bones when using a model with less bones than the relative skeletal object.
mute(dprint) xinput restarts.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5205 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-24 12:13:32 +00:00
Eukara 922b0ca2bb Fixes for The Wastes compilation under Linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5204 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-23 03:00:45 +00:00
Spoike 4c0f3ede74 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5203 fc73d0e0-1445-4013-8a0c-d673dee63da5 2018-01-23 01:49:49 +00:00
Spoike 999d677515 compiler warning/error fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5202 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-23 01:22:29 +00:00
Spoike 5fcc3d5524 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5201 fc73d0e0-1445-4013-8a0c-d673dee63da5 2018-01-22 20:50:50 +00:00
Spoike 9e8bb446f4 implemented pm_stepdown.
attempt to implement 'simple csqc' api.
handle qw+nq gunshot+blood+lightning differently - they do actually have different particle spawn patterns (qw is a single point, so spreads wider).
fix q3ui logo mesh thing. work around q3ui player meshes on d3d.
split video and renderer latching, so vid_reload delatches more stuff.
fix autosprite+autosprite2 in 6 different renderers...
added fog volumes to d3d9 renderer.
using matrix hacks instead of glDepthRange, this should give more consistent behaviour, especially now that we have r_viewmodel_fov.
small cleanup for gl shadowmaps to make the interface more consistent with other renderers.
added patchDef2 parsing to fte's .map loader, doesn't actually use it though.
some fixes for q3's shaders, including to try to get overbright working better.
updated customskin api to give more control.
first attempt at a packager system for fteqccgui. probably useless, but whatever.
menusys changes to try to support QSS's csqc.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5200 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-22 19:18:04 +00:00
Spoike 63acc99442 make tracebox respond to negative-skin ents, in addition to the built-in pmove code, so mods should now be able to detect it properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5199 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-14 07:40:17 +00:00
Spoike 4290e56c56 work around a believed issue with ericw-qbsp's skip texture support - if an invalid surface is referenced, don't try to generate decals from it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5198 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-14 05:32:20 +00:00
Spoike 2d68fbfb55 fix r_waterstyle 2/3 entity flickering
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5197 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-06 18:29:36 +00:00
Spoike 3f0f3e20b5 fix r_wateralpha in the d3d9+d3d11 renderers too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5196 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-06 17:38:31 +00:00
Spoike 3ff8d04cfc fix r_nolerp stutter bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5195 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-05 16:14:33 +00:00
Spoike 3a85de45f6 xinput tweaks, under advice from primallove.
fix sv_nqplayerphysics+spectators = spectators able to shoot
fix watervis bug, turned out to potentially be more serious.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5194 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-05 01:45:49 +00:00
Spoike 56a48000e8 small fix for minimal builds, in case anyone tries building one.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5193 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-03 18:49:11 +00:00
Spoike a6ac015c5b software banding: fix player skins.
try to get game controller defaults a little closer to QS.
mess with r_dynamic 2 a little, to more closely match vanilla.
fix under-lighting bug on models. added extra model lighting pathway for greater vanilla compat, as part of software-banding.
fix proquake-client compat issue.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5192 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-03 04:40:06 +00:00
Spoike c1392378f2 fix silly bug that allowed excessive darkening on models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5191 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-01-02 19:59:16 +00:00
Spoike 99f90e25fb git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5190 fc73d0e0-1445-4013-8a0c-d673dee63da5 2017-12-28 16:48:09 +00:00
Spoike 09e5867cee git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5189 fc73d0e0-1445-4013-8a0c-d673dee63da5 2017-12-28 16:44:53 +00:00
Spoike 845bb231ca xonotic: fix 'sticky walls' issue when spectating.
xonotic: fix jumppads not working while onground.
attempt to parse meag's protocol changes, in case we get a .qwd from ezquake. does not report them to servers at this time.
added cl_fullpitch cvar. only affects nq servers that lack serverinfo.
support dds/ktx-based cubemaps, including for skyboxes.
recognise multiple new compressed texture formats - bc1-7, etc1+2+eac,.astc. Addeded to supporting drivers/apis.
software decoder for etc2,bc4+bc5 textures, so they can be considered universal (but with fallbacks).
software decoder for bc1-bc3 textures, but disabled due to lingering patent paranoia.
report heartbeats once, by default.
r_viewmodel_fov support for vk+d3d9+d3d11 renderers.
fix depth projection differences with various renderers (min dist is now consistent).
added some code to announce when cl_delay_packets changes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5188 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-12-28 16:24:50 +00:00
Spoike 6d9c3f5df0 fix some font issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5187 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-12-20 08:23:41 +00:00
Spoike cd4412e807 add scr_showdisk cvar, to show the disk icon for a little time whenever something is accessed from disk.
try to fix the recent network issues, the slightly more sane way.
added a r_viewmodel_fov cvar, to optionally control the viewmodel's fov separately from view fov.
updatesound now auto-starts the sound if it wasn't already playing, but only if a sound name was specified.
small optimisation for xonotic. Delay the actual fopen until the first read. This avoids the worst of the hitches every time a footstep sound is played (no more zlib decompression).
r_lightprepass now respects rtlight modes.
optimised some rtlight pvs bits. should hopefully be slightly more efficient.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5186 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-12-15 06:56:40 +00:00
Spoike 0b3a11335a fix some bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5185 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-12-14 21:12:11 +00:00
Spoike 3f391a719a git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5184 fc73d0e0-1445-4013-8a0c-d673dee63da5 2017-12-11 03:21:55 +00:00
Spoike 5f9a101ac0 fixes for some #define feature enables.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5183 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-12-11 02:55:06 +00:00
Spoike 4afa9cba21 fix for fte clients being so slow on nq map restarts etc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5182 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-12-10 13:47:25 +00:00
Spoike 0b5bc85c91 fix some warnings and stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5181 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-12-09 22:10:51 +00:00
Spoike 559144cb05 Updated font code for freecs's benefit.
added cl_iDrive cvar.
tried to solve invalid server address errors.
fixed envmap+screenshot_cubemap commands (they write slightly different cubemaps).
rework server favourites a little, to avoid conflicts with other engines.
fix legacy rtlights on certain maps.
added 'rgbgen entitylighting' for lighting with colormod support.
decompiler should cope with more instructions now. pretty much just switch opcodes that are bugged now.
implemented a couple of joint types into the bullet plugin. still useless though.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5180 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-12-09 21:22:46 +00:00
Spoike a7c0a97241 added skel_postmul_bone builtin which should be more straightforward to use. renamed existing skel_mul_bone builtin to skel_premul_bone.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5179 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-12-08 06:57:50 +00:00
Spoike f21322d251 added VF_USERDATA to set new w_user glsl uniform.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5178 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-12-03 08:27:27 +00:00
Spoike f715f38b08 attempt to fix csqc's updatesound builtin - openal will no longer restart, and other devices will now loop properly (instead of muting).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5177 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-12-03 03:03:02 +00:00
Spoike fbf5069a38 Fixed http server on linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5176 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-12-02 22:30:08 +00:00
Spoike 65e58c3595 fix serious issue for anyone using r_novis 1
sv_nailhack now defaults to 1. because times have changed (matches mvdsv).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5175 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-12-02 22:11:20 +00:00
Spoike 9cd425e945 rework hlmdl subblends. apparently they're some sort of grid.
fix decals again. clampmap should work properly with them, also removed the extra part.
fix rtlight pvs issue with respect to portals
fix vid_reload causing the d3d9 renderer to use nearest sampling
terrain system should now mostly work with d3d9. still has issues.
fix q3 volumetric fog not applying to models

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5174 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-30 17:59:11 +00:00
Spoike 7314c78135 bump android ndk version
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5173 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-24 23:02:46 +00:00
Spoike 4896954c8a apply lmgamma to rbsp vertex lighting
opus should now be statically linked or something
made the denormalised floats warning look less scary.
fix the console-making-hud-pics invisible issue

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5172 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-24 18:40:17 +00:00
Spoike 4f73088dea change cl_idlefps default to 30.
minor tweak to prediction logic. bob logic will no longer stutter in eg freecs.
reworked config ordering. autoexec-after-fte.cfg will now be enforced.
reworked rawinput logic to avoid mouse button states getting stale due to separate mouse drivers when enabling the cursor.
fixed invalid commands getting silently ignored when not connected to a server.
allow execution of menu.dat from packages specified by the fmf.
FS_NativePath now responds properly to FS_GAME, and will return logical paths, instead of mimicing FS_GAMEONLY.
d3d9: fix tcgen skybox
qcc: fix crash with __out keyword.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-23 07:46:39 +00:00
Spoike eeaa949d5d Fix adddecal builtin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5170 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-23 04:05:53 +00:00
Spoike 0dbb57dd5c Fix some omissions with splitscreen+csqc:
unicast svc_cgamepackets will now report which seat they were unicast to.
sendevent will now reveal the seat that was active at the time of the call.
csqc console commands will now reveal any p2 etc commands that were used.
added 144hz refresh rate option to the built-in menu
added sv_demo_write_csqc cvar to write csprogs.dat into mvds. I still need to read them...
make irc client not create new accounts if there's already a connection registered for the given server.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5169 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-16 22:20:40 +00:00
Spoike 27e8e812a2 fixed crashy race condition when querying master servers.
try to do something about crazy cursor biases in games that are not likely to get the QSG cursor.
fix unvised q3bsp pvs. again.
add cl_delay_packets cvar as a clientside analogue to sv_minping (which is often unchangeable by the actual players).
fix a qcc issue with static locals screwing everything up.
fix dpmaster issues when NQPROT isn't defined.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5168 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-15 12:38:20 +00:00
Spoike 69fe8342cf enable fbsp support
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5167 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-15 01:40:22 +00:00
Spoike c7d5695e5e small vulkan perf tweak.
fix capturedemo over vid reloads.
fix playfilm letterboxing issue.
con_printf will now create consoles as needed.
fix .skin compose line.
fix a couple of q3bsp issues
core gl contexts will no longer be given pre-core glsl shaders, is the theory.
qcc now warns about unused fields. use the __used keyword to mark those fields as actually needed. use __unused to allow the qcc to potentially silently strip them.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5166 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-14 14:37:04 +00:00
Spoike ceae6e2a6b remove token count limit on tokenize builtins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5165 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-14 13:58:38 +00:00
Spoike c17a368486 query the filesystem cache to access the same filename case on disk as in the cache (instead of matching insensitively then using lower case for the actual access, which was resulting in issues on eg linux).
this should fix the case issues on freecs's wads. note that the basedir and gamedirs are still not case insensitive, and it requires fs_cache enabled (which may still get temp-disabled following file writes, which I still need to fix, so downloads might still break things but fs_restart;vid_reload should fix them in that case).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5164 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-11 20:17:52 +00:00
Spoike 1206244ebb rework loading screen for legacy mods that don't have their own.
fix sound issue not reusing distant sounds (fixes massive cut-off sounds in xonotic).
fix crash issue with skeletal objects holding invalid model pointers over vid_restarts.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5163 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-05 13:15:08 +00:00
Spoike 39e124f72c -Fnoboundchecks is now -Fno-boundchecks (actually inverted behaviour with default-to-on) because -Fno-noboundchecks was stupid. bound checks are disabled when trying to compile xonotic (because xonotic is buggy and accesses arrays out of bounds).
fix logicops following vector types to shortcircuit properly.
fix ternary operators ending in field references - no longer ignores the result of the true pathway.
these two fixes appear to be sufficient to compile xonotic (note the array bounds issues that are abundant in xonotic, which will break with -TFTE and its direct array indexing, so be sure to re-enable bounds checks). The result probably isn't perfect, but it seems to work for me.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5162 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-04 04:01:33 +00:00
Spoike 9fc89eb03b try to fix recently reported slow-loading issue
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5161 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-04 02:53:55 +00:00
Spoike 6139416dea Fix xonotic crosshair position.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5160 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-04 02:52:29 +00:00
Spoike f5b9ca55c9 QCC: de-prioritise bitshift when trying to implement bit shifts - DP's implementation of the builtin is fucked and randomly flips bits (eg: when ReadShort returns negative values), so instead of bitshift(a,[-]b), use floor(a[*|/]pow(2,b)), its slower but harder for engines to fuck up.
Try to optimise a few maths builtins when given constant args, in an attempt to make up for the perf lost...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5159 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-11-03 01:27:23 +00:00
Spoike 52f0f117ab fix Q3BSP-without-Q2BSP bug.
reworked deferred rendering to support specular. mrt can be reconfigured by TCs if desired.
reworked q3bsp deluxemap code (so it no longer bugs out).
fixed a few warnings.
updated fteqcc to try to cope with xonotic. still not working (xonotic fails from bound checks).
reworked shader conditionals to support elif. added some directives from QF(aka: warsow)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5158 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-10-31 22:52:58 +00:00
Spoike b8d0718b5c Attempt to work around a gcc bug with -dumpmachine by using -print-multiarch with a second workaround. gcc sucks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5157 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-10-25 09:43:01 +00:00
Spoike 8bb999f3ca Rewrote sections of the input code to better deal with multiple mice. Convert deltas to absolutes when absolutes were requested by the mod. Support hardware cursors on x11. Recognise pointer absolute coords / tablets on x11.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5156 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-10-25 08:10:35 +00:00
Spoike 7dc01f7362 android port updated. egl now handled by native code, which means we now have proper control over everything and can default to gles2. requires android 2.0+. vulkan-on-android renderer added, but not tested.
added .ktx image support as an alternative to .dds, primarily for etc2 compression (which should work on all gles3 devices, or gl4.3), only known representations will work.
rework z-fighting workaround. now only enabled on known vanilla maps.
added splitscreen option to the singleplayer menu.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5154 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-10-13 17:50:28 +00:00
Spoike 696c7e8260 playdemo should now play older protocol versions.
some more tweaks for xonotic
rcon-over-xmpp, because I can. Server might see your rcon password, so watch out for that.
qcc tweaks.
updated q1qvm api stuff to api version 15.
android port updated. egl now handled by native code, which means we now have proper control over everything and can default to gles2. requires android 2.0+. vulkan-on-android renderer added, but not tested.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5153 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-10-12 12:02:25 +00:00
Spoike 8e44dde063 attempt to resolve a crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5152 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-09-26 04:26:08 +00:00
Spoike 6380e0c7d8 crazy cvar to work around xonotic network incompatibility. other stuff for xonotic demo playback.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5151 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-09-21 12:22:16 +00:00
Spoike 2de7be6f11 fix capturethrottle paths
log_dir prefixed with ./ will work as relative to quake's basedir (files will get .log postfix).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5149 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-09-21 00:52:52 +00:00
Spoike 0c8ad17f7c Fix various compiler warnings.
Added sv_guidkey cvar, allowing cross-server guid key generation (although it lacks auth).
Support .ico, because we can.
preliminary support for sdl 2.0.6's vulkan stuff. will wait till its actually released before its properly used.
Fix capturedemo.
videomap should typically use premultiplied alpha, apparently.
Updated sound drivers. No more old drivers. Better cvar registration. More drivers optionally support float output.
Added certificate log for dtls connections.
Rewrote font char cache, now supports full unicode char range, not just ucs-2. Attempt to support FreeType 2.5+ rgba fonts.
XMPP now supports carbons, and shows avatars in conversations. Updated xmpp's scram auth to be more strict, including the plus variation (hopefully), to block evil tls proxies.
ffmpeg plugin now uses the decoupled api for decoding too.
Cef plugin updated to support fte-scheme post data properly, as well as request/response headers (like cross-origin).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-09-20 11:27:13 +00:00
Spoike 8dfa6ccbe6 Add XRandR support. Disabled by default, for now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5146 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-09-02 05:13:33 +00:00
Spoike a08564bbb3 Compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-08-29 04:46:53 +00:00
Spoike d9cc3030cd git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5144 fc73d0e0-1445-4013-8a0c-d673dee63da5 2017-08-29 02:37:43 +00:00
Spoike 0f7bbfcf0e Implement an area grid, primarily to avoid mods(read: xonotic) generating 2000 ents all sitting on the root area node.
Add separate cl_movement cvar to enable/disable reporting input sequences to DP servers (which use different pathways). Does not affect other protocols. This is separate from cl_nopred but will usually have the same result in the long run.
Fixed movevalues for DPP7 clients, if they try using prediction they should now (mostly) get the same values that DP normally uses for QW servers.
Reworked sky overrides somewhat. Now uses skyboxes where possible.
Fixed dpcompat_makeshitup a little, for better compat.
Fixed echo $foo$bar not exanding bar.
Try to fix the meanings of vid_hardwaregamma.
Fixes for builtins/features/etc that apparently only xonotic uses.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5143 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-08-29 02:29:06 +00:00
Spoike 7c6eb18a76 in_xinput 1 is now default. because we can.
android gets a couple more gamepad buttons.
gamepads now have separate keybindings. I've created some default binds for mods that are unaware of gamepad buttons.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5142 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-08-16 02:14:07 +00:00
Spoike bc0dd0492c fixed a couple of stupid things.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5141 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-08-14 17:43:13 +00:00
Spoike c4d3497054 some Q2 compat tweaks. moved all q2 temp-ents to particle scripts.
PF_VarString can now shortcircuit, directly returning the first argument (which also bypasses related length limitations). this required const correctness fixes.
r_showshaders cvar reports the wall texture being pointed at.
improve dp compat in a number of areas, should now mostly be able to run xonotic 0.8.2, but will need some more extra cvars/defaults/stuff.
fix q3bsp loader race condition.
fix dpm loader multi-surface issue.
remove limit on stringbuffer count.
don't poll xinput (because its disturbingly slow), instead wait for some window message before re-checking.
fixed splitscreen saved games.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5140 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-08-14 16:38:44 +00:00
Spoike 0a6cbdf39a Fixed an issue with dependancies getting re-downloaded.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5139 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-08-12 19:32:09 +00:00
Eukara 1ffacb95b2 Missed that bit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5138 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-08-12 10:15:43 +00:00
Spoike 2759632327 fix eukara's icons (he typoed), so they're actually used properly. use them for d3d renderers too.
ignore mip levels that don't match what gl/vk require.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5137 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-08-10 19:40:47 +00:00
Eukara 145666ac22 .cin, .avi volume fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5136 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-08-08 07:04:38 +00:00
Eukara a11e1e1e4d dir/explorer recognizes .vvm extension now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5135 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-08-07 19:46:29 +00:00
Eukara 827ac5c2de Fixes the awful datagram overflow present in Q3BSP (thanks bby)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5134 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-08-02 11:11:33 +00:00
Spoike e8c0014b58 fix .gravity on non-players.
try to fix webgl's mouse cursors on misaligned canvases.
fix q2 tent issue.
fix bmp screenshots.
allow disabling packages via renaming, instead of only deleting.
support negative dlights.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5133 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-07-31 17:15:37 +00:00
Eukara d980fd74a0 Alternative .ico file without PNG compression in case you're using an older MSVC version.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5132 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-07-31 14:42:31 +00:00
Eukara 3360e42379 New icon, woop woop.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5131 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-07-30 10:26:15 +00:00
Spoike db2c378fa0 centerprints with links now show cursors.
q2 temp entity tweaks. still more work to be done.
support sRGB (mostly)properly in gl+vk+d3d9+d3d11.
vulkan tweaks - multisample works under certain conditions. additional other changes to comply... cvars to enable some other device extensions.
removed r_viewleaf. now using clusters for q1 too.
improved compat with quakespasm's sky command.
Added vid_winthread cvar, to handle window messages on a separate thread. When set this allows the game to keep redrawing when the user is resizing the window etc.
Finally added renderers option to menusys.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5130 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-07-28 01:49:25 +00:00
Spoike d66db9930d fix time changing issue in runstandardplayerphysics.
fix doom-sprites, although their angles still seem to be biased.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5129 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-07-13 10:44:54 +00:00
Spoike 776b8f6565 Added .dz playback support.
demo menu now properly lists the contents of archives.
demos played from subdirs/archives can now chain properly.
autodetect nehahra's demos. Add -nehahra argument to register/override cvar defaults (and set the right gamedir+startmap).
fix some q2 download bugs.
lame attempt at proper sRGB support (gl+vk+d3d9+d3d11 renderers).
fix q3bsp wrong-lightmaps bug.
match DP's viewzoom behaviour by not applying it when VF_[A]FOV was explicitly used.
fix d3d9 issue with missing textures screwing up blend modes.
vk: use a staging buffer instead of a staging textures per mip.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5128 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-07-12 08:15:27 +00:00
Eukara 2c17bcc3d5 Including "fragstats" features only when QUAKEHUD is defined.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5127 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-07-10 15:40:42 +00:00
Spoike db8663d826 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5126 fc73d0e0-1445-4013-8a0c-d673dee63da5 2017-07-04 05:13:44 +00:00
Spoike 904a701281 command argument completion for a few commands.
fix off-by-one pvs bug.
add another settings preset.
fix classic particles colour issue.
fix d3d9 renderer's scissoring (including splitscreen huds)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5125 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-07-04 05:07:51 +00:00
Spoike 9221a1a6ae fix iqm crash bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5124 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-07-02 23:45:04 +00:00
Eukara 2b3d8b39e4 Just shoving that bit in here
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5123 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-07-02 18:59:27 +00:00
Spoike a255ee0def apparently I forgot to add some files.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5122 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-06-30 05:32:00 +00:00
Spoike 783ef32e67 enable the bmp screenshots code. needs testing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5121 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-06-26 09:35:23 +00:00
Spoike 419b2b1f7f fix brush editor giving up with too many polys.
fix race condition that was causing prespawning to skip the call to CSQC_WorldLoaded.
misc other irrelevant tweaks.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5120 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-06-26 09:31:02 +00:00
Spoike b2824ee266 Try to fix android+emscripten builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5119 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-06-23 20:36:35 +00:00
Spoike 6946af8dee fix a silly bug, and some other compile warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5118 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-06-22 16:49:29 +00:00
Spoike 705067928a fix corrupt d3d batches (on large maps)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5117 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-06-22 10:29:06 +00:00
Spoike 272e3f978c fix compile errors+warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5116 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-06-21 02:57:41 +00:00
Spoike f57be48687 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5115 fc73d0e0-1445-4013-8a0c-d673dee63da5 2017-06-21 01:34:33 +00:00
Spoike 2bf193001b implement pcma+pcmu codecs for voip for xmpp compat, because they're fairly simple and I can.
remove MAX_MAP_LEAFS limit, although its still checked for sanity (just MUCH higher). You may need 64bit processes on account of the pvs+phs memory required.
integrated my fork of frikdec into fteqccgui. Just associate .dat with fteqccgui and it'll decompile the progs (compiling will then embed the decompiled source into the resulting .dat to avoid repeated decompilation). Be sure to back up first... not tested as a 64bit process.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5114 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-06-21 01:24:25 +00:00
Eukara 5e2a985f7f Builtin for movetype_push ents, wastes config changes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5113 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-06-15 14:23:26 +00:00
Spoike ca31acefea qccgui: add custom right-click menu. move buttons for more screen space.
some fixes for various other small things.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5112 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-06-05 15:20:57 +00:00
Spoike 519350c635 example terrain generator for eukara.
some compile fixes too.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5111 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-05-28 17:14:23 +00:00