Commit Graph

3776 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
fcde28419f Fix macOS SDL build script paths 2025-11-11 18:35:48 +00:00
Tim Angus
3851fe1f06 Update GHA to use macos-15 (-13 is being deprecated) 2025-11-11 14:05:13 +00:00
Tim Angus
2f7c3675bd Add Technical Guidelines to CONTRIBUTING.md 2025-11-11 14:01:51 +00:00
Tim Angus
6a67191989 Remove obsolete installer/package scripts 2025-11-11 13:49:48 +00:00
Tim Angus
3470a1d26a Reorganise misc directory 2025-11-11 13:46:14 +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
Tim Angus
76043c78b9 Delete Makefile 2025-11-06 11:14:24 +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
8c48475ca3 Add Linux 32-bit build to CI 2025-11-02 17:52:44 +00:00
Jack Slater
cf35fcd2f3 Add range for con_scale 2025-10-31 14:14:05 -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
Jack Slater
5eb1fc33f5
Update README.md to remind people where our project code is (#813)
* Update README.md to remind people where our project code is
2025-10-26 22:45:07 -10:00
WofWca
d4952ec6f0
chore: upgrade Emscripten (#729)
* chore: upgrade Emscripten

I do not have a particular reason for this.
Just hoping that this might bring some performance improvement,
perhaps.
I have tested it, but I have not noticed a significant difference.

* 4.0.18 appears to be the latest now

---------

Co-authored-by: Jack Slater <903791+NuclearMonster@users.noreply.github.com>
2025-10-26 22:43:18 -10:00
Jack Slater
6d938bf7c9
Workaround macOS dmg build error with CMake (#819)
* Workaround macOS dmg build error with CMake

Retry the macOS workflow multiple times in order to work around this issue with CMake:
https://gitlab.kitware.com/cmake/cmake/-/issues/25671

Solution stolen wholesale from SDL and @madebr
Thank you! 
https://github.com/libsdl-org/SDL/pull/9816
2025-10-26 22:11:49 -10: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
c891c337cb Handle case where ioq3 is present as a git submodule 2025-10-18 13:01:20 +01:00
Tim Angus
139695d196 Change renderergl1 r_mode default to match renderergl2 2025-10-18 12:33:11 +01:00
Tim Angus
04365b08a2 Use CMAKE_DL_LIBS 2025-10-18 12:21:28 +01:00
Tim Angus
7871d59030 Fix OpenBSD build 2025-10-17 21:23:02 +01:00
Tim Angus
ffcfe3b811 OpenBSD CI build 2025-10-17 19:38:53 +01:00
Tim Angus
5d7e523d2d FreeBSD CI build 2025-10-17 19:30:22 +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