Commit Graph

4987 Commits

Author SHA1 Message Date
Spoike 974a8074a3 fix TW patch/uncrouch bug.
use sdl 2.0.4 audio queuing output when mixerthread is disabled.
first attempt at BIH traces. doesn't yet work properly so disabled for now, but does fix some performance blackholes in xonotic.
first attempt at a lfield_nearclip value.
add VF_SKYROOM_CAMERA for easier skyrooms.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5442 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-04-01 10:16:36 +00:00
Spoike 8dc9a9a117 Fix 'chat' userinfo not getting cleared, etc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5441 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-29 06:16:20 +00:00
Eukara 15faeb2e77 Updated TW's config, added the missing USEEFX define.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5440 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-28 04:14:43 +00:00
Eukara c1c0a861b8 Added support for multipliers to the polygonOffset directive
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5439 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-28 04:12:47 +00:00
Spoike ee9c9025a0 Better compat with mvdsv
Added -install arg to linux dedicated servers, to automatically install dependancies and updates.
Fix edge friction (at least when pm_edgefriction is 2 and not empty - can't break compat).
Added getchannellevel csqc builtin.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5438 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-23 07:06:37 +00:00
Spoike a8b30e3008 Don't crash when xf86vmode extension isn't available (and when xrandr failed/was disabled)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5437 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-22 23:33:25 +00:00
Eukara 372bee5b8b Remove readonly flag from com_fullgamename and enable setwindowcaption in menuqc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5436 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-17 15:18:30 +00:00
Spoike 15b1e813a4 Allow 'gl_font creditsfont' (and potentially others) for eukara.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5435 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-16 06:45:55 +00:00
Spoike dc999091aa Fix servers trying to redirect players to downloading directory-packages as a single file (which will always fail).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5434 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-15 04:01:46 +00:00
Spoike b04b7b2b0a Fix missing chrome effect.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5433 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-13 02:35:08 +00:00
Spoike b6fc034302 Fix some compile issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5432 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-12 08:28:19 +00:00
Spoike f38a6264b8 Fix a stupid bug with allow_download cvar.
Fix recursive errors from Sys_Error on worker threads.
Fix shader parsing on worker thread with hlmdl.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5431 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-12 06:41:52 +00:00
Spoike 5e7688a590 first public attempt at pbr.
update infoblobs to be slightly more self-contained (still not finalised).
q3ui can now change audio volumes.
linearise 16bit srgb textures as required.
code can now potentially support >256 bones. disabled until the stack overflows are fixed...
remap bone indexes where required, for a 10-fold speedup on models with otherwise-too-high bone counts
gltf loader updates, primarily shader changes, for better conformance.
shaders can now specify whether a texture should be treated as srgb or not.
implement serverside download queue for ezquake/legacy clients downloading multiple demos. fte clients should never need to use this (would break total download size display).
some work towards threading shader loading.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5430 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-12 05:04:27 +00:00
Spoike d6d8d4c695 Fix qcc bug with removed continues/breaks editing other statements after removal.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5429 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-05 14:39:47 +00:00
Spoike b9fd3c01be Fix +back not respecting scaling unlike +forward (reported by GoaLitiuM).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5428 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-05 13:20:06 +00:00
Eukara af7c4f214b Fixed some warnings that get triggered on OpenBSD's version of GCC 4
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5427 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-04 19:24:51 +00:00
Spoike bff1b66fac Expand the mesa invariant check to every single gl version, apparently they still didn't apply the patch to mainstream mesa.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5426 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-04 00:48:36 +00:00
Spoike ba238e454b Work around mvdsv bug where packetloss is misreported.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5425 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-04 00:46:41 +00:00
Spoike 1896a3b46f Fix start-game menu, again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5424 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-03 06:25:47 +00:00
Spoike 7f124f6391 Fix edgefriction with nq physics.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5423 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-03 06:13:38 +00:00
Spoike 3d86dc56ac gles fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5422 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-03 02:02:29 +00:00
Spoike 5c069300ed missing gl define
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5421 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-01 23:16:01 +00:00
Spoike be27f06b76 Somehow failed to commit some changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5420 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-01 22:53:51 +00:00
Spoike 6c5de8e8b1 Added pm_pground cvar for compat with mvdsv/ezquake. Do not use it with NQ mods however, as the QC will interfere with the onground state (QW mods are okay).
Added Z_EXT_PF_ONGROUND + Z_EXT_PF_SOLID for compat (not enabled serverside due to conflicts with pext - just a define away).
Fixed bug with loading screens switching sizes part way through loading.
Added hexen2 rain effect.
Fix hexen2 model texture alphas not working.
Fix potential linux crash from excessively long stdin lines.
Added cl_rollalpha cvar.
Fixed quirk where the player would slide along the base of steep walls/slopes.
Tweaked PM_NudgePosition to be more precise, giving more reliable prediction.
Fixed fread qc builtin.
Tweaked random() builtin to bias slightly away from 0, so that nextthink=random()*foo; will never cause statue-monsters.
Check for GL_WEBGL_depth_texture instead of just GL_OES_depth_texture, to fix compressedTex2d errors in firefox.
Second attempt at blocking invariant keyword with mesa.
Use xrandr for gamma where possible. This prevents reading stale XF86 gamma ramps and restoring those invalid ramps when quitting.
Try to grab mouse pointers slightly faster in x11.
Don't call XIFreeDeviceInfo if XIQueryDevice returned NULL.
Document parm_string and startspot qc globals.
Fix possible infinite loop from physics frames.
QTV: stripped most of the old plugin code (because really, who has a browser that still supports either ActiveX or NPAPI). Fixed up emscripten port references.
QTV: fix bug with protocol extensions not being reported to viewers.
QTV: use binary websockets instead of text.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5419 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-01 22:39:30 +00:00
Spoike d398af48b2 Fix movevars.entgravity not set. Reported by GoaLitiuM.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5418 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-25 06:40:26 +00:00
Spoike 0c22b8c344 Some q3 tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5416 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-24 08:32:45 +00:00
Spoike d590b1d2aa Don't let player.thinks run quite so far in the past.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5415 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-24 08:31:04 +00:00
Spoike d8c480c75e Fix fast nq players
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5414 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-24 08:29:52 +00:00
Spoike 988b2fa80b Add fov mode to the menu
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5413 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-24 08:28:39 +00:00
Spoike 48694bb795 Fix r_softwarebanding. Again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5412 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-24 08:27:38 +00:00
Spoike 75e927c030 Try to work around mesa's invariant bug, by disabling use of the invariant keyword entirely.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5411 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-24 07:43:32 +00:00
Spoike c4381e48a0 And hack in support for worldspawn's _skyfog key for compat with QS.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5410 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-23 14:36:17 +00:00
Spoike d6291b3ca7 Add r_skyfog cvar.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5409 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-23 14:32:20 +00:00
Spoike 2b82c8d0a9 fix lshift qcc bug
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5408 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-23 11:45:48 +00:00
Spoike 4f3f6d78e3 Use invariant gl_Position whenever its supported, even where ftransform is used, to try to get rid of coplanar depth fighting (eg: viewmodel alpha, volumetric fov, etc).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5407 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-23 09:42:26 +00:00
Spoike 6502f02fbd Hexen2 uses @s for newlines in centerprints and the alt charset, also try to fix hexen2 custom map names. Allow mvdsv's UserCmd stuff without pr_imitatemvdsv.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5406 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-23 09:38:04 +00:00
Spoike b03ef96f36 Try to fix tracker image alphas
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5405 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-23 09:33:55 +00:00
Spoike d65d4f6ff1 Some fixes for the emscripten port
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5404 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-23 09:29:20 +00:00
Spoike 519630045c scr_fov_mode 4 is now the default, to better match other quake engines (reverting to vertical fov when in portrait mode.
Fix cfg_save trying to use a hardcoded path that doesn't exist.
Change the 'play' command to use chan_auto instead of -1. I don't know why it was ever -1. This makes it more consistent with ezquake (where the feature is often abused to avoid ezquake's protocol limits or mvdsv's lack of unicast sounds).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5403 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-20 17:21:10 +00:00
Spoike 3250de5851 Fix csqc polygon issue (using explicit glsl that doesn't need normals).
Added gl_texture_lodbias cvar for the luls.
Fix some serious-but-situational traceline issues.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5402 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-19 06:49:03 +00:00
Spoike 3867760e75 fix win32
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5401 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-16 20:32:24 +00:00
Spoike fa0c73d33b Fixed crash from too many csqc entities (reported by shpuld)
Added .psd, .pbm/.pgm/.ppm, .pfm, and .hdr image formats. Extensions NOT added to r_imageextensions.
png (and the above formats) can now be loaded as RGBA16, instead of being truncated to RGBA8 (8bit pngs not affected).
r_imagelist will now show images from memory, instead of potentially loading new/different ones from disk.
Fix serverbrowser bug being too eager to join the server (eg from alt+tab).
Don't send ipv6 packets to qw/q2 masters. They won't be able to report ipv6 addresses anyway, and this reduces warnings when a host STILL has no ipv6 (my ISP sucks). this does not affect q3/dpmasters, for people without ipv4 addresses.
Tried to improve compat with Bloodshot's particle effects.
Fixed a couple of issues with R_AddTrisoup.
Fixed string tokenizing bug where it was using the wrong buffer size values.
Don't show link-local/localhost addresses in eg the status command (unless developer).
qtv-rel is now an easier target, for new qtv releases.
qtv warning fixes.
added a nailtrail effect to 'high' particles.
fixed terrain shaders.
fixed fogged water issue (on one of bal's maps).
first attempt at gltf2 format support



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5400 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-16 19:09:07 +00:00
Spoike 9548e23535 And fix up windows builds a little, too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5399 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-01 08:34:05 +00:00
Spoike de20b1e587 Fix a couple of splitscreen bugs.
Fix Quake3 connectivity issues.
Prepare for displacement maps.
More tweaks for 'quake15'.
Fix vulkan double-free.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5398 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-01 08:29:14 +00:00
Spoike aee6767e7d Misc minor compile fixes that noone else will ever notice
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5397 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-29 23:43:50 +00:00
Spoike 9f38246d59 Misc compile fixes (mostly warnings)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5396 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-29 20:38:12 +00:00
Spoike 4757bd34c6 Misc compile fixes (mostly warnings)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5395 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-29 19:41:31 +00:00
Spoike cd97d1fff3 cmake now builds botlib (as a shared object)
fix q3 looping sounds
fix q3sv bug that was kicking clients on map changes
attempt to resize q3ui if the window changes size
added some more disconnect reasons (for menuqc/q3ui to report).
reworked particle count/step arguments for better compat with DP. particles that used count for trails were already broken...
drawtextfield builtin will report line numbers shown, so qc can finally tell how much text there actually was
added some more items to 'fps_preset dp', stuff needed for the 'quake15' mod.
added dpcompat_noretouchground cvar for people wanting to mimic dp's bugs.
added 'r_netgraph 2' setting, which will show packet sizes per svc, in part to highlight wasteful mods.
added cvar to disable the q1mdl floodfill, which caused problems for yet another person.
internal editor now attempts to support debugging asm, if no source is available.
fix 64bit icon bug in x11.
FINALLY fix high's te_teleport effect.
load with no arguments will scan for the most recent a#/s#/quick savedgame instead of using just quick.
load command will chose between fte and vanilla savedgame formats based on modification time, if both exist in the same package/dir.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5394 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-29 07:18:07 +00:00
Eukara c87535ecef Fixed bug in Q3A that bots would carry over between SP campaign maps
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5393 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-27 04:57:50 +00:00
Eukara e64409274a Updated the fallback icon for FTE
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5392 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-27 03:52:14 +00:00
Eukara 8f6bb42a6a Fixed Q3A forgetting it's playing the singleplayer campaign upon map-change
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5391 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-27 02:01:42 +00:00
Eukara 6333ace416 wads: make sure decals.wad is assumed on hl bsp
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5390 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-22 13:57:57 +00:00
Eukara 7865011806 hlmdl: added "support" for fullbright and chrome materials. still requires GLSL additions upstream.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5389 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-22 00:52:35 +00:00
Spoike c3ea880846 Forgot the cmake file. few other minor tweaks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5388 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-20 16:26:50 +00:00
Spoike 2163fb7c77 Early version of fteqccgui-qt
a few other misc tweaks, eg for the debug protocol in linux fteqw.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5387 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-20 01:00:18 +00:00
Eukara cb88355800 hlmdl: fix framestate related crashes when tracing wrongly against hlmdl.
hlmdl: fix that looping animations wrongly get their last frame removed, presumably which will fix most crashes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5386 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-17 09:27:09 +00:00
Spoike 0428f7851f Fix stupid typo.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5385 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-17 05:07:49 +00:00
Eukara b1f2b88d02 Enabled media decoder/encoder extensions for FreeCS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5384 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-15 23:48:49 +00:00
Spoike 001bad5541 Fix eukara's error-on-restart issue.
Tweak downloads menu tooltips.
Some minor cleanups.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5383 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-15 14:12:49 +00:00
Spoike 4c2ac0cff3 Prototype was incorrect
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5382 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-14 19:43:29 +00:00
Spoike a82b367d8c fix freecs contents values
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5381 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-14 15:47:26 +00:00
Spoike 960d1c3616 fix some warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5380 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-13 17:56:26 +00:00
Spoike aaa78e5101 lame attempt at simple pulseaudio driver
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5379 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-13 17:01:59 +00:00
Spoike 2361c7d14f Flattened downloads menu.
Added scrollbars to various menus (when they're too tall for the virtual screen height).
Added warnings when qc draws to the screen outside of where it'll actually be displayed (freecs is guilty of this).
r_showshaders will now work in q2.
mod_texturelist will include a small preview, because I can.
plug_list command will now also display some plugins which are not currently loaded.
q1bsp now properly respects hitcontents (note that normally only hull 0 actually has contents other than solid+empty).
q1bsp now correctly reports content values in tracelines (this fixes freecs being unable to detect func_water).
Rewrote netgraph code. Now displays using polygons instead of textures for higher resolution graphs.
Fixed texture bug that appears with nouveau's core contexts (texture unit switches were not happening).
Added some better support for disabling vsync with nouveau, although its still broken fullscreen for some reason.
Changed fteqcc's warning for unrecognised CRCs. Should be more descriptive about the usual cause (but less technical and potentially technically wrong).



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5378 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-13 16:51:50 +00:00
Spoike b930659fe8 Fix a glsl type comparison bug
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5377 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-13 15:25:13 +00:00
Eukara 99e0191168 Changed basedirs in FreeCS' config
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5376 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-30 21:28:29 +00:00
Spoike f416201c66 Some minor fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5375 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-30 21:09:13 +00:00
Spoike 9069013dc5 "r_particledesc default" should not screw over the user. use ./default if you really meant that.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5374 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-30 20:29:39 +00:00
Spoike 06d7eac9a1 Some compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5373 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-29 07:43:02 +00:00
Spoike c6ed692871 Reworked networking a little, separating out common code for separate server/master processes.
Reworked glsl bones, so they work based upon the shader's version instead of the driver's version (more robust).
Fix te_teleport shader.
Track angles for antilag.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5372 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-28 00:04:36 +00:00
Eukara 18280be6e9 Added freetype support for config_freecs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5371 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-27 17:24:39 +00:00
Spoike b5bdb349fc Small fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5370 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-20 16:18:10 +00:00
Spoike cc6fff1722 Fix issue where keypresses were getting sent to QC/etc while the engine is still busy changing video modes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5369 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-20 00:57:15 +00:00
Eukara ddd4b54f0e Changes for TW 1.2, fixes for mod-parsing, irc-clients, config changes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5368 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-19 18:53:04 +00:00
Spoike 8fde77593c Implement pm_edgefriction cvar.
fteextensions generation now has an option to skip some defs incompatible with id1/dp.
Misc minor tweaks.




git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5367 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-11 00:20:59 +00:00
Spoike 0884126e56 Implement getgamedirinfo builtin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5366 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-11 00:12:47 +00:00
Spoike 1f587af822 Add mod_showent to quickly peek at the map's ent lump.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5364 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-10 15:02:55 +00:00
Eukara f7aea02266 Updated TW's and FCS's config, as well as made the plugins build properly on mingw
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5362 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-10 12:06:57 +00:00
Spoike 42908149f9 Dir command should allow wavs/oggs to be clicked too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5360 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-06 07:13:37 +00:00
Spoike 484d4d216e Fix green/etc fullbrights
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5359 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-06 07:11:04 +00:00
Eukara 486b1aa722 Fixed a crash related to texture-names
Added warning in case of a VIS-decompression overrun


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5358 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-06 05:51:24 +00:00
Spoike 98303e606e Weapon preselect/hiding stuff.
Attempt to track disconnection reasons.
Attempt to mimic QS for lightmap extent calculations.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5357 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-06 04:55:35 +00:00
Eukara 3f2302ce62 Updated FreeCS config to define BMP support which is very much necessary
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5356 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-05 19:34:14 +00:00
Spoike 75c7f7ce32 Those prints were annoying me
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5355 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 08:59:22 +00:00
Spoike d831199e2c Fix savegame quirk that was trying to force spprogs.dat.
Add developer==1 warnings from writebytes out of range.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5354 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 08:57:29 +00:00
Spoike 74fe35c482 Fix some typos from the glsl lazy-loading change.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5353 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 08:53:18 +00:00
Spoike c3b97f0983 open 'foo.fmf' in preference to 'default.fmf' when running eg foo_x86.exe. This should make TCs a little easier to release/maintain within eg quake's basedir, without breaking other TCs mods in the same basedir.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5352 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 06:15:53 +00:00
Spoike 8128d275af show system/engine/extension stuff as a different colour in fteqccgui.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5351 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 06:06:47 +00:00
Spoike c25e7908f0 fix PVSF_NOREMOVE bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5350 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 06:04:47 +00:00
Eukara 16abd453c8 rename this vile extension to actually represent what it means. shader to mat
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5349 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-02 13:35:23 +00:00
Spoike 2a3c667f09 fix bug reported by ciscon: do not crash when XDG_SESSION_TYPE is unset in linux's environment.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5348 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-02 09:01:51 +00:00
Eukara 8f664f2b2e Added get_path to m_native.
Fixed drawtextfield being affected by the previous draw* call colors


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5347 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-30 04:05:48 +00:00
Spoike f464d0fef3 misc windows-related fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5346 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-28 05:41:39 +00:00
Eukara fea0ab8014 tiny fix for gcc 5.5.0 & glx
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5345 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-28 01:40:47 +00:00
Spoike 5b4756f3d9 Lazy GLSL loading, for faster load times.
Fixed some xim issues, for proper keyboard input under x11.
Cmake project can now work for cross compiling win32 targets.
Some other fun-but-pointless stuff.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5344 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-27 16:48:19 +00:00
Spoike 79689474b6 Calculate voip levels for other clients
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5343 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-22 03:02:36 +00:00
Spoike 36eb350dc9 I screwed up The Wastes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5342 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-21 11:49:21 +00:00
Eukara d547047b7f Made TW's config compatible with the latest rev.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5341 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-20 01:04:32 +00:00
Spoike 73d836aaee Fix te_gunshot with only one arg erroring non-fte qw clients.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5340 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-19 08:47:26 +00:00
Spoike cb0f6fa6aa Fix some compile issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5339 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-19 08:06:07 +00:00
Spoike 2ee8387644 Many general cleaups and warning fixes.
Console code no longer makes assumptions about con_main
Screenshots rework, for screenshot_360, but also some other cleanups.
Fixed an issue with beginpolygon (finally).
Added per-rtlight style strings.
Added cvar to control whether ents will be culled by fog.
Added define to disable IPLOG, etc.
Added r_editlights cvar and related commands, for whenever csaddon isn't available.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5338 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-19 06:37:25 +00:00
Eukara 398c1afaf9 Fix crash on vid_reload using native menus.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5337 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-11 02:53:04 +00:00
Eukara 346e366dfa Updated config and native menu implementation
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5336 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-10 09:42:01 +00:00
Eukara 4cabdb80c5 Fixed r_showshaders crashing on a surface without shadername.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5335 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-10 08:26:51 +00:00
Spoike 2d539675cf Ignore spawnflags when CheckSpawn is defined, so that the mod can do it instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5334 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-08 22:27:27 +00:00
Spoike 6d4bd2eb61 Fix possible double-free inside the image loader
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5333 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-06 19:42:05 +00:00
Spoike 9e98e44500 Try to fix some cubemap issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5332 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-04 22:22:18 +00:00
Spoike e31a485e98 Try to fix mvd playback issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5331 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-04 08:38:27 +00:00
Spoike eb56cc76df Patch from GoaLitiuM to fix some d3d11 stability/alt-tabbing issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5330 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-01 15:40:50 +00:00
Spoike 9a146f448f Don't write svc_playerinfo to a demo that's using supports replacementdeltas. Stuff like that can be confusing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5329 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 16:59:41 +00:00
Spoike c5a89bd5d6 Revert weird windows bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5328 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 08:20:44 +00:00
Spoike b024a19fc8 I forgot about d3d... again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5327 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 05:34:08 +00:00
Spoike 45b4659de6 Fix vulkan lag issue with vk_busywait. Separate lightmap formats, to fix deluxemapping-with-hdr-lightmaps. Fix decals lingering on removed bmodels.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5326 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 04:32:18 +00:00
Spoike a3f9fe886e Remove debug spam
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5325 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-26 16:51:24 +00:00
Spoike 8a3cc3b4b0 Be more generous with decal impacts spawned away from the wall that they're meant to be spawned on.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5324 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-26 16:50:06 +00:00
Spoike 2bedc32ff9 Misc tweaks.
Fix potentially serious crash with sprites+csqc tracelines.
Reworked fallback mouse cursor.
Fix decals on q3 bmodels.
Double-click to select a work to copy is now implemented.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-23 07:09:06 +00:00
Spoike 4ae635bc7b Some misc fixes, mostly win32/msvc focused.
Rename sound flags to include their valid scope.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5322 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-17 00:43:04 +00:00
Spoike 487201eeec properlyish distinguish between primary+clipboard x11 selections. Fix possible font crash. Fix possible QC weirdness with uri_get callbacks unexpectedly stomping globals.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5321 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-14 16:16:34 +00:00
Eukara 2cdbe035df Updated The Wastes' config to use world grid optimisation
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5320 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-13 19:46:33 +00:00
Spoike 39e1f24511 Added trace_networkentity global to csqc. Try to fix some misc bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5319 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-13 12:19:58 +00:00
Spoike b68a6218e8 Fix some stringop-truncation warnings. Enable static freetype in config_fteqw.h. Fix wastes build.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5318 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-13 06:20:49 +00:00
Spoike 49ae9573b8 reworked clipboard handling to avoid stalls when pasting in linux.
made a load of functions static (just code style stuff).
downloads menu now deselects any autoselected items, to avoid confusion.
csqc traces can now hit networked ents. I probably need to make some more tweaks to this.
arg completion for flocate+dir+modelviewer commands.
fix autosave not cycling saves when using the vanilla save format.
fix patch collisions with q3bsp submodels.
md3 now supports framegroups too.
added some more buttons to make xonotic happy.
gl_polyblend 2 shows the screen flashes at the edge of the screen instead of the middle.
colormod no longer applies to fullbrights (matching DP). this fixes an issue with xonotic.
fix uninitialised local that was causing issues with bones used as tags.
rewrote qc search_* to use a dynamic array instead of a linked list. this should make it faster to read when there's many handles open at a time.
fte's saved games can now save buffers properly.
fix issue with raster freetype fonts (read: coloured emoji).
initial support for struct-based classes (instead of entity-based classes). still has issues.
execing configs in untrusted packages will no longer run out of sync (fixing a number of afterquake issues).
fix stupid bug with the te_gunshot/etc builtins.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5317 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-11 10:31:23 +00:00
Spoike 8662827af0 Fix win-specific code too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-30 04:17:32 +00:00
Spoike 427afd5828 That define apparently doesn't exist in all versions of glext.h
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5315 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-30 03:38:26 +00:00
Spoike fa523c3e53 fix today's no-alpha bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5314 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-30 01:42:00 +00:00
Spoike 46d99e8186 add cl_bobmodel.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5313 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-30 01:41:25 +00:00
Spoike 8279a76675 Attempt to optimise texture memory by loading greyscale tgas as 8bit. Extend serverbrowser api for xonotic. Be more aggressive with loading hardware cursor images. Fix software banding with compressed textures. Rework autosprites to cope with atlased texcoords (note: q3 would discard the texcoords).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5312 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-29 17:31:58 +00:00
Spoike caa5be6267 Fix qcc crash from stray continue/break/case. Fix warnings from logicops. Recolour error/warning text output on linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5311 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-29 03:40:50 +00:00
Spoike fa9694a255 Support framegroup files with darkplaces models, for some reason.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5310 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-24 08:15:55 +00:00
Spoike 5159a801ff lerpfrac3 fixes. unix sockets for the luls (disabled). some misc tweaks for xonotic.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5309 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-23 19:35:24 +00:00
Spoike fe885985ec some xonotic fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5308 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-19 02:49:08 +00:00
Spoike fee84965c1 Fix a stupid logic bug that was dropping stores by folding double nots.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5307 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-18 04:35:33 +00:00
Spoike 44850dec4e Try to fix some compile errors with xonotic.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5306 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-18 02:05:35 +00:00
Eukara c822482854 TW 1.2 Config update
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5305 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-05 22:34:47 +00:00
Spoike 36debaea4d git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5304 fc73d0e0-1445-4013-8a0c-d673dee63da5 2018-09-01 06:05:51 +00:00
Spoike 5b7a426afe Added cl_autodemo cvar to automatically record games. 1 records multiview demos where possible, -1 strictly records singleview demos.
Enclosed mvd recording in ifdefs, so it can be disabled at compile-time for any mods that don't want to have to deal with it.
Removed the recorded players thing.
Allow csqc to use EF_FULLBRIGHT.
Fix cl_pure to attempt to actually download missing packages.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5303 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-01 04:18:08 +00:00
Spoike bf30886163 Fix 'fun' chars getting stripped from player names.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5302 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-26 16:27:54 +00:00
Spoike b6847664a7 Some compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5301 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-25 02:53:45 +00:00
Spoike be373b88b9 Fix some annoying stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5300 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-24 00:35:16 +00:00
Spoike b73979fa84 cmake: Attempt to avoid using libraries that might not be installed, like x11
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5299 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-23 07:04:55 +00:00
Spoike 0980455e10 Fix saved games a little. Should no longer cause issues with hexen2,ad,etc.
Fix black lightmaps in h2mp.
Fix missing tinyfont in hexen2.
Added the drop part of drag+drop to x11.
Hopefully fixed x11 clipboard issues.
Hidden some annoying developer prints under developer 2.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5298 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-23 06:03:31 +00:00
Spoike 3fb88f2ec2 More preliminary support for patches. Loading+Saving+Display of control points will now work. No QC interactions yet.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5297 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-21 19:06:41 +00:00
Spoike ffd726eb50 Provide a way to disable various (linux-compatible) sound drivers, in case we need to hunt for dodgy drivers on dodgy distros.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5296 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-21 18:57:51 +00:00
Spoike 5886f59d76 Added rcon password hashing to prevent them from being sent as plain-text.
Commands+results are still plain-text so ideally use dtls/tls/wss/ssh/https for rcon instead, but this should be compatible with ezquake+mvdsv.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5295 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-21 18:52:25 +00:00
Spoike f80c769ebe Don't set lastruntime except in QW. Its just spammy in saved games. Its not a useful field.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5294 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-21 18:49:27 +00:00
Spoike 5b2d25d36f Fix prior dodgy commit to this file.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5293 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-21 18:48:26 +00:00
Spoike a805cb6534 I was trying to be lazy, making bad assumptions about pointer arithmatic. This should fix certain multiplayer setups.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5292 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-21 18:47:42 +00:00
Spoike df8bd3ad8c Fix type parsing bug with eg: ("")
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5291 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-18 13:33:50 +00:00
Spoike a7b696ef8c Added r_graphics cvar, so that you can finally turn graphics off/on like modern games (yay simplicity)... Doing so results in ascii-style rendering, just because.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5290 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-13 06:27:29 +00:00
Spoike c97fa33879 Fix bug with previous commit.
Fix loading legacy saved games.
Hide the misaligned lumps warning under the developer cvar.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5289 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-09 15:50:07 +00:00
Spoike c33c8a97a4 Moved infoblobs extension to a cvar.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5288 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-09 06:21:39 +00:00
Spoike 98b71860ed Fix some warnings. Hopefully fix bullet plugin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5287 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-04 19:00:19 +00:00
Spoike aede46c776 qclib: Sort QC function entries, in an attempt to support breakpoints where functions have been reordered for one reason or another.
fteqcc: fix some statement-line numbers that were buggy. This fixes breakpoints not working with recent versions of fteqcc.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5286 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-04 15:12:51 +00:00
Spoike 0b2be8f4ba PACKAGEMANAGER is now a compiletime feature in its own right, and can be enabled separately from WEBCLIENT (although won't be able to download without WEBCLIENT).
SAVEDGAMES is now a new compiletime feature. Deathmatch/dedicated servers can freely disable it.
menuqc now makes sure that any fields it needs are actually present.
developer 1 should now report glsl line numbers a bit more reliably.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5284 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-04 07:05:20 +00:00
Spoike 61c0b9f83b Fix recent class bug, as well as the 'no spinny model' bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5283 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-03 11:08:04 +00:00
Eukara d7aee05d47 Fixed typo and changed the envmap paths for now, as screenshot_cubemap cannot save outside /textures
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5282 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-02 20:10:43 +00:00
Eukara a1c252ed54 Updated TW's config to include static freetype linking on Windows etc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5281 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-02 20:08:37 +00:00
Eukara 14c48b5385 Added `stopmusic` because fans of 'stopsound' might appreciate it
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5280 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-02 20:00:26 +00:00
Spoike d5cbafbed8 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5279 fc73d0e0-1445-4013-8a0c-d673dee63da5 2018-07-24 20:46:16 +00:00
Spoike a7a050ffe2 attempt to play a greater range of old demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5278 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-24 20:42:44 +00:00
Spoike 8b03acacbe added env_cubemap support. doesn't currently render its own cubemaps yet.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5277 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-24 13:59:42 +00:00
Spoike bb68e5c5cd git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5276 fc73d0e0-1445-4013-8a0c-d673dee63da5 2018-07-22 12:55:45 +00:00
Spoike f45eb4580e compile fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5275 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-22 12:53:36 +00:00
Spoike 0fee3a4aea Add ortho lights (still has serious issues that make them unusable on regular maps).
First real attempt at lit water.
Parsing rtlights is now aware of spotlights.
Default cl_yieldcpu to 1, to save cpu for anyone who sets cl_maxfps lower. Added to menus.
presets now include view angle clamping - maps made for quakespasm REQUIRE full pitch angles despite it otherwise being considered a cheat or glitchy (on servers that try to block the cheat).
fix r_fullbrightSkins>=1 issue.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5274 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-22 11:49:37 +00:00
Spoike 1da1414e48 fix for class members shadowing entity fields
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5273 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-18 19:04:52 +00:00
Spoike d474f48fd1 rework class fields a little - fields now map onto a single underlaying array symbol, which avoids the need for differently sized underlaying arrays per member that were then conflicting between classes.
tweak the decompiler to deal with fte-optimised progs a little better.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5272 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-18 13:02:03 +00:00
Spoike a450035e80 added scoped enum values.
enum[flags] [class] NAME : TYPE {foo = (TYPE)val, bar=(TYPE)er}; NAME sym = NAME::foo; if (sym == sym.bar) etc;
TYPE can be int or float for enumflags, while non-flags enums can be any type that be initialised comfortably (supposedly) including strings and vectors.
If the class keyword is used, then expect errors if you store other values into the enum.
switch statements should give warnings if a value has no equal case.
also fix some compiler warnings.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5271 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-14 18:50:20 +00:00
Spoike d1d0d86fea Rewrote infostrings. Now using infobuffers, which allows for the use of arbitrary blobs, except not using the protocol extension yet in case it needs to be fixed.
Fix sound source issues in Q3.
Fix q2 air acceleration/prediction omission.
Don't change console completion while typing (while that option is still possible).
Shift+tab now cycles completion backwards (now ctrl+shift for cycle subconsoles).
Allow a few things to ignore sv_pure - including csprogs files (which is useful for all the mods that come with the csprogs.dat distributed separately).
clamp pitch values to the range documented by openal, to hopefully avoid error spam.
add some colour coding to the text editor when shader files are being edited/viewed.
Changed how overbrights are clamped on q3bsp.
Added portalfboscale for explicit texture scales on portal/refract/reflect fbos.
qc decompiler can now at least attempt to decompile qtest's qc.
fteqccgui can now be pointed at a .pak file, and decompile the progs.dat inside.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5269 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-05 16:21:44 +00:00
Eukara 34029c2434 Update wastes icon/config
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5268 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-21 13:14:53 +00:00
Spoike b7784f41d9 Fix potentially serious vulkan performance issue.
Stripped obsolete vk_nv_dedicated_allocation extension.
Misc fixes for warnings.
Linux now defaults to using ~/.local/share/fte instead of ~/.fte for greater consistency.
Other misc linux tweaks.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5267 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-18 16:44:29 +00:00
Eukara 6766b8af55 FreeCS icon added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5266 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-10 00:38:39 +00:00
Eukara c22c34a74d Updated FreeCS' config
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5265 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-10 00:37:57 +00:00
Eukara 0c85db76ce The Wastes config changes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5264 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-08 10:02:21 +00:00
Spoike 20be3f8161 fix a couple of quake2 issues.
rework the main menu slightly to promote the qi plugin a little more.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5262 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-06 09:09:14 +00:00
Spoike 4269bde59b Verify sprintf argument formats, to prevent people complaining about %d not accepting ints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5261 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-06 08:27:53 +00:00
Eukara 37b3eb0566 Added menu-native define
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5260 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-05 23:55:32 +00:00
Spoike df3e8fa719 Some bugfixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5259 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-03 09:46:41 +00:00
Spoike ac471dd03e update native-menu things.
attempt to deal with misaligned bsp models.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5258 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-02 08:55:57 +00:00
Spoike b1b5fcf4fb fix some warnings and a possible off-by-one error with reading scintilla text.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5257 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-05-28 21:09:15 +00:00
Spoike 1d655322d0 Fix a couple of warnings
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5256 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-05-28 10:23:27 +00:00
Spoike 60c8797d25 Try to fix frametime issues with TW.
Use eukara's icon in x11, matching the windows icon.
Use the extra main-menu options even when there's no menufont available.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5255 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-05-28 10:12:10 +00:00
Spoike 5e937bcf48 Eukara wants native-code custom menus. He's weird.
Try to clean up the frametime global.
fix some quirks with r_dynamic -1
Added scr_fov_mode cvar to control whether the fov is defined relative to horizontal, vertical, or guessed.
fix a few fteqcc bugs
tab completion for the gamedir command.
fix the savegame_legacy command. it wasn't entirely compatible.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5254 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-05-21 13:47:53 +00:00
Spoike 6ee709e6d7 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5253 fc73d0e0-1445-4013-8a0c-d673dee63da5 2018-05-19 05:11:09 +00:00
Spoike cf899af34a compile fixes for openbsd+freebsd
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-05-19 05:07:30 +00:00
Spoike 8c4d39268e added demo_nudge command.
attempt to fix an issue with bc formats being rejected by d3d if they're not a multiple of 4.
added doreset argument to refreshhostcache builtin, for mods to forget all servers when rescanning.
stop fteqcc from reporting uninitialised locals etc inside the wrong file.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5251 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-05-06 16:09:07 +00:00
Spoike 23afe95b70 Added cvarname completion for set+seta cvars.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5250 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-05-06 15:55:32 +00:00
Spoike 5c459e4eca fix some warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5249 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-04-27 17:11:14 +00:00
Spoike fdd903e0a3 win: emulate gamepad thumb axis as buttons.
keys: add some extra key names for compat with DP+QS (primarily gamepad buttons).
keys: fix a few keys getting mistranslated between engine and qc scancodes.
engine menus: remove 16bpp from the video options menu on win8+, as win8 no longer supports anything but rgbx8.
pmove: coord size and rounding is now part of the pmove code itself. this fixes truncation issues.
r_clutter_density: fix crash from clutter comprising of boneless iqms.
gl: added cvars to disable immutable buffers or textures. hopefully these might be usable to work around the issue reported on various geforce 1080s
wav: convert ieee wav files to 16bit on load, in case someone tries giving us one of these.
vid_srgb: this cvar now uses -1 for the former gamma-only setting.
r_viewmodel_quake: new cvar (name comes from quakespasm) that can be used to disable the weird movement of the viewmodel when pitching up or down.
nquake: try to block nquake's frogbot's autoexec.cfg, as I keep getting complaints about it fucking over singleplayer games.
fs: added -netquake commandline argument that disables the use of the qw/ gamedir.
fog: disabled fog on aky surfaces, as it was bugging out in The Wastes.
vid: fix some vid_restart/vid_reload issues (which got much worse recently in my attempt to fix a different crash)
routing: first attempt at engine-side routing. feature is currently disabled.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5248 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-04-27 16:40:50 +00:00
Spoike d56226aac5 more comprehensive attempt at fixing the qccgui bug reported by shpuld.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5247 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-04-20 19:09:14 +00:00
Spoike 9f17116412 cancelling messagemode now clears the text.
r_showshaders 1 now shows the filename.
block 16bit rendering on win8+.
be more aggressive at starting a video mode when the system refuses to set a video mode.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5246 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-04-19 17:30:39 +00:00
Spoike 2769443729 fix bind command arg completion crash.
add modifier key combos to bind arg completion.
don't force completion quite so aggressively.
completion is now more consistent with cl_chatmode 0.
alt key allows moving the cursor into console links to edit them (instead of treating them as immutable blobs on the input line).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5245 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-04-17 13:58:11 +00:00
Spoike 8df89fc186 a fix for the fteqccgui issue that was annoying shpuld
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-04-16 21:46:10 +00:00
Spoike 08ca60d1bf git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5243 fc73d0e0-1445-4013-8a0c-d673dee63da5 2018-04-15 14:31:44 +00:00
Spoike e1e3336eaa git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5242 fc73d0e0-1445-4013-8a0c-d673dee63da5 2018-04-15 02:53:14 +00:00
Spoike c4132347eb added sys_priority cvar to the windows build.
rewrote tab completion logic. should no longer consume so much cpu time.
added tab-completion for the connect command. server lists must have been requested previously (like the connectbr command requires).
fix q1bsp fencetexture+fog combo.
fix wateralpha/lavaalpha/slimealpha/telealpha worldspawn fields.
added a couple of extra cvars to some rulesets.
fix d3d9 mipmap-size issue.
fix vid_reload issue (was crashing, but its also possible that it could have been the cause of VBO corruption).
made pausable default to empty, allowing for smarter defaults like pausing SP but not DM.
attempt to compensate for NQ's framerate-dependant waterjumps by making QW waterjumps slightly more permissive.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5241 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-04-15 02:48:23 +00:00
Spoike eb89084603 fix a couple of networking issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5240 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-04-10 18:15:24 +00:00
Spoike ce4d162f31 write +moveleft etc to configs ONLY if they were explicitly +fooed, and not just because someone was still holding a key on a map change.
moved various config saving options to features, buttons saving is now disabled by default.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5239 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-04-09 18:01:15 +00:00
Spoike 1490d00793 d3d9 renderer should now match glDepthRange more closely, hopefully.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5238 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-04-09 06:10:38 +00:00
Spoike a1ff8a9f3c global fog for d3d9.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5237 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-04-08 15:42:31 +00:00
Spoike 2de26a93f7 use immutable vbos, because we can.
add stof to the lua logic.
fix an issue where q3bsp cvars were not registered in The Wastes build config leaving it subject to the worst of q3map2's lightmap allocation logic.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5236 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-04-08 14:24:50 +00:00