Commit Graph
2993 Commits
Author SHA1 Message Date
erysdren 9a6cb090b5 add support for loading PVR images
this is from Q3A for Dreamcast
2025-11-24 11:14:24 +00:00
WofWca e3881a4d70 refactor: un-magic #define INVUL_RADIUS 42 2025-11-18 14:06:59 +00:00
Tim Angus db533030ea Double MAX_RENDER_COMMANDS
Following changes to the console code, it turned out that at very high
resolutions, the large number of glyphs rendered would cause render
commands to be dropped; avoid this by simply raising the maximum number
of render commands.
2025-11-18 13:55:14 +00:00
Tim Angus dcbcb12ba2 Print warning when a render command is dropped 2025-11-18 13:55:10 +00:00
Tim Angus 7003c9deec Increase DEF_COMZONEMEGS 2025-11-11 13:14:27 +00:00
WofWca 38c4180740 refactor: #define DEAD_HEIGHT -8
From the research conducted in
https://github.com/ioquake/ioq3/issues/794
we can probably conclude that the `self->r.maxs[2] = -8;`
in `player_die()` is related to `pm->maxs[2] = -8;`
in `PM_CheckDuck()`. Let's make this clear with a named constant.
2025-11-11 13:05:54 +00:00
WofWca 3041ec3695 refactor: name some magic numbers in bg_pmove 2025-11-11 13:05:21 +00:00
Lojjik Braughler 4f9e3b96e0 renderergl2: allow DDS fallback when r_ext_compressed_textures=0
R_LoadImage now tries .dds as a final fallback when compressed textures are disabled.

This allows assets to ship as DDS-only without requiring duplicate PNG/TGA for every texture.

Fixes #583.
2025-11-11 13:02:23 +00:00
Lojjik Braughler 453705553b renderergl2: reimplement greyscale as backend post after all 2D+3D draws
Fixes #654 - HUD/UI previously bypassed greyscale.
r_greyscale now supports partial desaturation [0-1].
Removed unused legacy logic from tr_shade.c
2025-11-11 12:21:15 +00:00
Tim Angus 7bd2c17f9d Move autoupdater to its own repo (https://github.com/ioquake/autoupdater) 2025-11-06 13:00:50 +00:00
Tim Angus a9a6ccb103 Guard autoupdater more completely 2025-11-06 12:56:13 +00:00
Jack Slater 7ac92951f2 Revert "Bug 5066 - Plasmagun and BFG don't play the explosion when they hit players, patch by Ensiform" (#824) 2025-11-05 23:16:56 -10:00
Tim Angus 0b2efa2220 Open file manager folder for Team Arena when missing 2025-10-31 15:01:46 +00:00
Tim Angus a553ad13d8 Add con_notifylines, to configure number of lines in notify area 2025-10-29 09:27:34 +00:00
Tim Angus c3a2aa45a8 Make con_* variables CVAR_ARCHIVE 2025-10-29 09:27:34 +00:00
Tim Angus cb2974d8b4 Fix incorrect 'say:' prompt offset 2025-10-29 09:27:34 +00:00
Tim Angus 66330c72b0 Add con_scale, for high DPI displays 2025-10-29 09:27:34 +00:00
Tim Angus f2c1f990f8 Use full screen width for console 2025-10-29 09:27:34 +00:00
Tim Angus 7d6350bf66 Increase MAX_PATCH_PLANES
Some custom maps apparently need a larger value for MAX_PATCH_PLANES.
These snuck under the limit with original Q3 due to the vagaries of
floating point error/modern compilers/fastmath etc.. See issue #186.
2025-10-27 15:23:01 +00:00
Tim Angus b4deaca2c5 Remove commented code 2025-10-27 15:20:11 +00:00
Tim Angus b3f148b848 Correct comment re console history 2025-10-27 12:42:54 +00:00
Tim Angus 170a052489 Set MIN_COMHUNKMEGS to match DEF_COMHUNKMEGS
Changes in ioq3, most notably in the OpenGL 2 renderer, have gradually
increased the mininum memory requirements, to the point where the
original value is too low for the Team Arena game, among other things,
so increase the minimum to match our (already increased) default. More
information in issue #816.
2025-10-26 10:19:03 +00:00
Tim Angus f4ec9be44d Flush logfile when writing hunk log 2025-10-26 09:51:17 +00:00
Tim Angus 0ebf1df742 XDG home directory support 2025-10-19 15:58:27 +01:00
Tim Angus da4f9bd13d Fix demo command file completion 2025-10-18 17:54:19 +01:00
Tim Angus 8cc9eb5eff Fix Com_Filter
Com_Filter uses a limited sort of proto-regex syntax including a
character class like construct, but prior to this change these did not
work if preceded by a * glob.
2025-10-18 17:50:32 +01:00
llbraughler b9262943a4 Fix flare visibility in mirrors
Compute the flare's depth with the same projection used for the scene, then compare it to the depth we read.
2025-10-18 13:19:42 +01:00
Tim Angus 139695d196 Change renderergl1 r_mode default to match renderergl2 2025-10-18 12:33:11 +01:00
Tim Angus cc884b7b75 Use FS_CreatePath in Sys_ErrorDialog 2025-10-17 17:54:58 +01:00
Tim Angus b060aba07b Fix MSVC double truncation warnings 2025-10-17 17:42:37 +01:00
Tim Angus d373394882 Use PRODUCT_NAME in config file comments 2025-10-17 14:20:53 +01:00
Tim Angus 8c19f7850d Better un-pure client error message 2025-10-17 14:20:53 +01:00
Tim Angus a6f949c8a6 Stricter Info_Validate 2025-10-17 14:20:53 +01:00
Tim Angus 2bf82f1aba Remove inconsistent '.' in server message 2025-10-17 14:20:53 +01:00
Tim Angus 852adafe57 Render ANSI black text inverse (so that it is readable on black terminals) 2025-10-17 14:20:53 +01:00
Tim Angus 12ae6973a6 Extend size of serverInfo_t.hostName (handle longer server names) 2025-10-17 14:20:53 +01:00
Tim Angus 0d2348f936 Add CONFIG_PREFIX, for customising the config name 2025-10-17 14:20:40 +01:00
Tim Angus c49d4d96bf When pak?.pk3 missing, open the destination folder in the file manager 2025-10-11 13:58:48 +01:00
Tim Angus 411f5a6924 Add Sys_OpenFolderInFileManager 2025-10-11 13:57:29 +01:00
Tim Angus 5c242be241 Move Sys_Exec within the file 2025-10-11 13:36:58 +01:00
Bernhard M. Wiedemann 1c1590d6c0 Drop build date from generated file
for reproducible builds.

Without this, dagcheck.c in the debugsource package
varies across builds.
2025-10-08 12:32:13 +01:00
Tim Angus 72b5fbe893 Remove unused/outdated null_* files 2025-10-07 22:13:30 +01:00
Tim Angus bdbd6ff036 Fix warnings 2025-10-06 20:23:04 +01:00
smallmodel 1e30978722 Set the overflow flag when the number of bits written reaches the maximum size 2025-10-05 20:12:04 +01:00
llbraughler addf0d9bea Implement ShowNormals in RendererGL2 2025-10-04 18:50:47 +01:00
Tim Angus 7d0117c183 Make sound channel exhaustion warning a Com_DPrintf 2025-10-03 20:17:20 +01:00
Tim Angus 441343538a Provide better advice re pak0.pk3 location on macOS 2025-09-25 13:14:03 +01:00
Tim Angus 56f9f94ee7 SV_RehashBans_f may be executed when the server isn't running (#785) 2025-09-22 21:34:59 +01:00
Zack Middleton 266357ffbe Increase start server map limit in Team Arena ui to match q3_ui
Allow reading more scripts/*.arena files and allow up to 1024 maps
instead of 128.
2025-09-22 16:11:02 +01:00
Tim Angus d49ea96203 Don't add quotes when not needed for LCC process spawning 2025-09-19 16:15:41 +01:00