1
0
Fork 0
forked from fte/fteqw
fteqw/engine
Spoike 484e8bbfc2 playdemo accepts https urls now. will start playing before the file has finished downloading, to avoid unnecessary delays.
reworked network addresses to separate address family and connection type. this should make banning people more reliable, as well as simplifying a whole load of logic (no need to check for ipv4 AND ipv6).
tcpconnect will keep trying to connect even if the connection wasn't instant, instead of giving up instantly.
rewrote tcp connections quite a bit. sv_port_tcp now handles qtv+qizmo+http+ws+rtcbroker+tls equivalents.
qtv_streamport is now a legacy cvar and now acts equivalently to sv_port_tcp (but still separate).
rewrote screenshot and video capture code to use strides. this solves image-is-upside down issues with vulkan.
ignore alt key in browser port. oh no! no more red text! oh no! no more alt-being-wrongly-down-and-being-unable-to-type-anything-without-forcing-alt-released!
reworked audio decoder interface. now has clearly defined success/unavailable/end-of-file results. this should solve a whole load of issues with audio streaming.
fixed various openal audio streaming issues too. openal also got some workarounds for emscripten's poor emulation.
fixed ogg decoder to retain sync properly if seeked.
updated menu_media a bit. now reads vorbis comments/id3v1 tags to get proper track names. also saves the playlist so you don't have to manually repopulate the list so it might actually be usable now (after how many years?)
r_stains now defaults to 0, and is no longer enabled by presets. use decals if you want that sort of thing.
added fs_noreexec cvar, so configs will not be reexeced on gamedir change. this also means defaults won't be reapplied, etc.
added 'nvvk' renderer on windows, using nvidia's vulkan-inside-opengl gl extension. mostly just to see how much slower it is.
fixed up the ftp server quite a lot. more complete, more compliant, and should do ipv6 properly to-boot. file transfers also threaded.
fixed potential crash inside runclientphys.
experimental sv_antilag=3 setting. totally untested. the aim is to avoid missing due to lagged knockbacks. may be expensive for the server.
browser port's websockets support fixed. experimental support for webrtc ('works for me', requires a broker server).
updated avplug(renamed to ffmpeg so people know what it is) to use ffmpeg 3.2.4 properly, with its new encoder api. should be much more robust... also added experimental audio decoder for game music etc (currently doesn't resample, so playback rates are screwed, disabled by cvar).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5097 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-05-10 02:08:58 +00:00
..
botlib added r_meshpitch cvar that allows for fixing the unfixable mesh pitch bug from vanilla... needs a better name... do note that this will break pretty much any mod, so this is really only for TCs designed to use it. Its likely that I missed places. 2017-02-27 09:34:35 +00:00
client playdemo accepts https urls now. will start playing before the file has finished downloading, to avoid unnecessary delays. 2017-05-10 02:08:58 +00:00
common playdemo accepts https urls now. will start playing before the file has finished downloading, to avoid unnecessary delays. 2017-05-10 02:08:58 +00:00
d3d More XDK related guff 2017-03-28 19:18:47 +00:00
dotnet2003 fixed some bugs with the previous commit (missing files, and some sw renderer issues). updated the dotnet2003 project files. 2007-05-25 23:03:49 +00:00
dotnet2005 playdemo accepts https urls now. will start playing before the file has finished downloading, to avoid unnecessary delays. 2017-05-10 02:08:58 +00:00
dotnet2008 SDL MSVC project files updated. 2011-07-16 05:02:37 +00:00
dotnet2010 Trimmed some dead files. 2012-09-30 05:52:03 +00:00
droid Some more progress on the Xbox version. If you can call it that. Also changed the wastes.ico to be up to date. 2017-03-27 21:45:45 +00:00
ftequake fix some of the things that baker didn't like. sorry it took so long. 2016-08-25 00:12:14 +00:00
gas2masm update vc2005 project again, remove cvsignore files out of repository 2006-04-02 03:59:30 +00:00
gl playdemo accepts https urls now. will start playing before the file has finished downloading, to avoid unnecessary delays. 2017-05-10 02:08:58 +00:00
http playdemo accepts https urls now. will start playing before the file has finished downloading, to avoid unnecessary delays. 2017-05-10 02:08:58 +00:00
libs LOTS OF CHANGES. was hoping to get revision 5000 perfect, but really that's never going to happen. this has gone on for too long now. 2016-07-12 00:40:13 +00:00
nacl playdemo accepts https urls now. will start playing before the file has finished downloading, to avoid unnecessary delays. 2017-05-10 02:08:58 +00:00
npfte ------------------------------------------------------------------------ 2013-03-12 23:01:08 +00:00
partcfgs rework config.h stuff a little, fixing up numerous ifdefs etc. added some more for potentially smaller builds. 2017-02-19 00:15:42 +00:00
qclib Try to fix up some linux / build script stuff. 2017-04-29 02:45:21 +00:00
server playdemo accepts https urls now. will start playing before the file has finished downloading, to avoid unnecessary delays. 2017-05-10 02:08:58 +00:00
setup added support for external capture plugins - and using avcodec as a plugin.c. 2012-11-27 03:23:19 +00:00
shaders playdemo accepts https urls now. will start playing before the file has finished downloading, to avoid unnecessary delays. 2017-05-10 02:08:58 +00:00
sw split up NOMEDIA into individual defines. The Wastes should now be able to do music now. 2017-02-21 20:22:07 +00:00
vk playdemo accepts https urls now. will start playing before the file has finished downloading, to avoid unnecessary delays. 2017-05-10 02:08:58 +00:00
vulkan fix some compile issues (errors and warnings). sdl, ode, vulkan. 2016-07-15 12:26:24 +00:00
web playdemo accepts https urls now. will start playing before the file has finished downloading, to avoid unnecessary delays. 2017-05-10 02:08:58 +00:00
xdk More XDK related guff 2017-03-28 19:18:47 +00:00
.cproject Added all targets to the Eclipse cproject file. 2009-09-04 15:27:23 +00:00
.project Changed compiler (CC) to use MinGW GCC, but it still uses Cygwin Make because it works better atm. 2009-09-02 04:32:47 +00:00
BSDmakefile testing, never mind this 2008-04-27 10:23:37 +00:00
LICENSE This should have been in here all along. 2005-06-01 18:31:29 +00:00
makeconfig.sh Tweeks to the d3d renderer. Supports various shader features now. Other changes/fixes/breakages also. 2010-05-01 22:47:47 +00:00
Makefile Try to fix up some linux / build script stuff. 2017-04-29 02:45:21 +00:00
README.MSVC just added the ml.exe requirement 2005-11-19 16:32:14 +00:00

This code compiles against libjpeg, libpng, zlib, dx7, libogg and libvorbis.
You can find the main MSVC 6 workspace in the ftequake directory.
You will need to build the gas2masm project's debug build first.
After that, you will have a choice of FTE builds.
If you are running without libraries, you can pick the mingldebug build. For sw only builds, select the debug/release options. For dedicated builds, choose the logical one. The MDebug/MRelease builds are the merged binaries.

important: msvc 6.0 standard install doesn't come with "ml.exe" which is needed to build fte, you can get it from either service pack 5 or 6. or grab it from somewhere i dunno

zlib:
libs/zconf.h
libs/zlib.h
libs/zlib.lib
You will need zlib if you wish to build a version of FTE with png/zip/pk3 support.
If you don't have it, you can hunt out the line '#define AVAIL_ZLIB' in bothdefs.h and disable it.

Ogg Vorbis:
libs/ogg/*
libs/vorbis/*
At the time of writing, ogg vorbis support is not fully functional and is #ifdefed out. You will not need these libraries.
Lack of these files can be indicated by removing any '#define AVAIL_OGGVORBIS' line found in bothdefs.h (if they exist)

lib jpeg:
libs/jpeg.lib
libs/jpeglib.h
libs/jmorecfg.h
libs/jconfig.h
libs/jerror.h
These files are optional and not strictly needed for anything other than screenshots and loading Quake3 textures.
Hunt out and kill '#define AVAIL_JPEGLIB' from bothdefs.h to disable the requirement.
URL pending.

libpng:
libs/libpng.lib
libs/png.h
libs/pngconf.h
These files are for support of png textures and screenshots.
Hunt out and kill '#define AVAIL_PNGLIB' from bothdefs.h to disable the requirement.
URL pending.

DirectX 7 SDK:
libs/dxsdk7/include/*
libs/dxsdk7/lib/*
These are used for the d3d renderer. They are only benefitial in this way.
This feature is normally enabled via an ifdef in the project file. An '#define NODIRECTX' in bothdefs.h will disable all requirements of dx. It is normally only used in the merged binaries.
Without this define, it will expect to find DX5 headers and libraries in your compilers default directories.
You can obtain an uptodate copy of directx from Microsoft's Website.