1
0
Fork 0
forked from fte/fteqw
fteqw/engine
Shpoike dc010d6ec8 fteqw: add memrealloc builtin.
fteqw: make it a bit clearer when there's no tls drivers compiled/loaded.
fteqcc: fix decompiler code to not crash nor misbehave on 64bit cpus.
fteqcc: add -TDP_20241108 to target dp's most recent additions.
fteqcc: add -Fundefwordsize (autoenabled when targetting dp) to tell the compiler to not make any assumptions about runtime pointer types. this skips some optimisations, blocks sizeof(float), casts between pointer and string,  and a few other sizing things, unsafe operations will become errors.
fteqcc: add -FILP32 - changes 'long' datatype to int32_t, which should match common C assumptions around long/size_t/intptr_t
fteqcc: add -Fpointerrelocs (autoenabled with a recent enough fte target). this finally allows pointer globals to be preinitialised with the addresses of other globals.
fteqcc: add -Fomitinternals. this omits the reflection data in the progs roughly equivelent to visibility=hidden om linux. This WILL break saved games, and probably a few other things too, but will greatly reduce stringtable sizes.
fteqcc: improve compat when compiling C code
qclib: fix op_push
2024-12-28 16:24:00 +00:00
..
client fteqw: add memrealloc builtin. 2024-12-28 16:24:00 +00:00
common fteqw: add memrealloc builtin. 2024-12-28 16:24:00 +00:00
d3d WIP: linear fog mode (required for Source Engine compatible fog) (#223) 2024-10-20 19:12:16 -07:00
droid Track areas properly, so we don't bug out when a client has multiple cameras in different areas. 2019-07-02 04:12:20 +00:00
gl Try to fix up some q2 protocol/ice quirks. 2024-12-28 16:24:00 +00:00
http Enhancement: Build Improvements (Unix + CoD Plugin) (#272) 2024-09-13 11:15:15 -07:00
partcfgs Add all the junk for network compat with Q2E. 2024-07-14 19:58:24 +01:00
qclib fteqw: add memrealloc builtin. 2024-12-28 16:24:00 +00:00
server fteqw: add memrealloc builtin. 2024-12-28 16:24:00 +00:00
shaders vk: Add lit water support to the spir-v. 2024-12-12 13:25:56 +00:00
sw android/msvc tweaks/fixes. 2019-04-19 23:55:47 +00:00
vk Try to fix up some q2 protocol/ice quirks. 2024-12-28 16:24:00 +00:00
web fteqw: add memrealloc builtin. 2024-12-28 16:24:00 +00:00
xdk Builtin for movetype_push ents, wastes config changes 2017-06-15 14:23:26 +00:00
BSDmakefile testing, never mind this 2008-04-27 10:23:37 +00:00
LICENSE
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 CI and various compile fixes (#270) 2024-09-06 09:31:36 -07:00
README.MSVC

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.