1
0
Fork 0
forked from fte/fteqw
fteqw/engine
Spoike 6398930473 Fixes bugs found by xonotic team ('0 0 0' being overlapped with globals, initialisers not being marked as referenced, fixed macro argument expansion to not crash when given long values).
Enables compilation of 'float foo=5;float foo=5;' (similarly functions, fields are never initialised anyway, the dupe is ignored so long as the initialisation is the same).
Fixed an offset bug with arrays stored within typedefed structs.
Fixed int += int to not require an explicit addstore operand.
Added support for ! operator in #if statements, as well as fixing a couple of other issues there, should be much more usable.
Added 'optional' keyword when defining function arguments. All trailing arguments must have it too. This allows stricter type checking with functions that take optional arguments.
Removed warnings with __variant types.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3921 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-11-08 06:00:35 +00:00
..
botlib These files are from ioq3 (revision 2061). A couple of header files have moved, and some variables renamed to avoid conflicts, but the logic should be unmodified. 2011-06-29 18:29:28 +00:00
client Just breaking stuff, trying to get axfte stuff working. 2011-10-29 19:01:33 +00:00
common Just breaking stuff, trying to get axfte stuff working. 2011-10-29 19:01:33 +00:00
d3d committing for fixes for OMC 2011-10-27 16:16:29 +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 committing for fixes for OMC 2011-10-27 16:16:29 +00:00
dotnet2008 SDL MSVC project files updated. 2011-07-16 05:02:37 +00:00
dotnet2010 SDL MSVC project files updated. 2011-07-16 05:02:37 +00:00
droid Audio support for droid. No idea how the latencies are. Probably terrible. 2011-09-22 15:57:16 +00:00
ftequake committing for fixes for OMC 2011-10-27 16:16:29 +00:00
gas2masm update vc2005 project again, remove cvsignore files out of repository 2006-04-02 03:59:30 +00:00
gl committing for fixes for OMC 2011-10-27 16:16:29 +00:00
http Couple of changes. 2011-09-03 03:49:43 +00:00
libs 32bit version of mingw64 doesn't seem to have this header 2011-10-30 11:29:09 +00:00
npfte Accidently set unpack to false on last commit, this one it's set to true 2011-11-06 14:50:32 +00:00
partcfgs hexen2 client effects now go via the particle system, if they're supported at all. Added 'h2part' description to provide this. 2010-08-28 17:14:38 +00:00
qclib Fixes bugs found by xonotic team ('0 0 0' being overlapped with globals, initialisers not being marked as referenced, fixed macro argument expansion to not crash when given long values). 2011-11-08 06:00:35 +00:00
server Just breaking stuff, trying to get axfte stuff working. 2011-10-29 19:01:33 +00:00
setup Misc attempts at fixes. 2010-12-23 03:55:10 +00:00
sndcodec Use netinc.h 2005-11-29 13:22:58 +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 Just breaking stuff, trying to get axfte stuff working. 2011-10-29 19:01:33 +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.