1
0
Fork 0
forked from fte/fteqw
Commit graph

1697 commits

Author SHA1 Message Date
Spoike
5b2bd7fe87 hopefully sdl target should work a little better on mac.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4303 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-08 09:31:59 +00:00
Spoike
cc0e24142a fix mouse input again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4302 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-08 08:23:43 +00:00
Spoike
944c675b2e Use SDL1.3 text input instead of button input, this gives (me) actual unicode values, so you're no longer all forced to use an en-gb charmap, lucky you.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4301 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-08 06:47:27 +00:00
Spoike
a717b8ce22 Moved directsound audio initialisation onto the mixer thread, also added a cvar to disable threaded audio mixing. This should hopefully fix compat issues a couple of people had with not having audio in win32 (when it worked in win64 builds).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4295 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-07 08:59:05 +00:00
Spoike
bae63427a5 Desperate attempt to boost framerates with webgl.
Models now use static vbos, because we ought to. Yeah yeah, extra memory usage etc.
Reduced size of streamed ebo by reallocating on each mesh. Hopefully the browser won't scan so much memory now.
Reordered attribute indicies in an attempt to comply with possible absurd gl behaviour that emscripten warns about.
Fixed an issue with if statements in shaders.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4289 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-06 03:36:00 +00:00
Spoike
90b07d7bb6 alternative way to detect when death tilt is needed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4288 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-06 03:10:12 +00:00
Spoike
49197218bc Slow progress. Most of what I am fighting is emscripten's javascript-based libc. Its networking is laughable at best, trust me you don't want to see it. Whereas its GL emulation seems to break things rather than anything else so for now I'm just disabling everything that isn't vbo+es2 and I still get warnings about emulation being enabled. No idea how to get rid of those. Still, bsp objects should now render correctly, but not models+particles+2d+text stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4283 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-04 08:08:49 +00:00
Spoike
deb546d7b7 attempt to get underscore working.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4279 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-02 08:09:43 +00:00
Spoike
1e9af3f441 Early hack at emscripten compat.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4278 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-02 05:18:17 +00:00
Spoike
993d25620e git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4277 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-03-31 05:00:53 +00:00
Spoike
7c607a9092 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4274 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-03-31 04:30:56 +00:00
Spoike
6a831e2f99 qwsvdef.h is no more. Many files changed because of this.
enabled ssl support in windows for plugins.
updated jabber plugin.
tweaked downloading logic in an effort to end the madness.
Updated sql code to support sleeping the qc thread until query completion, as a more readable alternative to callbacks.
Client updates should be more explicit now, removing a potential bug.
networked terrain editing should now be in a better state.
updated the dir command to show paths too (so when the same file is listed twice, the pak its in will at least be different). Many files changed because of this.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4273 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-31 04:21:08 +00:00
Spoike
8af8c48473 fix win64 autoupdate url.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4270 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-25 20:00:11 +00:00
Spoike
805a5dde16 my stuff's always buggy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4268 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-18 00:47:21 +00:00
Spoike
c496f8aa04 my stuff's always buggy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4267 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-18 00:46:05 +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
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
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
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
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
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
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
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
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
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
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
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
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