og-ktx/include
Daniel Svensson 5eae14a99d BOT: Fix building without BOT_SUPPORT
Mode-agnostic code (tot mode, combat damage, dmm4 item filtering, the
match settings dump and PlayerDie) calls the Frogbot tuning helpers and
reads the k_fb_break_on_death cvar directly. Those symbols only exist when
BOT_SUPPORT is defined, so a -DBOT_SUPPORT=OFF build failed to compile.

Add no-op fallbacks next to the existing bots_enabled() stub that return
the same defaults the k_fb_* cvars are registered with, so behaviour is
preserved when bots are compiled out. Route the one remaining raw cvar
access through a new FrogbotBreakOnDeath() helper so mode-agnostic code no
longer references FB_CVAR_* macros directly.
2026-06-25 11:36:23 +02:00
..
bg_lib.h QVM: Add fmod and swap ceilf for ceil. 2024-07-06 12:04:33 +02:00
deathtype.h Add spawnicide 2025-11-26 16:22:09 +01:00
fb_globals.h BOT: Fix building without BOT_SUPPORT 2026-06-25 11:36:23 +02:00
g_consts.h golden frag suddendeath mode 2026-05-15 18:55:30 +02:00
g_local.h BOT: Fix building without BOT_SUPPORT 2026-06-25 11:36:23 +02:00
g_public.h PR2: Add support for CSQCSEND via SendEntity. 2025-02-02 10:56:57 +01:00
g_syscalls.h FIELD: Add support for SendEntity and pvsflags. 2025-02-02 10:57:31 +01:00
mathlib.h Applied code format: 2021-05-25 21:08:15 +02:00
player.h Compile with -Werror=strict-prototypes. 2024-07-30 10:21:05 +02:00
progdefs.h VM: using new server API 2021-12-17 23:48:13 +03:00
progs.h Revert "LEAVEMEALONE: players can't bother you in prewar" 2025-12-13 19:20:28 +01:00
q_shared.h BUILD: fix strlcpy/cat defintions to be the same as system files included via assert.h to suppress warnings in gcc < 13 and errors in gcc => 13 2023-09-18 13:45:56 -04:00
rng.h QVM: Avoid stdint, and provide 32 bit rng. 2024-07-06 12:04:33 +02:00
rng_gen_impl.h QVM: Avoid stdint, and provide 32 bit rng. 2024-07-06 12:04:33 +02:00
rng_gen_state.h QVM: Avoid stdint, and provide 32 bit rng. 2024-07-06 12:04:33 +02:00
rng_seed_impl.h QVM: Avoid stdint, and provide 32 bit rng. 2024-07-06 12:04:33 +02:00
stats.h Endgame stats reverted to KTX v1.40 style; new, table-based Endgame stats are shown with /laststats command 2022-10-30 23:08:23 +01:00