1
0
Fork 0
forked from fte/fteqw
Commit graph

6596 commits

Author SHA1 Message Date
Shpoike
f3a4005c71 Allow for lit water on q2bsp. 2024-07-14 19:58:24 +01:00
Shpoike
345a0978c6 Fix rtlights with decoupled lightmaps. 2024-07-14 19:58:24 +01:00
Shpoike
330cbcdb20 Try to fix up some manifest quirks... 2024-07-14 19:58:24 +01:00
Shpoike
b0b4725119 Fix up PACKAGE_DOOMWAD 2024-07-14 19:58:23 +01:00
Shpoike
99569251a8 Don't make assumptions about framecounts in angled sprites. 2024-07-14 19:58:23 +01:00
Shpoike
88514bda4f Add support for the 'qbsim' variant of q2bsp. 2024-07-14 19:58:23 +01:00
Daniel Svensson
1f9f3635f0
Add support for $loc_name_mh in teamplay messages. (#251) 2024-04-06 12:19:16 -07:00
RandomBrushes
0630ea571e
RoQ decoder: Work on RGBA-data interenally instead of YUV420-data (#250)
* RoQ decoder: Work on RGBA-data interenally instead of YUV420-data

This fixes color-smearing artifacts on movement (caused by uneven motion vectors not being correctly applicable on half-resolution UV-buffers) and makes RoQ-video directly uploadable as texture.

YUV-to-RGB-conversion is now done only when receiving new codebooks in the RoQ stream, which is a lot less data to be RGB-converted per-frame.

* RoQ decoder: C89-compliant variable declarations

* RoQ decoder: more consistent indentation
2024-04-06 12:16:24 -07:00
Daniel Svensson
b7963e6241
Scoreboard enhancements (#246)
* Hide scoreboard stats for specs without score.

* Hide centerprint when showing scores.

---------

Co-authored-by: Daniel Svensson <dvensson@gmail.com>
2024-04-05 16:09:34 -07:00
57e9276670
Route_Process: Respect the filter (denylinkflags) (#236)
Originally submitted by CYBERDEViL, only made style changes to fit in with the rest.
2024-03-08 11:45:50 -08:00
1c5e82bec7
Handle masked textures from post-release Half-Life MDL files. (#243)
Half-Life models did not have these flags, but games/mods starting in 2003 and later (Day of Defeat, Condition Zero etc.) use these for plants, trees, cars and anything else desiring masked textures.
2024-03-08 11:45:21 -08:00
76e4258ad3
Use zlib fossils directory for permalinked releases of zlib. (#244) 2024-03-08 11:44:06 -08:00
Shpoike
118dab975e
Merge pull request #234 from qw-ctf/warnings-etc
Warnings etc
2024-01-27 06:33:05 +00:00
Daniel Svensson
3b6cd9aac0 Add GitHub Actions workflow. 2024-01-16 19:26:58 +01:00
Daniel Svensson
ab1e8d321a Fix indentation in ezhud to avoid confusing the compiler. 2023-12-25 11:07:30 +01:00
Daniel Svensson
317ca00298 Use snprintf and a larger buffer for file size.
In practice it would likely never overflow, but if you happen to have an implausible large demo in folder it could.
2023-12-25 11:07:30 +01:00
Daniel Svensson
3672234c24 Pass origin point to CM_BoxLeafnums.
Used to pass uninitialized mins and maxs.
Renames p to point for readability.
2023-12-25 11:07:30 +01:00
Daniel Svensson
bdb5df93a9 No need to NULL check statically declared array entries. 2023-12-25 11:07:30 +01:00
Daniel Svensson
c7eb4fb3b0 keydown is a bitmask, not a qboolean. 2023-12-25 11:07:30 +01:00
Daniel Svensson
21d3080fbe Avoid dangling &m pointer warning in BE_GenTempMeshVBO.
meshes and meshcount are always updated after the function call, so the assignments had no effect.

Also make the function void as it always returns true.
2023-12-25 11:07:30 +01:00
Daniel Svensson
c95a739208 Match Master_SetSortField decl with its implementation.
Second parameter is a bit field, not a boolean.
2023-12-25 11:07:30 +01:00
Daniel Svensson
a4cc899989 Move variable decl to top of function as required by compiler flags. 2023-12-25 11:07:30 +01:00
Daniel Svensson
c9687bfd7b Use float[3] for MSG_ReadPos and MSG_WriteDir.
vec3_t is not available in header, but float[3] matches better than float*.
2023-12-25 11:07:30 +01:00
Daniel Svensson
1c80a9f365 Use sizeof for determining non-null terminated buffer size. 2023-12-25 11:07:30 +01:00
Daniel Svensson
8813af0e40 Match socket array param size with what's actually used.
Harmless as unix sockets (idx 2) aren't accessed, but correct.

Also updates IPv4 index access with its enum.
2023-12-25 11:07:30 +01:00
Daniel Svensson
9d6f5eb9cb Missing braces in SSL_LoadPrivateCert.
Harmless as the NULL vars were set to NULL again, but ugly.
2023-12-25 11:07:30 +01:00
Daniel Svensson
771500d9f8 Incorrect surf_styles param size for LightPlane.
Most callee's already used MAXCPULIGHTMAPS as size, which the function expects.
2023-12-25 11:07:30 +01:00
Daniel Svensson
435a020cb8
Don't purge tracker icons. (#233) 2023-12-18 10:26:55 -08:00
Daniel Svensson
1c201c0321
Skip .lmp to allow loading external images. (#230) 2023-11-16 10:04:27 -08:00
eb6b127d9c Updated library zlib to 1.3 in Makefile 2023-09-19 22:03:44 -07:00
Luis Gutierrez
6a618bb8fd
Fix for unaligned IQM *_ofs fields (#221) 2023-09-11 06:55:05 -07:00
Luis Gutierrez
25e1db29bf
Fix for IQM skeletons with multiple root bones (#218)
Fix case where skeleton contains multiple root bones with no parent bone
2023-08-28 20:29:55 -07:00
Seth Rader
510f50789c
Don't warn on float self-comparisons (#213)
* Don't warn on float self-comparisons

* Don't do redundant type check
2023-08-22 18:52:03 -07:00
Shpoike
0eeb410ce0 Support for ericw-tools' lightgrid stuff. 2023-08-12 14:04:01 +01:00
Shpoike
e907f6adf0 Be a bit more verbose about errors. 2023-08-12 14:04:01 +01:00
Shpoike
dbb9aa329a Be more agressive about using our ffmpeg plugin instead of it just failing outright. 2023-08-12 14:04:01 +01:00
Shpoike
eb6490aa43 Add DECOUPLED_LM to our q2bsp support too, and fix up its FACENORMALS too. 2023-08-12 14:04:01 +01:00
Shpoike
11a5b27689 NQ: Try to improve compat with proxies/port-forwarding and proquake's numeric-only passwords. 2023-08-12 14:04:01 +01:00
Shpoike
bb9f7eb51a Add r_nolerp_list (matching QS) for people who insist on breaking lerping on eg wall torches. Also add a dupe cvar name to provide compat with QS's r_noshadow_list. 2023-08-12 14:04:01 +01:00
Shpoike
5dba16de0d Fix up some issues with drawpic(HTTPURL) 2023-08-12 14:04:01 +01:00
Shpoike
0484a48fad The text editor was kinda annoying in trying to show qc variables when editing configs etc. 2023-08-12 14:04:01 +01:00
Shpoike
f4602d3ec7 Add in_skipplayerone cvar (matching QE). 2023-08-12 14:04:01 +01:00
Shpoike
75166b0815 Fix up an __int64 networking issue. allow qc's sprintf builtin to print them ('q' modifier, also works for doubles when paired with the 'float' modifier as appropriate). 2023-08-12 14:04:01 +01:00
Shpoike
e48e9c67ad Add support for the DECOUPLED_LM bspx lump. 2023-08-12 14:04:01 +01:00
Shpoike
6fc3d57c76 Finally added support for ericw-tools' FACENORMALS bspx lump. 2023-08-12 14:04:01 +01:00
Shpoike
b5705e4d7e Try to fix up the flatpak build's handling of fmf files. 2023-08-12 14:04:01 +01:00
Shpoike
a7a620f690 Potentially support a highly-compressed variety of gltf2 files... but needs third party library so will probably remain permanently disabled at compiletime. 2023-08-12 14:04:01 +01:00
Shpoike
8066f712e0 Q2 server browser was failing to list any servers. 2023-08-12 14:04:01 +01:00
Shpoike
d59c63f545 Provide a 'placement-spawn' feature, so mods don't need to hardcode spawnfunc_ prefixes in their code. 2023-08-12 14:04:01 +01:00
Shpoike
e8b36da22f allow eg poke_ssqc 5.touch=0 2023-08-12 14:04:01 +01:00