Commit Graph

3908 Commits

Author SHA1 Message Date
Spoike 5c67517cb5 Trying to fix crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4264 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-17 22:30:40 +00:00
Spoike 610b2014de broadcast lava splashes. big effects that need proper pvs. gets culled to easily by being underlava.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4263 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-17 20:56:47 +00:00
Spoike 7c0b4c9ff2 use a clumsy api, get clumsy code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4262 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-17 16:36:51 +00:00
Spoike 2ee3b703ba I removed that variable because it wasn't set anywhere.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4261 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-17 12:17:49 +00:00
Spoike 679b2bffe1 Try to enable it smartly...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4260 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-17 12:16:46 +00:00
Spoike dfe295a1ee Clarify that error a little, it looks bad when the most likely cause is inside the 'Killed' function!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4259 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-17 12:16:06 +00:00
Spoike 0d8560ba9e should probably advertise that now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4258 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-17 12:14:45 +00:00
Spoike e0f2b1113c try to fix ripplemaps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4257 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-17 12:11:47 +00:00
Spoike ab489b1680 with dupe similar definitions, favour the function type with the most specified arguments.
should probably do the same with .functions too, but meh.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4255 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-13 23:05:17 +00:00
Spoike 9d86667ab4 precache functions technically return strings. I'd prefer void personally, but string is technically correct, and reduces issues with cleanqc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4254 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-13 23:02:54 +00:00
Spoike 24d6ac83c8 my bulk commits didn't include include file additions. these are needed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4253 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-13 22:54:47 +00:00
Spoike c1a80e5ba8 ------------------------------------------------------------------------
r4256 | acceptthis | 2013-03-12 21:07:07 +0000 (Tue, 12 Mar 2013) | 5 lines

Don't mess up/crash when the snap command is used (in multiple ways).
Misc NQ+csqc compat tweaks/hacks/fixes.
Added pointsound.
Don't rely upon fragmentation support with downloads. its a bad idea.
Fixed up the text editor to be able to debug properly again.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:24:15 +00:00
Spoike dd68115e58 ------------------------------------------------------------------------
r4255 | acceptthis | 2013-03-10 23:55:57 +0000 (Sun, 10 Mar 2013) | 2 lines

more verbose type-error messages.
fix an issue with chars going missing on the last line (reported by Hectate).
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4251 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:22:05 +00:00
Spoike 066dc81d8b ------------------------------------------------------------------------
r4254 | acceptthis | 2013-03-10 17:10:23 +0000 (Sun, 10 Mar 2013) | 1 line

oops.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4250 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:21:36 +00:00
Spoike 854335dad8 ------------------------------------------------------------------------
r4253 | acceptthis | 2013-03-09 16:58:54 +0000 (Sat, 09 Mar 2013) | 1 line

Fix particle system shutdown without particle system running.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4249 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:21:14 +00:00
Spoike f5259d07d6 ------------------------------------------------------------------------
r4252 | acceptthis | 2013-03-08 04:23:40 +0000 (Fri, 08 Mar 2013) | 1 line

mingw32 apparently doesn't define those either.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4248 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:20:53 +00:00
Spoike 1ea2bb0e06 ------------------------------------------------------------------------
r4251 | acceptthis | 2013-03-08 04:18:20 +0000 (Fri, 08 Mar 2013) | 1 line

mingw32 apparently doesn't define those.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4247 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:20:32 +00:00
Spoike 64bc9464fe ------------------------------------------------------------------------
r4250 | acceptthis | 2013-03-08 03:32:56 +0000 (Fri, 08 Mar 2013) | 1 line

make sure -ldl is used.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4246 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:20:07 +00:00
Spoike 7b700555a9 ------------------------------------------------------------------------
r4249 | acceptthis | 2013-03-08 03:31:52 +0000 (Fri, 08 Mar 2013) | 1 line

make sure -lpthread is used.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4245 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:19:45 +00:00
Spoike edffd6c787 ------------------------------------------------------------------------
r4248 | acceptthis | 2013-03-08 03:29:24 +0000 (Fri, 08 Mar 2013) | 1 line

clumsy but hopefully more robust.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:19:24 +00:00
Spoike 89da43fe5c ------------------------------------------------------------------------
r4247 | acceptthis | 2013-03-08 02:53:53 +0000 (Fri, 08 Mar 2013) | 1 line

GL_DEPTH_COMPONENT missing on android.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4243 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:19:00 +00:00
Spoike 59217fec4d ------------------------------------------------------------------------
r4246 | acceptthis | 2013-03-08 02:49:14 +0000 (Fri, 08 Mar 2013) | 1 line

Fix bloom.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4242 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:18:37 +00:00
Spoike 60bc6a91db ------------------------------------------------------------------------
r4245 | acceptthis | 2013-03-08 02:48:56 +0000 (Fri, 08 Mar 2013) | 2 lines

rename cl_forcesplitclient to in_forcesplitclient. I can probably find it more easily then.
binds for eg give are now sent to the server in the context of the correct split-client.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4241 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:18:12 +00:00
Spoike 57da8fe041 ------------------------------------------------------------------------
r4244 | acceptthis | 2013-03-08 02:47:19 +0000 (Fri, 08 Mar 2013) | 1 line

bound gl_flashblend.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4240 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:17:40 +00:00
Spoike de2abac8f9 ------------------------------------------------------------------------
r4243 | acceptthis | 2013-03-08 02:46:54 +0000 (Fri, 08 Mar 2013) | 1 line

Make viewheight obey gravitydir. This just feels more natural.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4239 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:17:18 +00:00
Spoike c6b6c12a6e ------------------------------------------------------------------------
r4242 | acceptthis | 2013-03-08 02:45:46 +0000 (Fri, 08 Mar 2013) | 1 line

Change conditionals in shaders to properly support nested conditions and to be slightly more compatible with other engines (ie: qfusion/warsow). This refixes transparent water.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4238 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:16:55 +00:00
Spoike 3ef2925cd8 ------------------------------------------------------------------------
r4241 | acceptthis | 2013-03-08 02:42:39 +0000 (Fri, 08 Mar 2013) | 1 line

Delay gamma changes, to avoid issues with ATI.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4237 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:16:20 +00:00
Spoike 15425420ca ------------------------------------------------------------------------
r4240 | acceptthis | 2013-03-08 02:41:51 +0000 (Fri, 08 Mar 2013) | 1 line

fix splitscreen viewweapon animation.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4236 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:15:55 +00:00
Spoike 0543a97976 ------------------------------------------------------------------------
r4239 | acceptthis | 2013-03-08 02:41:00 +0000 (Fri, 08 Mar 2013) | 2 lines

Give the text edit input focus when alt-tabbing.
Display tooltips on mouseover for the various defs. You need to compile first for them to show.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4235 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:15:32 +00:00
Spoike 197bb250dd ------------------------------------------------------------------------
r4238 | acceptthis | 2013-03-06 18:19:50 +0000 (Wed, 06 Mar 2013) | 1 line

Add fullbright instead of mixing fullbright. This at least shows something when fullbrights are used, instead of potential blackness if the fullbright image universally contains 1 in the alpha channel.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4234 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:14:57 +00:00
Spoike 5141aeda5f ------------------------------------------------------------------------
r4237 | acceptthis | 2013-03-06 17:41:09 +0000 (Wed, 06 Mar 2013) | 1 line


------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4233 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:14:23 +00:00
Spoike 301f0a9071 ------------------------------------------------------------------------
r4236 | acceptthis | 2013-03-06 17:39:51 +0000 (Wed, 06 Mar 2013) | 1 line

glsl fix. gotta get a proper way to force nvidia to comply some time. :s
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4232 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:14:02 +00:00
Spoike de4a7409b2 ------------------------------------------------------------------------
r4235 | acceptthis | 2013-03-03 19:10:27 +0000 (Sun, 03 Mar 2013) | 5 lines

fix missing q2 surface water warp. fix missing q2 underwater warp.
tweak altwater shader+rendering to be capable of depth info too. Not enabling that yet.
fix q2 conchar colour issue.
fix rtlights in water.
attempt to remove borders of shadowmap lights. implement support for dynamic resolution shadowmaps. still needs to choose the resolution properly.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4231 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:13:39 +00:00
Spoike eba3f5d4d1 ------------------------------------------------------------------------
r4234 | acceptthis | 2013-03-02 18:03:32 +0000 (Sat, 02 Mar 2013) | 1 line

main model size wasn't set for q2bsps, breaking qw player physics due to an optimisation.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4230 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:12:30 +00:00
Spoike c38a4f753c ------------------------------------------------------------------------
r4231 | acceptthis | 2013-02-27 16:21:03 +0000 (Wed, 27 Feb 2013) | 1 line

fix a couple of pvs issues.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4227 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:11:08 +00:00
Spoike e8e230d98c ------------------------------------------------------------------------
r4230 | acceptthis | 2013-02-27 12:11:02 +0000 (Wed, 27 Feb 2013) | 2 lines

Make sure s+t vectors are actually calculated on q3/rbsp, fixing rtlights.
Resort shaders if the sort key changes, fixes issue with r_wateralpha changing without having to hack the other water shader alternatives, thereby fixing particles etc in front of standard water.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4226 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:10:44 +00:00
Spoike 61b833e665 ------------------------------------------------------------------------
r4229 | acceptthis | 2013-02-27 12:07:51 +0000 (Wed, 27 Feb 2013) | 1 line

Added gl_shaftlight cvar.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4225 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:10:12 +00:00
Spoike a3bb0b7567 ------------------------------------------------------------------------
r4228 | acceptthis | 2013-02-26 16:48:02 +0000 (Tue, 26 Feb 2013) | 1 line

don't purge that which is already purged.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4224 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:09:49 +00:00
Spoike 2e009e1d26 ------------------------------------------------------------------------
r4227 | acceptthis | 2013-02-26 16:29:38 +0000 (Tue, 26 Feb 2013) | 2 lines

numerous small fixes and tweaks for the nacl+npfte ports.
support for q3bsp tangent-space deluxemaps.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4223 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:09:25 +00:00
Spoike 5cb6c9f190 ------------------------------------------------------------------------
r4225 | acceptthis | 2013-02-22 10:59:41 +0000 (Fri, 22 Feb 2013) | 1 line

Make npfte link dynamically to X11+Xt so we can print something meaningful and avoid random crashes if those libraries are missing.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4222 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:06:15 +00:00
Spoike 4dd127dc14 ------------------------------------------------------------------------
r4224 | acceptthis | 2013-02-22 01:28:16 +0000 (Fri, 22 Feb 2013) | 1 line

More explicit dependancies.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4221 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:05:47 +00:00
Spoike 584dba6ae6 ------------------------------------------------------------------------
r4223 | acceptthis | 2013-02-21 14:43:49 +0000 (Thu, 21 Feb 2013) | 1 line

use multithreading in linux too, because we can. Fix extra-quotes issue.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4220 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:05:17 +00:00
Spoike 5ac7034b1a ------------------------------------------------------------------------
r4222 | acceptthis | 2013-02-21 11:35:10 +0000 (Thu, 21 Feb 2013) | 1 line

Missing (linux) Sys_mkdir function and stuff
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4219 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:04:52 +00:00
Spoike 4ddcdbb5f6 ------------------------------------------------------------------------
r4221 | acceptthis | 2013-02-21 10:29:11 +0000 (Thu, 21 Feb 2013) | 1 line

npfte now links against lib png/jpeg fully dynamically on linux, and thus optionally, reducing dependancies.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4218 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:04:31 +00:00
Spoike e484b80d26 ------------------------------------------------------------------------
r4220 | acceptthis | 2013-02-21 08:58:36 +0000 (Thu, 21 Feb 2013) | 1 line

Link against libX11 dynamically.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4217 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:04:11 +00:00
Spoike 6567fe92dd ------------------------------------------------------------------------
r4219 | acceptthis | 2013-02-21 04:54:35 +0000 (Thu, 21 Feb 2013) | 1 line

npapi support on linux too.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4216 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:03:46 +00:00
Spoike 91a23d8c96 ------------------------------------------------------------------------
r4218 | acceptthis | 2013-02-20 09:28:20 +0000 (Wed, 20 Feb 2013) | 1 line

misc improvements for the npfte port
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4215 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:03:04 +00:00
Spoike 9414e08306 ------------------------------------------------------------------------
r4217 | acceptthis | 2013-02-18 18:02:07 +0000 (Mon, 18 Feb 2013) | 1 line

Timon reported that there was a dummy useless cvar. Apparently this is why.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4214 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:02:18 +00:00
Spoike 24ba344762 ------------------------------------------------------------------------
r4216 | acceptthis | 2013-02-18 06:13:49 +0000 (Mon, 18 Feb 2013) | 1 line

don't show path picker when we've a manifest file. It doesn't quite seem right.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4213 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:01:55 +00:00
Spoike 85128de90a ------------------------------------------------------------------------
r4215 | acceptthis | 2013-02-18 06:03:26 +0000 (Mon, 18 Feb 2013) | 1 line

Make the browser plugin more robust.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4212 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:01:33 +00:00
Spoike f7c0eff8c6 ------------------------------------------------------------------------
r4214 | acceptthis | 2013-02-18 03:33:35 +0000 (Mon, 18 Feb 2013) | 1 line

my attempt at manifest file support.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4211 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:01:08 +00:00
Spoike 55cb101be1 ------------------------------------------------------------------------
r4213 | acceptthis | 2013-02-17 18:22:59 +0000 (Sun, 17 Feb 2013) | 1 line

Try to use a default display if all else fails.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4210 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:00:29 +00:00
Spoike 27eea2a788 ------------------------------------------------------------------------
r4211 | acceptthis | 2013-02-17 17:07:49 +0000 (Sun, 17 Feb 2013) | 1 line

fix compiletime warning, pass dataDownload info to the engine itself.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4209 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:59:38 +00:00
Spoike 9887cd9f4d ------------------------------------------------------------------------
r4210 | acceptthis | 2013-02-17 16:35:23 +0000 (Sun, 17 Feb 2013) | 1 line

allow mingl to compile again.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4208 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:59:16 +00:00
Spoike 837ea4aba9 ------------------------------------------------------------------------
r4209 | acceptthis | 2013-02-17 16:30:51 +0000 (Sun, 17 Feb 2013) | 1 line

Remove xinput2 header dependancy
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4207 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:58:55 +00:00
Spoike ef2a18bae5 ------------------------------------------------------------------------
r4208 | acceptthis | 2013-02-17 05:43:04 +0000 (Sun, 17 Feb 2013) | 2 lines

try to load the replacement skin even if we already tried to load it.
sounds stupid, but the first check checks only for upper/lower, while the second check checks only for base. so even if the first check fails, they might still have a tga, just one that has no colourmapping suppor, so we need the fallback even if we tried it already.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4206 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:58:34 +00:00
Spoike 3717f655a3 ------------------------------------------------------------------------
r4207 | acceptthis | 2013-02-16 23:16:07 +0000 (Sat, 16 Feb 2013) | 2 lines

update np plugin to do autoupdates properly.
Stop people from being able to save the game while dead (in single player, at least).
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4205 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:58:13 +00:00
Spoike 165a9006c7 ------------------------------------------------------------------------
r4206 | acceptthis | 2013-02-16 20:31:17 +0000 (Sat, 16 Feb 2013) | 1 line

Misc fixes.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4204 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:57:40 +00:00
Spoike 286d9a9317 ------------------------------------------------------------------------
r4205 | acceptthis | 2013-02-16 19:27:13 +0000 (Sat, 16 Feb 2013) | 1 line

avoid crashing.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4203 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:56:56 +00:00
Spoike 3f5a390605 ------------------------------------------------------------------------
r4204 | acceptthis | 2013-02-15 01:50:28 +0000 (Fri, 15 Feb 2013) | 1 line

missing declaration.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4202 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:56:32 +00:00
Spoike 00c3b4f1f0 ------------------------------------------------------------------------
r4203 | acceptthis | 2013-02-15 01:42:44 +0000 (Fri, 15 Feb 2013) | 1 line

Be more promiscuous with high-res skins, and flush them etc.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4201 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:56:10 +00:00
Spoike c7bc101e12 ------------------------------------------------------------------------
r4202 | acceptthis | 2013-02-14 23:00:42 +0000 (Thu, 14 Feb 2013) | 1 line

fix spectator angles and mvd movement issues.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4200 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:55:38 +00:00
Spoike fd20fea722 ------------------------------------------------------------------------
r4201 | acceptthis | 2013-02-14 22:51:59 +0000 (Thu, 14 Feb 2013) | 1 line

show pending packets as if choked. and mark them as lost once they actually are.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4199 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:55:17 +00:00
Spoike 26e60cd5a7 ------------------------------------------------------------------------
r4200 | acceptthis | 2013-02-14 22:50:01 +0000 (Thu, 14 Feb 2013) | 1 line

fix r_rockettrail 0 still giving a default trail.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4198 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:54:54 +00:00
Spoike 4ba750bc7b ------------------------------------------------------------------------
r4199 | acceptthis | 2013-02-14 18:27:06 +0000 (Thu, 14 Feb 2013) | 1 line

fix windowed mousegrab issue
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4197 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:54:33 +00:00
Spoike b8e29f5a47 ------------------------------------------------------------------------
r4198 | acceptthis | 2013-02-13 19:35:33 +0000 (Wed, 13 Feb 2013) | 1 line

Use xinput2, if available, for "raw" mouse input without mouse acceleration or middle-button emulation or anything.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4196 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:54:12 +00:00
Spoike 76375ee7f0 ------------------------------------------------------------------------
r4197 | acceptthis | 2013-02-12 19:15:44 +0000 (Tue, 12 Feb 2013) | 1 line

small compile fix.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4195 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:53:48 +00:00
Spoike a77bd67602 ------------------------------------------------------------------------
r4196 | acceptthis | 2013-02-12 19:06:07 +0000 (Tue, 12 Feb 2013) | 9 lines

split in/out client frames, so that we can cope with separate packet/movement sequences for nq+prediction.
Make default ports a little more explicit.
interpolate input frames. should make things smoother when the input rate does not match video rate.
fix centering of crosshairs
make sure skins are flushed properly on vid_restart, so 24bit skins don't get messed up.
keep sounds ticking even when inaudible.
qc addressable block now has a max of 2gb.
.__variant works as a function argument.
NQ clients now receive player physics consistant with QuakeWorld.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4194 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:53:23 +00:00
Spoike 65b6b27a75 ------------------------------------------------------------------------
r4195 | acceptthis | 2013-02-10 17:40:18 +0000 (Sun, 10 Feb 2013) | 1 line

add support for \. for frikqcc compat.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4193 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:50:09 +00:00
Spoike b12f04e00f ------------------------------------------------------------------------
r4194 | acceptthis | 2013-02-10 17:27:58 +0000 (Sun, 10 Feb 2013) | 1 line

-DUSE_EGL no longer excludes the use of glx
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4192 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:49:48 +00:00
Spoike bb613a5a76 ------------------------------------------------------------------------
r4193 | acceptthis | 2013-02-10 17:26:37 +0000 (Sun, 10 Feb 2013) | 1 line

-DUSE_EGL no longer excludes the use of glx
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4191 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:49:26 +00:00
Spoike 6299d07c0a ------------------------------------------------------------------------
r4192 | acceptthis | 2013-02-10 17:21:31 +0000 (Sun, 10 Feb 2013) | 1 line

-DUSE_EGL no longer excludes the use of glx
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4190 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:49:04 +00:00
Spoike 051a32d742 ------------------------------------------------------------------------
r4191 | acceptthis | 2013-02-10 17:19:47 +0000 (Sun, 10 Feb 2013) | 1 line

Try to fix alsa latencies. Again.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4189 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:48:31 +00:00
Spoike c23206fefd ------------------------------------------------------------------------
r4190 | acceptthis | 2013-02-10 17:18:14 +0000 (Sun, 10 Feb 2013) | 1 line

fix alt-strings being rendered as lots of question-marks.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4188 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:48:09 +00:00
Spoike 0ecf71adaf ------------------------------------------------------------------------
r4189 | acceptthis | 2013-02-05 12:54:29 +0000 (Tue, 05 Feb 2013) | 1 line

clipboard, icon, fullscreen support for glx. Numerous fixes for compile-time warnings.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4187 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:47:42 +00:00
Spoike 5c108ea81f ------------------------------------------------------------------------
r4188 | acceptthis | 2013-02-04 06:54:57 +0000 (Mon, 04 Feb 2013) | 1 line

try to fix osx compile errors.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4186 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:44:37 +00:00
Spoike 630af9dc7c ------------------------------------------------------------------------
r4187 | acceptthis | 2013-02-04 04:52:32 +0000 (Mon, 04 Feb 2013) | 9 lines

fix particle effect index insanity.
.modelflags support.
fix laggy mvds issue.
replacementdeltas works in mvds.
fix issues with not knowing which mvd is currently being recorded.
input line now permanently functions as utf-8.
cope with double-chevron links in the input line.
Add support for ^{xxxx}, but don't generate it. can only cope with 16bit anyway.
fix skins issues.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4185 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:44:00 +00:00
Spoike 80ab34a8f2 ------------------------------------------------------------------------
r4186 | acceptthis | 2013-01-29 03:25:21 +0000 (Tue, 29 Jan 2013) | 1 line

misc fixes for menus. mostly the quit menu, which can finally be used properly with a mouse.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4184 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:41:34 +00:00
Spoike be21617b87 ------------------------------------------------------------------------
r4185 | acceptthis | 2013-01-29 03:23:49 +0000 (Tue, 29 Jan 2013) | 1 line

one fix for messed up fonts occasionally.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4183 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:41:08 +00:00
Spoike 118b5df52b ------------------------------------------------------------------------
r4184 | acceptthis | 2013-01-29 03:23:16 +0000 (Tue, 29 Jan 2013) | 1 line

Allow passing __NULL__ as an entity argument.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4182 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:40:43 +00:00
Spoike 02f7e7e9f2 ------------------------------------------------------------------------
r4183 | acceptthis | 2013-01-28 01:13:22 +0000 (Mon, 28 Jan 2013) | 8 lines

visedicts limit tuned to be more aggressive/pre-emptive.
binds now triggers the quit option's cfg_save prompt.
quit console command now shows cfg_save prompt if a preset was applied.
fix fatal menu-related crash at startup.
add r_noframegrouplerp cvar to uglify flame/torch model animations.
fix gl_texturemode(2d) affecting skins and lightmaps and stuff. Its all more explicit now.
extend saved game string limits.
extend default pr_maxedicts value.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4181 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:40:16 +00:00
Spoike 141b00a636 ------------------------------------------------------------------------
r4182 | acceptthis | 2013-01-27 18:32:31 +0000 (Sun, 27 Jan 2013) | 1 line

handle of utf-8 encoded utf-16 surrogates (aka: cesu-8), because we can.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4180 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:38:42 +00:00
Spoike 1e9b79279c ------------------------------------------------------------------------
r4181 | acceptthis | 2013-01-27 18:06:56 +0000 (Sun, 27 Jan 2013) | 1 line

fix pasting of utf-8 text, and probably some other similar bugs.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4179 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:38:20 +00:00
Spoike 602e8cfb45 ------------------------------------------------------------------------
r4180 | acceptthis | 2013-01-27 13:24:22 +0000 (Sun, 27 Jan 2013) | 1 line

fix menu tint.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4178 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:37:59 +00:00
Spoike 426033a857 ------------------------------------------------------------------------
r4179 | acceptthis | 2013-01-27 04:43:44 +0000 (Sun, 27 Jan 2013) | 1 line

fix warnings/errors in the npfte plugin.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4177 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:37:28 +00:00
Spoike 5626a953f7 ------------------------------------------------------------------------
r4178 | acceptthis | 2013-01-27 04:42:45 +0000 (Sun, 27 Jan 2013) | 1 line

make gl_blendsprites off in the faithful preset and below.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4176 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:37:03 +00:00
Spoike 92013a7919 ------------------------------------------------------------------------
r4177 | acceptthis | 2013-01-27 02:41:30 +0000 (Sun, 27 Jan 2013) | 1 line

grr
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4175 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:36:41 +00:00
Spoike fec7776745 ------------------------------------------------------------------------
r4176 | acceptthis | 2013-01-27 01:55:26 +0000 (Sun, 27 Jan 2013) | 3 lines

replacementdeltas+vw_index now works. not quite how I'd originally intended it though. need to test for nq.
Fix fitz666 svc_clientdata clientside issue.
The judderyness is not my imagination! Thanks sock! :)
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4174 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:36:18 +00:00
Spoike a339c727d0 ------------------------------------------------------------------------
r4175 | acceptthis | 2013-01-26 18:23:37 +0000 (Sat, 26 Jan 2013) | 8 lines

improved replacementdeltas+nq a little, still needs work.
embrace the menuqc! pr_dumpplatform now includes MENU defs+builtins.
swapped search ordering of paks+dirs, so progs.dat will be used instead of pak0.pak/progs.dat.
fteqcc slightly more sensible with if statements and void+vector types.
fteqcc shows the first line where models are precached/used instead of showing no line at all.
fix missing explosions when running qw gamecode.
accept channels between 8 and 255. 
support for sending fitzquake's increased stat limits.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4173 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:35:33 +00:00
Spoike 9e2969390d ------------------------------------------------------------------------
r4174 | acceptthis | 2013-01-25 15:56:53 +0000 (Fri, 25 Jan 2013) | 8 lines

fix fteqcc 'tui'.
Added new warning to detect non-utf-8 strings. Doesn't check for overlong.
Added new warning to detect uninitialised locals.
Fix ///* inside #if.
Renamed -Olm to -Olo, and fixed the bugs that stopped it from working. Uses the uninit locals check to prevent breakages.
Optimised -Os.
'local const foo' definitions no longer sit within the local variables block.
Fixed confusion between OP_BOUNDCHECK and jumps.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4172 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:32:25 +00:00
Spoike c0d19c48fb ------------------------------------------------------------------------
r4173 | acceptthis | 2013-01-17 11:21:20 +0000 (Thu, 17 Jan 2013) | 1 line

buildbot doesn't have RegGetString, which is too recent for xp anyway, too.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:31:40 +00:00
Spoike 63d5c58871 ------------------------------------------------------------------------
r4172 | acceptthis | 2013-01-17 09:11:07 +0000 (Thu, 17 Jan 2013) | 1 line

minimal doesn't have those defined. hrmph.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4170 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:31:10 +00:00
Spoike fd13c057a0 ------------------------------------------------------------------------
r4171 | acceptthis | 2013-01-17 09:05:18 +0000 (Thu, 17 Jan 2013) | 1 line

gcc is more fussy, for better or worse.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4169 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:30:47 +00:00
Spoike eb110b969a ------------------------------------------------------------------------
r4170 | acceptthis | 2013-01-17 09:00:58 +0000 (Thu, 17 Jan 2013) | 1 line

tiny fixes, because gcc is more fussy.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4168 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:30:22 +00:00
Spoike 8d5b217266 ------------------------------------------------------------------------
r4169 | acceptthis | 2013-01-17 08:55:12 +0000 (Thu, 17 Jan 2013) | 31 lines

removed MAX_VISEDICTS limit.
PEXT2_REPLACEMENTDELTAS tweaked, now has 4 million entity limit. still not enabled by default.
TE_BEAM now maps to a separate TEQW_BEAM to avoid conflicts with QW.
added android multitouch emulation for windows/rawinput (in_simulatemultitouch).
split topcolor/bottomcolor from scoreboard, for dp's colormap|1024 feature.
now using utf-8 for windows consoles.
qcc warnings/errors now give clickable console links for quick+easy editing.
disabled menutint when the currently active item changes contrast or gamma (for OneManClan).
Added support for drawfont/drawfontscale.
tweaked the qcvm a little to reduce the number of pointers.
.doll file loading. still experimental and will likely crash. requires csqc active, even if its a dummy progs. this will be fixed in time. Still other things that need cleaning up.
windows: gl_font "?" shows the standard windows font-selection dialog, and can be used to select windows fonts. not all work. and you probably don't want to use windings.
fixed splitscreen support when playing mvds. added mini-scoreboards to splitscreen. 
editor/debugger now shows asm if there's no linenumber info. also, pressing f1 for help shows the shortcuts.
Added support for .framegroups files for psk(psa) and iqm formats.
True support for ezquake's colour codes. Mutually exclusive with background colours.
path command output slightly more readable.
added support for digest_hex (MD4, SHA1, CRC16).
skingroups now colourmap correctly.
Fix terrain colour hints, and litdata from the wrong bsp.
fix ftp dual-homed issue. support epsv command, and enable ipv6 (eprt still not supported).
remove d3d11 compilation from the makefile. the required headers are not provided by mingw, and are not available to the build bot, so don't bother.
fix v *= v.x and similar opcodes.
fteqcc: fixed support for áéíóú type chars in names. utf-8 files now properly supported (even with the utf-8 bom/identifier). utf-16 also supported.
fteqcc: fixed '#if 1 == 3 && 4' parsing.
fteqcc: -Werror acts on the warning, rather than as a separate error. Line numbers are thus more readable.
fteqcc: copyright message now includes compile date instead.
fteqccgui: the treeview control is now coloured depending on whether there were warnings/errors in the last compile.
fteqccgui: the output window is now focused and scrolls down as compilation progresses.
pr_dumpplatform command dumps out some pragmas to convert more serious warnings to errors. This is to avoid the infamous 'fteqcc sucks cos my code sucks' issue.
rewrote prespawn/modelist/soundlist code. server tracks progress now.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4167 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:29:40 +00:00
Spoike 4519fe7035 ------------------------------------------------------------------------
r4166 | acceptthis | 2012-12-22 07:03:26 +0000 (Sat, 22 Dec 2012) | 1 line

Should fix 3 bugs in the server. One crash, one that breaks server browsers, and one minor.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4166 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:13:26 +00:00
Spoike 6f539b77fa Support proquake-style loc files too. Hoepfully the heuristics to parse them will be okay...
Uses radial distance from the nearest point on the box, rather than simply the loc point, so QW logs should be unaffected, and the code doesn't really have to care whether its a box or a point.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4165 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-12-15 19:20:33 +00:00
Spoike 8ba7a5b9f7 fix multitouch.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4164 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-12-15 00:25:54 +00:00
Spoike d8fdaabfe4 fix -window etc.
Support 'color 0x00ff00' for green skins. Cos we might as well.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4163 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-12-12 22:16:08 +00:00
Spoike a6e278ca21 fix for fussy drivers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4162 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-12-12 18:45:07 +00:00
Spoike 2532507afd fix up non-shadowmap spot lights.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4161 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-12-04 19:39:25 +00:00
Spoike 95266f8215 d3d11 fixes. mipmapping implemented, vertex streaming more performant. Still behind the d3d9 renderer.
Fixed d3d11 vs d3d9 conflicts when switching renderers.
Fixed hlsl-less d3d9 lava.
Added gl_specular_fallback to override the default gloss level.
Added these cvars to give more control over imported/dlight lighting r_shadow_realtime_dlight_ambient r_shadow_realtime_dlight_diffuse r_shadow_realtime_dlight_specular r_editlights_import_radius r_editlights_import_ambient r_editlights_import_diffuse r_editlights_import_specular. Effective value of r_editlights_import_specular is now 1. Was 4.
Fixed spot/cube/smap lights.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4160 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-12-04 19:37:57 +00:00
Spoike 472710d177 support SPOT without PCF.
don't spam about SPECULAR.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4158 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-12-04 17:09:00 +00:00
Spoike 0b4d06b4ff Check /usr/share/quake to see if quake is installed there.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4157 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-11-30 02:50:50 +00:00
Spoike d248ce223f added support for persistent particle effects in hexen2.
tweaked shutdown of sql to not make sql unusable after 'disconnect' on a listen server, fixed a couple of mem leaks.
audio no longer starts up twice in windows.
removed specular permutation. its either globally active or globally inactive.
Use oblique near-plane clipping instead of a clipplane, fixing our rtlighting+water warping.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4156 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-11-29 13:37:48 +00:00
Spoike e82dd608a6 fix for gl_contrast and presets breaking hexen2's particles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4155 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-11-27 23:50:58 +00:00
Spoike ca9bad4f1a compile fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4154 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-11-27 06:24:25 +00:00
Spoike ea1f452b99 Small compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4153 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-11-27 06:06:25 +00:00
Spoike 53a7b3d47c added support for external capture plugins - and using avcodec as a plugin.c.
The ragdoll API is potentially usable now, but still really limited.
Enabled SQL requests by default using sqlite. Note that you'll need the sqlite dll to use this. MySQL should still be usable, but I didn't try. MySQL requires -DUSE_MYSQL to compile it, and a dll and -mysql argument to enable it.
Fixed nacl.
NPFTE plugin now invokes an exe to run the game rather than running the game within the browser.
externvalue builtin now accepts & prefix to return a pointer instead.
Fixed vector autocvars.
uri_get, bufstr_add, bufstr_free, now functional.
QC debugger can now show asm if line numbers are not available.
Added support for QC watchpoints. Use the watchpoint command.
gl_specular now give specular even without rtlights, thankfully not as blatently, but its there.
android will not crash due to supported audio formats, and gles2 can be selected via a cvar (requires full FTEDroidActivity/program restart).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4152 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-11-27 03:23:19 +00:00
Spoike 705e1ab0e0 fix for the writetofile builtin. This builtin should work now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4151 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-11-20 18:49:57 +00:00
Lance 9552e7fb64 Tweaking Speex still
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4150 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-25 07:02:09 +00:00
Lance cc0f60c2f7 Let's hope I got it right this time
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4149 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-25 06:10:20 +00:00
Lance 978af08cbf Fix my mistake in last commit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-25 06:05:20 +00:00
Lance c3fc546b7f Forgot to add these
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4147 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-25 05:05:37 +00:00
Lance 5747d75042 Added Speex development files, updated headers as well.
Makefile changed to statically compile Speex into FTEQW where possible.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4146 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-25 04:52:55 +00:00
Lance 8d4a0a671c Disable Ogg for Mac too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-24 14:05:19 +00:00
Lance c8d3f617e0 MorphOS doesn't need Ogg
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4144 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-24 12:57:12 +00:00
Lance 089f40b8e6 Prefer the stable MinGW 64bit compiler over the experimental one.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4143 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-24 12:49:23 +00:00
Lance 4a096710c7 MinGW 64bit OggVorbis libs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4142 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-24 05:24:13 +00:00
Lance 70c0818c4c Enabled Ogg in Linux builds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4141 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-24 04:16:38 +00:00
Lance ad2eee77a8 Ogg Vorbis libs that are compatible with the shell
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4140 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-24 04:15:40 +00:00
Lance e38c3ebd08 Forgot to commit the 2 libvorbis static libs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4139 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-24 03:15:25 +00:00
Lance c16517fbcb OggVorbis support now turned on (AVAIL_OGGVORBIS)
Ogg/Vorbis: Will now look for 'libvorbisfile-3.dll' as well as 'vorbisfile.dll' in Windows.
MinGW builds now have OggVorbis statically linked. (LIBVORBISFILE_STATIC)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4138 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-24 02:59:31 +00:00
Spoike b184da13a4 code to cope with -DLIBVORBISFILE_STATIC for moodles to use his statically linked libogg/libvorbis.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4137 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-24 01:32:10 +00:00
Spoike 0fda04dc46 bumped sanity limit for gb.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4136 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-22 18:19:22 +00:00
Lance 78b59d54c3 Allow win32 fte to be large address aware (access beyond 2GB address space).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4135 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-22 14:26:47 +00:00
Spoike 60e9a3b3c6 fix an 'java.lang.IllegalArgumentException: pointerIndex out of
range' on multitouch events.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4134 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-18 21:46:50 +00:00
Spoike beedecc3e9 Don't be confusing in linux, even if we're less informative.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4133 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-18 15:20:00 +00:00
Spoike ec536b4908 add yes/no buttons to the quit menu
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4132 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-18 10:13:15 +00:00
Spoike 1eb9fa0d76 avoid potential crash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4131 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-18 10:10:11 +00:00
Spoike e9de58cf6a couple of compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4130 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-14 11:20:14 +00:00
Spoike e31ebac4cb make the linux port act a bit more like the windows port, for better or worse
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4129 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-14 10:57:11 +00:00
Spoike b84d03a87c validate that we actually have a proper implementation of GL_ARB_vertex_array_object, to avoid virtualbox crashes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4128 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-14 10:55:09 +00:00
Spoike 670dadcecf don't show link gibberish on stdout
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4127 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-14 10:53:50 +00:00
Spoike cac1e0fb57 Unified input subsystems. Should now all act the same.
_windowed_mouse 0 on windows is basically identical to mono-touch on android, at least the touchless emulator. :)
This needs testing on other platforms. Committing so I can easily get my source onto loonix.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4126 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-14 09:00:49 +00:00
Spoike 5d9ba4b548 Added console-links support.
Shift click IPs/words/links on the console to enter them as arguments.
Fixed some utf-8 issues.
Fixed issue with csaddon.dat not loading in release builds.
Fixed berkelium inputs, should have a full range of keys now, though there's still no 'back' support.
Bad name rejection made more paranoid.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4124 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-13 00:56:31 +00:00
Spoike fc2ab857f5 clarified error message. also testing moodles' buildbot's email feature. mwahaha.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4123 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-12 00:22:32 +00:00
Spoike 4cc1341b22 couple of fixes for q2 + berkelium.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4122 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-10 22:58:51 +00:00
Spoike c9d051b710 fix mingl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4121 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-08 05:30:46 +00:00
Spoike 118587329c Burkelium 64bit fixes, and related linux workarounds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4118 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-08 05:10:14 +00:00
Spoike 50f7b34b80 fix a small issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4117 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-08 04:42:18 +00:00
Spoike da8610dd13 fix a small issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4116 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-08 04:40:57 +00:00
Spoike 63994793c9 audio on android is now configurable, hopefully.
tweaks to the media decoder's input controls and media plugin decoder stability.
lame basic volumetric fog support. needs improvements.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4115 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-08 04:36:10 +00:00
Spoike e70af9bb9e Make shared object errors more debuggable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4114 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-08 01:30:41 +00:00
Spoike 5ec2ce589b make sure these don't get forgotten about.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4111 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-07 18:38:22 +00:00
Spoike b937bb8161 server now claims to be proquake-compatible, so will use 16bit angles for proquake and its nq clones.
fixed an angle size issue with fitzquake. this was not an issue when only the rmq protocol was used as the server forced all angles to 16bit anyway, but does matter if the server is using the same basic protocol without angle extensions.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4108 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-01 14:29:44 +00:00
Spoike d806f20230 dedicated server should compile now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4106 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-09-30 10:54:43 +00:00
Spoike c6c3d3f4e0 Trimmed some dead files.
Quick hack preliminary d3d11 renderer. I'm not likely to touch this again for quite some time.
Sys_Error works properly on android, with an error message shown. Should be less of a stab in the dark if you get errors. Seg faults are still instantly fatal. Not much I can reliably do about those - most of the juicy ones will likely occur within the gl drivers (even if its my fault) and java will still call in to it.
Stereoscopic (quad-buffered) rendering is in the gl renderer. You'll likely need a quatro to use it despite it being a gl 1.0 feature. No idea about ati. See r_stereo_method for non-quad-buffered alternatives.
Tweaked networking to not overflow so much. Needs testing against other qw clients.
Fixed an issue with surface numbers > 32k on limit-breaking maps.
Fixed a preparse issue resulting in QW clients dying with the ne_ruins map's progs.
Support for the DP-variant of BSP2. The depricated RMQ variant is still supported.
QTV proxy now uses ipv6 hybrid sockets where possible. Preliminary pext support.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4105 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-09-30 05:52:03 +00:00
Spoike 42f8d68e85 reduce amount of blackness remaining in the rocket trails. it doesn't look so cool, but doesn't obscure the view for as long.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4104 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-08-24 13:53:37 +00:00
Spoike d44b546b10 misc compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4103 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-08-04 12:27:24 +00:00
Spoike 8ba09bac40 fix for a silly bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4102 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-08-04 11:31:00 +00:00
Spoike e759ac90bc random fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4101 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-08-04 11:28:39 +00:00
Spoike 197f716f75 r_wireframe. requires cheats.
omni shadowmaps should work, but do still have issues.
added colour tints to terrain, and clipped decals.
fixed issue where fixed-function shaders were getting drawn with the glsl rendering functions.
tweeked mvd recording code a little. don't use until next mvd-related commit.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4100 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-08-04 01:35:52 +00:00
Spoike 7135c3ee19 fix the bmp loader
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4099 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-08-02 17:00:23 +00:00
Spoike e465bf7030 Remove limits on vis sizes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4098 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-08-02 03:44:04 +00:00
Spoike 8ff440069f minor limit bump.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4097 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-08-01 23:46:20 +00:00
Spoike 1ee5c4c512 don't be too fussy when q3bsp2 is around! :P
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4096 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-24 00:20:45 +00:00
Spoike 6b827e89ff Hopefully those phs calc bugs/crashes are properly fixed now...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4095 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-23 03:42:46 +00:00
Spoike 846a2264ba fix non-rotating q3 bsp objects.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4094 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-23 02:34:20 +00:00
Spoike 8d3f45587e Forgot to reload holes, sorry.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4093 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-22 04:30:09 +00:00
Spoike 95aa0b5eeb Added an extra column/row of height info to each section, to get alignment correct in respect to holes.
Also, first texture painted is considered the base texture

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4092 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-22 02:56:22 +00:00
Spoike a7e1ddf04b fix non-compliant glsl casts (always test on something that isn't nvidia!).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4091 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-21 23:34:48 +00:00
Spoike 9baba9adcd Limit the number of active sections. This allows stupidly huge maps without running out of memory.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4090 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-21 08:06:07 +00:00
Spoike 65fb47c9f6 Android isn't really failing. Lets fix up the makefile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4089 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-21 07:36:26 +00:00
Spoike 8a7d87fa8e more Heightmap fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4088 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-21 06:04:44 +00:00
Spoike 678012e3fb more Heightmap fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4087 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-21 05:52:35 +00:00
Spoike e6f3e0d019 fix the linux-specific input/csqc weirdness that gb reported
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4086 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-21 05:21:06 +00:00
Spoike f15532d525 Gave terrain limited thickness, re-added support for holes with clipping.
fixed potential vid_restart/particle crash.
fixed a win32 consize resize bug when alt-tabbing.
added a hack to assume stepping behaviour for monsters on mvdsv servers.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4085 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-21 04:43:31 +00:00
Spoike 60d490fce6 stupid stupid bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4084 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-20 18:54:52 +00:00
Spoike 41fa068b72 aaaaand fix the dedicated server.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4083 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-20 01:55:42 +00:00
Spoike 550cd8e453 I left some debug code in there, whoops
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4081 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-20 01:48:08 +00:00
Spoike e7752c49bd console should activate on android
fixed a crash that can happen when just starting a new map
fixed a q3bsp pvs crash
IF_CLAMP now generates dupes as needed.
terrain: water, shading, static meshes, collision rewritten.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4080 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-20 01:46:05 +00:00
Spoike 5f92259f44 I really really suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4079 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-15 05:33:03 +00:00
Spoike 1a309b95c4 bugfix csqc contentstransition support
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4078 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-15 05:24:21 +00:00
Spoike 8463ccc861 compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4077 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-15 04:52:57 +00:00
Spoike b6a9a64124 Lets try using posix clocks instead of gettimeofday.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4076 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-15 03:34:57 +00:00
Spoike b0d236c5c0 yet more fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4075 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-15 03:18:34 +00:00
Spoike a0acf7ceab bizzare...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4074 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-15 02:44:54 +00:00
Spoike ddc9183f11 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4073 fc73d0e0-1445-4013-8a0c-d673dee63da5 2012-07-15 02:40:30 +00:00
Spoike 584d2776cc Added terrain to q3/rbsp maps too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4071 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 23:17:54 +00:00
Spoike a2f7763d97 grr
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4070 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 17:33:44 +00:00
Spoike 71dce10318 Trying to fix stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4069 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 17:25:21 +00:00
Spoike 2c7220af2e bizzare...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4068 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 16:36:19 +00:00
Spoike 8ae45223dc Android: fat presses, vibrator, onscreen keyboard, keep-screen-on, console scaling, touch-based console scrolling, additional bindables.
Some memory leaks fixed.
latency with the nq protocol over loopback is much reduced.
Terrain: now mostly a property of a (q1 for now) bsp map, file format changed, glsl now built in, terrain editor builtin improved/changed, holes supported.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4067 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 16:25:18 +00:00
Spoike e2a5138e77 Fix missing default textures on rbsp maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4066 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-09 00:44:05 +00:00
Spoike fe4e66ee1b Fix silly hunk misalignment.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4065 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-08 23:28:41 +00:00
Spoike fcf33c350d Fix fs_cache issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4064 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-08 12:33:08 +00:00
Spoike 73fd4fcf8d gb reported that fs_cache wasn't working, but its more serious than that. this should fix it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4063 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-07 22:26:45 +00:00
Spoike f58b9802b8 misc fixes, mostly for q3bsp+no pvs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4062 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-07 05:17:43 +00:00
Spoike eaae31aec1 Fix 'Building a vbo with too many verticies' error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4061 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-07 02:52:39 +00:00
Spoike 765642b1e2 Sorry, some bits I missed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4060 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-06 21:34:23 +00:00
Spoike fe23d72d69 Android tweeks
memory freeing tweeks
batch data rearranged a little (to try to reduce memory).
RBSP/FBSP fixed. lightstyles now supported.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4059 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-05 19:42:36 +00:00
Spoike 180432523d Fix specular.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4058 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-05 13:09:44 +00:00
Spoike a88b2274c7 rbsp/fbsp lightstyle support in the default wall shader
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4057 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-05 13:08:07 +00:00
Lance aee80e353b Added some 16:9 video resolutions in the options menu
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4056 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-06-16 08:58:36 +00:00
Spoike 237dffe4d4 Trying to appease bigfoot.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4055 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-06-01 12:57:01 +00:00
Spoike f96c737175 Slightly more verbose output for glsl linker errors.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4052 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-14 15:07:03 +00:00
Spoike da3ac7e993 not sure what to do with this. oh well.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4051 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-14 01:46:13 +00:00
Spoike 4db8b46c4b implement ripplemaps. currently requires explicit mod support to use properly.
fix hexen2 conchars
fix audio sample mixups
fix recent beam-related crashes.
added orthographic bsp culling routines.
fix crash on vid_restart.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4050 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-14 01:41:08 +00:00
Spoike 757b50efa1 Resolved amd64 valgrind warnings and potential slowness
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4049 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-13 13:59:39 +00:00
Lance 46d38af14e Fix for Android under buildbot
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4048 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-11 04:44:18 +00:00
Spoike 1dcc435bca added args to the bloom shader for better tweekage.
Committing my lame water shader. r_water_refract/r_water_reflect 1 to use.
Bugfix for crepuscular arrays (r_sun_colour to easily enable).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4047 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-11 01:57:00 +00:00
Lance 376324eacf Fixed Win64 SDL abit, and tweaked Android to work better with buildbot
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4046 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-11 01:20:36 +00:00
Spoike 38e0063b39 fix h2 teleporters not being transparent
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4045 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-11 00:51:54 +00:00
Spoike 48d03aff82 mingl fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4044 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 19:14:25 +00:00
Spoike 15af83a0d8 fix potential crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4043 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 19:09:51 +00:00
Spoike 6422652191 Fix hexen2 crash-on-starting-a-map.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4042 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 18:54:07 +00:00
Lance 768b58b9ec Fixed MorphOS dedicated server to include some important headers
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4041 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 15:39:23 +00:00
Mark Olsen 05782350c4 Define __MORPHOS_SHAREDLIBS on MorphOS by default. FTE for MorphOS now requires MorphOS 2.0+.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4040 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 13:01:02 +00:00
Mark Olsen 7c45604012 Use dynload.library by default. dlopen() and friends will now only work on MorphOS 2.0+.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4039 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 12:56:18 +00:00
Mark Olsen 8e5035d08a MorphOS build fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4038 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 12:55:14 +00:00
Mark Olsen cdc66e4dad Crappy crap code now has crap support for MorphOS.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4037 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 12:54:10 +00:00
Mark Olsen 756b6b67f0 Only try AF_INET6 if IPPROTO_IPV6 is defined.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4036 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 12:53:36 +00:00
Spoike 4446f60fe8 Added code for glsl-less rtlights.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4035 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 01:00:41 +00:00
Spoike 33a540806e Small tweeks, bugfixes, breakages, cleanups...
Added $reflection texture map for (water) shaders. Just renders the screen to an fbo before rendering the surface.
hub/savegame fixes.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4034 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-09 15:30:53 +00:00
Spoike 7b5a5f6f9e fix for packet fragmentation
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4033 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-25 16:29:58 +00:00
Spoike 5d12d96f87 bigfoot complained that the timedemo framecounts didn't match vanilla. So now it matches vanilla (both nq and qw), but does not match bigfoot's own engine, because bigfoot's engine cheats and does not match vanilla.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4032 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-24 12:22:50 +00:00
Spoike 25ef3f02db Couple of bugs fixed - other-player prediction, net_preparse crashes, q2 gamecode no longer crashes.
Throttle getstatus requests (so we don't end up being used for udp escilation (d)dos attacks so usefully/expensively).
Added cl_predict_players_frac. vanilla QW effectively had a hardcoded value of 0.5.
Added simple fps preset menu, which keeps on appearing until they actually pick one. mwahaha.
Quit menu offers to save settings if some CVAR_ARCHIVE cvar was changed.
alias models do vertex blending on the gpu.
GL renderer now uses vao when available.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4031 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-24 07:59:11 +00:00
Spoike 6187f214cf Removed obsolete 'OF' macro.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4030 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-24 03:12:50 +00:00
Spoike a6bd4e999d Removed obsolete 'OF' macro.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4029 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-24 03:11:27 +00:00
Spoike 6ffc2e5041 Removed obsolete 'OF' macro.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4028 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-24 03:07:04 +00:00
Mark Olsen b39b0fae51 Not that it is accepting server announcements currently anyway, but changed asgaard.morphos-team.net to qwmaster.fodquake.net.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4027 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-23 18:43:12 +00:00
Spoike e81a0f68e3 fixes aerowalk lifts (broken since my gravitydir stuff apparently).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4026 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-23 18:40:10 +00:00
Spoike 810d28dd84 Included Environment class to figure out where the sdcard is on more devices.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4023 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-21 04:04:46 +00:00
Spoike 3c5cb8ee20 for qtv to work too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4020 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-20 15:18:01 +00:00
Spoike 0e77fa7386 Fix an mvd/qtv-related crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4018 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-20 14:13:18 +00:00
Spoike e6c741f2fe small fix for bigfoot's $time
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4017 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-20 14:09:04 +00:00
Spoike ffb3ddcbb8 compile fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4016 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-16 12:19:15 +00:00
Spoike b6d08f44c5 Added $time and $properdate macros to dedicated servers too, for bigfoot's easyrecord stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4015 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-16 12:15:05 +00:00
Spoike 161f9e46b1 forgot to add that to the makefile
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4014 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-10 10:51:52 +00:00
Spoike 82542ae037 Committing this before I break it any more.
Massive terrain system rewrite.
Added a Native Client port (sound is stereo 44khz only, rendering is gles2, networking is websockets only (sv_port_tcp supports acting as a qw websockets server with non-nacl servers, filesystem is downloads-only - no saves/configs). Blame Zalon. Grr.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4013 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-09 19:12:12 +00:00
Lance 9657eb2637 Fix Win64 SDL build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4012 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-27 03:01:13 +00:00
Lance 47b0283d10 Enabled BOTLIB (-DBOTLIB), and added it to virtually every target possible (except NPFTE and MinGL) which don't have a dedicated server. Let's see what we break...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4011 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-25 11:30:07 +00:00
Lance bc8ee99e3a Added botlib (BOTLIB_OBJS) but not enabled.
botlib errors when enabled: http://pastebin.com/YfQfeEB3

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4010 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-25 11:15:37 +00:00
Spoike 39fa352534 fix typo. reported by DeCypher
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4009 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-23 07:23:39 +00:00
Spoike 56b48c2f7c compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4008 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-23 05:22:22 +00:00
Spoike 14507b55f3 doubled -mem size to a 16mb heap.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4007 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-22 22:50:19 +00:00
Spoike 5049001068 compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4006 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-20 03:52:16 +00:00
Spoike 53116a9763 tweaked console completion to be less spammy and to show descriptions for commands where available.
added a few descriptions to a few cvars.
tweaked strzone/strunzone, added memalloc/memfree/memcpy/memset (use pr_dumpplatform to dump out a new defs).
tweaked android to use a smaller audio buffer, hopefully reducing latency slightly. let me know if this results in bugs...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4005 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-19 06:30:41 +00:00
Spoike 8e77971422 fix a temp use error in self.enemy.velocity += vecfunc();
divVerent has full credit for this.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4004 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-18 20:07:03 +00:00
Spoike 6bd53e82a3 android fix, enables ipv6. should stop the crashes, though that's a separate issue really.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4003 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-29 20:54:22 +00:00
Spoike 95569fc5dd Trying to fix stuff from last commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4002 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-27 13:55:23 +00:00
Spoike 4149c85ab6 tweeks and changes for android.
audio mixer revamped to cope with threads. 'cache' memory functions no longer used for audio.
added windows acm code to decode mp3 files.
audio playback rates scale with game speed. snd_playbackrate added to control the rate of new samples.
sv_gamespeed no longer needs a map change.
fixed '=' on german keymaps and in_builtinkeymap 0 (and similar issues). bug: keybind names still use US keymap.
added support for rmqe's 24bit network precision.
fixed byterate reporting to no longer be protocol-dependant (nq rates are no longer wildly inaccurate).
removed waterjumping when already dead.
fixed model matrix for viewmodels (modelview unchanged), thus fixing rtlighting on viewmodels.
Added bspx support for rgblighting, lightingdir, and (preliminary)brushlists.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4001 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-27 12:23:15 +00:00
Spoike 5f12e8c9dd bug fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3999 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-17 01:35:22 +00:00
Spoike 854157a4e7 Added .vector gravitydir;
Added csqc getentity builtin (untested, broken for players).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3998 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-17 01:12:37 +00:00
Spoike 47ccd3bd0d fix movetypes, fix q2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3994 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-15 13:53:30 +00:00
Spoike 0736882c60 trying to fix q2 connectivity.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3993 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-15 13:35:37 +00:00
Spoike 09c275794c fix a connectivity issue
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3992 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-15 08:31:55 +00:00
Spoike ee72d0ca0d I'm tweeking pmove.c for the luls.
fixed 8859-1 for non-english hexen2
tweeking my deltaing.
cl_demospeed bugs fixed.
fixed things being seen through skys.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3990 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-14 15:50:34 +00:00
Spoike 24e5adeb2b qcc: added somevec[0] to read somevec_x
qcc: fixed struct->ptrfield = ptrvalue
qcc: fixed spam with unused struct members
qcc: fixed str[0][0] and similar situations.
bgqc: fixed sprintf builtin's vector prints.
csqc: added flags field to beginpolygon. value&4 will draw the poly immediately (orthographic projection).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3988 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-13 09:24:01 +00:00