HULL/code
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
..
asm asm: Remove unused S_PaintChannelFrom8 2025-08-23 12:04:28 +01:00
autoupdater Use nanosleep(2) instead of usleep(3) 2024-05-15 18:14:52 -04:00
botlib Replace strncpy usage with Q_strncpyz 2025-07-24 09:47:13 +01:00
cgame Fix possible CGame network buffer overflow 2025-07-24 09:47:13 +01:00
client Fix HTTP downloads being disabled after first download (issue #768) 2025-08-23 11:48:43 +01:00
game Replace strncpy usage with Q_strncpyz 2025-07-24 09:47:13 +01:00
null Added audio capture support to SDL backend. 2018-04-13 22:38:17 -04:00
q3_ui http -> https on URLs 2025-08-05 15:48:59 +01:00
qcommon Add Windows ARM platform 2025-08-19 11:00:27 +01:00
renderercommon Move puff.* to renderercommon 2025-08-01 22:36:51 +01:00
renderergl1 Merge identical tr_subs.c into renderercommon 2025-08-01 22:36:51 +01:00
renderergl2 Merge identical tr_subs.c into renderercommon 2025-08-01 22:36:51 +01:00
sdl Whitespace fixes 2025-08-05 21:15:09 +01:00
server Replace strncpy usage with Q_strncpyz 2025-07-24 09:47:13 +01:00
sys Add DEFAULT_RELATIVE_BASEDIR 2025-08-23 21:01:08 +01:00
thirdparty Move third party code to code/thirdparty 2025-08-02 20:01:03 +01:00
tools Rewrite the LCC process spawning code on Windows, to handle file names containing spaces 2025-08-12 20:10:46 +01:00
ui Add range check for UI text buffer 2025-07-24 09:47:13 +01:00
web Remove clientHtmlFallback 2025-08-13 13:06:14 +01:00