Commit Graph
2914 Commits
Author SHA1 Message Date
Simon McVittie 9f0280bca1 Remove unused matha.S
Before commit a7d33b1c "(bug #3639) BoxOnPlaneSide rewrite" there
was more code here, but since then the only thing left is the
Invert24To16 function, to which I couldn't find any references since
the beginning of ioquake3's git history.

Resolves: https://github.com/ioquake/ioq3/issues/774
Signed-off-by: Simon McVittie <smcv@debian.org>
2025-08-23 21:23:03 +01:00
Tim Angus d133be28eb Add DEFAULT_RELATIVE_BASEDIR
Sys_BinaryPathRelative takes a parameter which is path concatenated with
Sys_BinaryPath, and resolved to a canonical path. The intended use case
is to facilitate the situation where you want the game data directory to
exist outside the same directory in which the binary lives, but relative
to it. More specifically, if you want to distriute multiple binaries for
different architectures, in the same tree, this allows for a means of
having said binaries in architecture subdirectories, with a shared data
directory, e.g.:

  ioq3/x86/ioquake3.exe etc.
  ioq3/x86_64/ioquake3.exe etc.
  ioq3/baseq3/pak0.pk3 etc.

Here, when building you would define DEFAULT_RELATIVE_BASEDIR=".." by
appending it to the build system CFLAGS, and then the executables will
by default look in their parent directory for the data.
2025-08-23 21:01:08 +01:00
Simon McVittie 9293a45368 asm: Remove unused S_PaintChannelFrom8
This is `#if 0` anyway, and has been since the initial Quake 3 Arena GPL
release, so clearly it hasn't been used for some time.

Signed-off-by: Simon McVittie <smcv@debian.org>
2025-08-23 12:04:28 +01:00
Tim Angus 2d7100dc97 Fix HTTP downloads being disabled after first download (issue #768) 2025-08-23 11:48:43 +01:00
Tim Angus 3aee97dfab Fix GCC x86 build 2025-08-22 18:38:46 +01:00
smallmodel b297c596e9 Add Windows ARM platform 2025-08-19 11:00:27 +01:00
Tim Angus a36d9bc392 Remove clientHtmlFallback 2025-08-13 13:06:14 +01:00
Tim Angus 787bdba0ec Rewrite the LCC process spawning code on Windows, to handle file names containing spaces 2025-08-12 20:10:46 +01:00
Tim Angus 0912659484 Move responsibility for defining NO_VM_COMPILED from build system to q_platform.h 2025-08-07 15:10:24 +01:00
Tim Angus 858ccc928c Add architecture guards to VMs 2025-08-07 15:10:24 +01:00
Tim Angus 2c91b38899 Simplify VM sources for old architectures 2025-08-07 15:10:24 +01:00
Tim Angus 1591f4ad1c Whitespace fixes 2025-08-05 21:15:09 +01:00
Tim Angus 31f79ca94e http -> https on URLs 2025-08-05 15:48:59 +01:00
Tim Angus 6367fdfe28 Map SDL gamepad buttons to keys explicitly 2025-08-05 11:23:05 +01:00
Tim Angus 282bd6513e Move third party code to code/thirdparty 2025-08-02 20:01:03 +01:00
Tim Angus 8976973d3b Move puff.* to renderercommon 2025-08-01 22:36:51 +01:00
Tim Angus 92fb145f43 Merge identical tr_subs.c into renderercommon 2025-08-01 22:36:51 +01:00
Tim Angus 9dfe9d6a6a Allow Windows icon to be set by defining WINDOWS_ICON_PATH 2025-08-01 22:36:51 +01:00
Tim Angus 877bde8994 Make the fallback renderer the default renderer 2025-08-01 22:36:51 +01:00
Tim Angus d07bf88ce9 Add USE_ARCHLESS_FILENAMES 2025-08-01 22:36:51 +01:00
Tim Angus cb11c5e339 Make client.html and Autotools style input file 2025-07-31 11:02:38 +01:00
Tim Angus 1a4abacaff Fix incorrect architecture detection on Windows 2025-07-30 12:31:44 +01:00
Tim Angus b512b786ec Move Linux ARCH_STRING definition out of Makefile 2025-07-29 21:53:21 +01:00
Martin Gerhardy 2e753008d5 CLIENT: restore older curl version support 2025-07-29 18:17:45 +01:00
Pan7 96fefcb7c9 Replace USE_LOCAL_HEADERS with USE_INTERNAL_* 2025-07-29 17:32:18 +01:00
Tim Angus 7962686d2d Adjust resource path to quake3.ico
I'm aware this probably breaks the MSVC build, but

a) I think it's probably broken already
b) I have good reasons that will hopefully make this a non-issue anyway
2025-07-29 16:26:40 +01:00
Tim Angus 19f53d6fbe Cleanup opus and vorbis more 2025-07-29 16:11:46 +01:00
J.Ingram 934e7b9372 Call SHGetFolderPathA directly
Removing shfolder.h satisfies MSVC, and calling the function directly makes PFNSHGETFOLDERPATHA unnecessary.
2025-07-29 14:41:57 +01:00
Tim Angus 4303784442 *Don't* configure zlib so we get the generic zconf.h 2025-07-25 17:19:38 +01:00
Tim Angus 322883b65c *Don't* configure SDL so that we get the generic SDL_config.h 2025-07-25 14:45:42 +01:00
Tim Angus 69ad3699ea Update SDL 2025-07-24 20:29:53 +01:00
Tim Angus a4d4b1743e Remove macOS ppc support 2025-07-24 18:41:52 +01:00
Tim Angus 1a256983ad Update OpenAL (headers) 2025-07-24 12:23:43 +01:00
Zack Middleton 1132abe3dc Replace strncpy usage with Q_strncpyz 2025-07-24 09:47:13 +01:00
Zack Middleton c8553223ec Add range check for UI text buffer
It can't overflow because buff and text have the same max length (1024
and MAX_TOKENLENGTH).
2025-07-24 09:47:13 +01:00
Zack Middleton 797168fa08 Fix possible CGame network buffer overflow 2025-07-24 09:47:13 +01:00
Zack Middleton 84715f421b Ignore CHAR_WIDTH from C23 spec 2025-07-24 09:43:28 +01:00
Zack Middleton ed2c470f50 Revert "Rename CHAR_WIDTH to CHARACTER_WIDTH"
This reverts commit 526edd37f9.
2025-07-24 09:43:28 +01:00
Tim Angus fd0d65c439 Remove more dead 3rd party code 2025-07-22 20:32:11 +01:00
Tim Angus 9814f5f42f Implement WinINet based HTTP downloads 2025-07-22 14:57:01 +01:00
Tim Angus 94c9be05c9 Pull out non curl specific code from the curl backend 2025-07-22 14:57:01 +01:00
Tim Angus 1cbba07fc3 Add abstract frontend to HTTP support and stop using curl on Windows 2025-07-22 14:57:01 +01:00
Tim Angus bc30e0186b Fix curl deprecations and remove FTP support 2025-07-22 14:57:01 +01:00
Tim Angus dfa0e23395 Update curl 2025-07-22 14:57:01 +01:00
Tim Angus 279f4e5239 Be slightly more targetted in cleaning up jpeg source 2025-07-20 22:14:04 +01:00
Tim Angus c3248e54a4 Undefine real error codes to fix warnings 2025-07-18 14:53:02 +01:00
Tim Angus dede9aa79a Revert "define guards to prevent warnings" (fixes #737)
This reverts commit 20634976e9.
2025-07-18 14:53:02 +01:00
J.Ingram 465f72dcd4 Use PFNGETFOLDERPATHA typedef
FARPROC is defined with an empty parameter list, which newer versions of GCC consider equivalent to (void). Compilation fails when qSHGetFolderPath gets called with arguments.
2025-07-17 17:46:44 +01:00
Tim Angus abc448faec Selectively disable -Warray-bounds 2025-07-14 17:47:18 +01:00
Tim Angus 75fb0ddccc Use correct abs function in FBO_FastBlit 2025-07-14 17:42:18 +01:00