1
0
Fork 0
forked from fte/fteqw
Commit graph

66 commits

Author SHA1 Message Date
Spoike
bed989f529 q2w bsp format support.
automatic lightmap texture scaling to retain more performance on large maps.
r_clutter preliminary implementation should probably fix up the shader still.
CSQC_Parse_Damage implemented.
finally implement q2 inventory.
fix mixer overflow crash.
glsl can now use s_diffuse etc to force inclusion of a diffuse sampler/texture, meaning shaders don't need to include them.
fix issue with writeip

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4841 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-03-03 00:14:43 +00:00
Spoike
911f98ffaa fix demo menu with system paths.
tweak some dp compatibility things. probably futile.
moved ode to a plugin.
added screenshot_mega command to take massive screenshots that are not tied to current video mode.
removed offscreen-gecko code completely.
added cvars to rescale offsetmapping from paletted sources, so it can be disabled where its ugly.
added support for zip weak encryption. the password defaults to 'thisispublic'. nothing is fool-proof.
gl: fix stereoscopic rendering.
gl: fix rendertargets with depth.
qc: added support for named builtins that do not have any specific number.
qc: added some new builtins. drawrotpic, drawtextfield, search_getfilemtime, and a few others.
qc: PF_Fixme now attempts to figure out which builtin you tried to call, for more friendly fatal error messages.
qccgui: stepover and stepout are now implemented, as is setnextstatement.
qccgui: added a way to annotate code with the asm statements generated from them.
qccgui: fixed double-clicking a src file.
qccgui: handles multiple .src files more usefully.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4832 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-02-02 08:01:53 +00:00
Spoike
284705c01b update libpng in mingw builds to 1.6.13.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4777 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-25 01:24:12 +00:00
Spoike
13b586ea06 Tweaked svn stuff a little more. Should be more robust now. 3rd party SVN headers+libs are no longer on svn.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4605 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-09 09:25:28 +00:00
Spoike
b6252d940c fixed a few warnings and errors
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4399 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-23 03:59:48 +00:00
Spoike
39705786bd mingw64 changed to match msvc's symbol decorations (but not all the extra runtime stuff). So we need new versions of the various libraries if they are to compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4354 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-11 10:36:30 +00:00
Spoike
40082754a5 speex does not directly support nacl64. maybe other platforms. the rest of fte probably won't compile without these explicit types anyway, so should be fine for any platform fte runs on.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4281 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-04 02:16:37 +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
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
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
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
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
Lance
c8e7e0641a 32bit version of mingw64 doesn't seem to have this header
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3918 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-30 11:29:09 +00:00
Lance
b56a25ba9e MinGW32 + MinGW64: libpng upgraded from 1.4.4 to 1.5.2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3799 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-29 03:31:41 +00:00
Lance
ebac5d8046 Missing VC6 SDL static libs added. dotnet2008 & dotnet2010 projects uptodate. SDL targets available now in the dotnet 05, 08 and 10 projects. Tiny DirectSound compile fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3712 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-24 05:42:04 +00:00
Lance
714e1f7456 VC6 project files uptodate, mingl, gl, ded server & sdl targets working (both debug and release), various fixes and hacks to provide VC6 support again. VC6 static libs provided (/libs/vc6-libs), including SDL for the debug SDL target (all old versions though as the updated versions of the libraries have stopped providing VC6 project files to compile them with).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-23 08:53:23 +00:00
Lance
f71ac0220e FTE_TARGET=win64_SDL added. SDL updated from 1.2.13->1.2.14 (Better Win7 compatibility), also 64bit SDL static libs added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3693 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-10 13:41:31 +00:00
Lance
28321ce9c9 Speex support in MorphOS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3689 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-09 03:52:48 +00:00
Lance
6a0549acc1 FTE_TARGET=win64 (thanks to MinGW64), 64bit MinGW64 static libs, and fix for undefined references to vsnprintf within qclib when using MinGW64
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3688 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-08 14:42:05 +00:00
Lance
c26336636c Just SDL headers added
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3661 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-17 02:53:04 +00:00
Lance
188d0b5225 MinGW32 library update, libpng 1.4.3 -> 1.4.4
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3659 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-15 05:45:53 +00:00
Spoike
da09f7ba44 Me having lots of fun with voice chat.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3656 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-15 02:40:31 +00:00
Lance
3f95205577 Fix for MSVC 2008 & 2010 (structs the 7.x SDK already defines), "version" now displays loaded static libraries version info
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3645 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 09:06:36 +00:00
Spoike
89dae21703 libs for win64. corrected libjpeg fastcall issues by hacking the header to make sure its all properly cdecl.
Added support for DYNAMIC_LIBBLAH, for people that don't want to statically link for whatever reason.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3644 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 04:03:16 +00:00
Lance
8b4a128980 libpng and zlib library fix, built with cdecl calling convention instead of fastcall
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3642 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 03:32:37 +00:00
Lance
84ad79f6c1 LibPNG and zlib recompiled with MSVC 2008 with fastcall calling convention and warnings off, hopefully all is happy campers now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3641 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 01:35:30 +00:00
Lance
899d4d3334 Compiled libjpeg library with stdcall instead of cdecl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3638 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-10 03:19:49 +00:00
Lance
beace4a5f7 MinGW & MSVC libjpeg libraries updated from 6b to 8b
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3635 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-09 02:29:53 +00:00
Lance
ede2858e49 MSVC static library update, zlib 1.2.3 -> 1.2.5 & libpng 1.2.35 -> 1.4.4 (yes slightly different to the MingW32 version)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3633 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 12:55:33 +00:00
Lance
3549b21fc9 MinGW32 static library update, zlib 1.2.3 -> 1.2.5 & libpng 1.2.35 -> 1.4.3
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3632 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 12:48:16 +00:00
Spoike
fcba94f554 Merging D3D and GL renderers a little.
D3D should be functional now. Maybe not pretty, maybe not complete, maybe not correct, but at least playable, at least with classic particles.
Some download fixes.
Some q3vm 64bit fixes.
Removed some dead cvars.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3614 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-02 23:17:25 +00:00
Spoike
1f9a7004be Hack to fix win64.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3611 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-10-23 23:05:40 +00:00
Spoike
c0680334c7 What could possibly go wrong?...
Multiple consoles can now be printed/cleared via extra con commands.
Fixed the tab-completion alignment, by adding support for \t characters.
Changing the download mechanisms. Don't try downloading an ftp:// file. It'll probably crash you for now.
Trying to fix load time issues on q3bsps with a lot of curves.
Fixed sprites.
Added warning prints/spam where the new backend is bypassed, thus marking things that still need to be fixed.
QTV proxy fixed to not sit on qw servers unless someone is actually watching. Will ping for status requests still.
QTV proxy now supports ipv6.
QTV proxy now attempts to use the fte browser plugin.
Reworked the browser plugin code, now uses threads instead of ugly hacks. This should make cooperation with other such plugins work. Fixes unresponsiveness of opera, and gives an API that can be used from any other bit of software you want, tbh (read: internet explorer/activex plugins).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3516 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-14 14:35:56 +00:00
Spoike
66b78c0b11 Work In Progress branch.
In this version: replacement GL backend. Replacement D3D backend sharing code with GL. Lots of code reorganisation.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3401 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-04 21:16:50 +00:00
Spoike
57c9515b39 Updated QVM apiFixed up some of the slowness in the sky/water warping code.
Enabled freetype in gl builds. It'll try to link dynamically. Headers are included for windows users. unix users will need the freetype2-dev package for their system, sorry. you could probably get away with editing the makefile to include the headers if that's a problem.
Fixed occasional missing skies.
Updated q1qvm api stuff version (to 13).
Cleaned up the ban code. There are no longer two separate mechanisms to ban people.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3279 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 23:42:54 +00:00
Lance
183461a428 Crossbuilt MinGW32 SDL binaries working again, applied a parentwindow
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3210 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-03 09:09:35 +00:00
Lance
e71b59bf92 Crosscompile all Win32 SDL binaries from Linux with FTE_TARGET=win32_SDL, binaries have been tested alittle and still have bugs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3165 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-08 08:12:29 +00:00
Spoike
4974c57c2c Big fat-off commit.
A few changes. Half-Life support is finally getting committed.
Some unnecessary filesystem code changes.
And there's code for nsapi - meaning we can embed FTE in a browser (firefox and opera on windows work).
A couple of CSQC changes, trying to move towards a final EXT_CSQC_1.
Revised ruleset format finally implemented.
Doesn't compile with msvc6 due to issues with libjpeg not being a clean library.
Presumably its fine in vs2005.
Your mileage may vary.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-01 22:03:56 +00:00
TimeServ
4f6543abc2 commit back older jpeg.lib
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-08 06:57:08 +00:00
Lance
c8315688b0 IJG's r6b JPEG library with x86SIMD support v1.02 (2006-02-04): http://translate.google.com/translate?hl=en&sl=ja&u=http://cetus.sakura.ne.jp/softlab/jpeg-x86simd/jpegsimd.html&sa=X&oi=translate&resnum=1&ct=result&prev=/search%3Fq%3Dhttp://cetus.sakura.ne.jp/softlab/jpeg-x86simd/jpegsimd.html%26hl%3Den%26safe%3Doff%26client%3Dfirefox-a%26rls%3Dorg.mozilla:en-US:official%26hs%3D3fO
Compiled with VS6. FTE compiles fine in both VS6 and VS2008. Unsure if I compiled it with MMX or SSE, if it is SSE it might crash on CPUs with bugged SSE implementation like the old Athlon XPs

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3144 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-08 01:55:17 +00:00
Lance
1db5efee0b My evil commit, libjpg & libpng static libraries has been compiled from scratch with VS6 (and work with VS .net 2008 aka VC9). LibPNG upgraded from 1.2.10
to 1.2.35 to cover any possible exploits. I hope I haven't broken anything (had to ignore msvcrt.lib as well as libc.lib to get VS to compile with my libs)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3141 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-07 11:50:19 +00:00
Lance
44c39eb40d Updated the MinGW libpng library to latest version (1.2.35) from 1.2.22
to enhance security and possible crash bugs.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3135 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-06 05:06:25 +00:00
TimeServ
7f73771ba2 mysql includes and libmysql.dll loader code for win32
added preliminary FTE_SQL code (not in a usable state), current problems: 
WINDOWS ONLY, database connect is hardcoded to a local server, conditional wait needed for worker thread (currently consumes 100% cpu), query requests and results should be a queue not a stack, sql init and deinit is in the wrong place, project and defines need updating, tons more things

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2941 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-14 07:47:30 +00:00
Lance
0004fda94a mingw32 libpng static library and headers updated to 1.2.22, to prevent
any possible libpng related exploits


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2760 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-23 22:21:18 +00:00
Lance
f8c14ae09e the other header i forgot to commit to revision 2758
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2759 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-23 22:10:55 +00:00
Lance
0a3e1f3d2a better mingw32 libjpeg header, removes -DHAVE_BOOLEAN error
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2758 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-23 21:52:09 +00:00
Lance
b211170f9c mingw32 crosscompiling: libjpeg, libpng and zlib support added.
Speedburst/Speedhack/Z-Fighting/libjpeg/conback etc problems resolved within 
mingwcross compiled binaries with removal of -O6 and -funroll-loops optimizations. 
Added static libraries and headers to their own directory: 
libjpeg, libpng, zlib and libogg (ogg support not ready)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2740 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-12 10:27:51 +00:00