fteqw/engine
Peter0x44 7599872f9c
Allow overriding CC for cross-compilation. (#262)
In the case of SDL2 cross-compilation, I had to make this change.
FTE_TARGET=SDL2_arm and such don't work. If I override the compiler with
something like:
make CC=aarch64-linux-gnu-gcc then this particular line reverts it to
gcc and calls the system compiler anyway. I'm not sure why this line
needs to exist at all.

I did the same for windres, because it might also make sense to override
it with an i686-w64-mingw32-windres. Or potentially for the
aarch64-w64-mingw32 gcc in future.
2024-08-26 15:46:01 -07:00
..
client Account for setsensitivityscaler in IN_MoveJoystick (#264) 2024-08-26 15:44:14 -07:00
common megacommit. 2024-07-14 19:58:26 +01:00
d3d Added sys_openfile console command(and menu option) to web and flatpak(via cmake+dbus) builds, to 'install' packages on sandboxed systems a bit more easily. 2024-07-14 19:58:24 +01: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 Fix gl_screenangle with postproc. 2024-08-26 20:27:35 +01:00
http temp 2024-07-14 19:58:25 +01:00
partcfgs Add all the junk for network compat with Q2E. 2024-07-14 19:58:24 +01:00
qclib Tweak fteqcc's --help output. 2024-07-14 19:58:25 +01:00
server Reduce the chances of input_cursor_entity getting stale values on map changes. 2024-08-25 06:12:05 +01:00
shaders megacommit. 2024-07-14 19:58:26 +01:00
sw android/msvc tweaks/fixes. 2019-04-19 23:55:47 +00:00
vk Add vk_khr_ray_query support as an option instead of using shadowmaps. 2024-07-14 19:58:25 +01:00
web megacommit. 2024-07-14 19:58:26 +01: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 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 Allow overriding CC for cross-compilation. (#262) 2024-08-26 15:46:01 -07: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.