Commit graph

3789 commits

Author SHA1 Message Date
Denis Pauk
f6319f8bc0 ref_vk: Load IBSQ map format 2023-09-17 16:28:50 +03:00
Denis Pauk
893abc564a Daikatana fix search BSPX header 2023-09-17 16:01:11 +03:00
Denis Pauk
d5515c8525 Daikatana: load bsp and wal formats
https://gist.github.com/DanielGibson/2ceeba3fb6141e839c4aaf141b649762
2023-09-17 16:00:41 +03:00
Denis Pauk
b7f78626f8 Add additioan description of goals. 2023-09-17 15:48:42 +03:00
Daniel Svensson
bbf4a9f189 soft: LIGHTMAPS: Add support for LMSHIFT.
Could be extended to support the LMSHIFT BSPX blob. Currently mostly a
cleanup to make DECOUPLEDLM changes more readable.
2023-09-17 15:19:17 +03:00
Daniel Svensson
d3f0fde1ae gl3: LIGHTMAPS: Add support for LMSHIFT.
Could be extended to support the LMSHIFT BSPX blob. Currently mostly a
cleanup to make DECOUPLEDLM changes more readable.
2023-09-17 15:17:00 +03:00
Denis Pauk
42465a6b03 Add Vulkan render 2023-09-17 14:17:14 +03:00
Denis Pauk
92a0bcf128 fix heretic2 like sprite path 2023-09-17 14:07:01 +03:00
David CARLIER
34830efda1 Mod_LoadFlexModel fix uninit var 2023-09-17 14:04:49 +03:00
Denis Pauk
412ea8406a Add dkm models support (daikatana)
Based on:
 * [TrenchBroom](https://github.com/TrenchBroom/TrenchBroom/blob/master/common/src/IO/DkmParser.cpp)
 * [dkm2md2](http://charles.hollemeersch.net/daikatana-tools/)
2023-09-17 14:01:36 +03:00
Denis Pauk
cfac300e74 Add fm/heretic2 model support
Save additional list of meshes between dmdl_t and list of skins.

https://sourceforge.net/p/quark/code/HEAD/tree/runtime/trunk/plugins/ie_fm_import.py
2023-09-17 13:54:51 +03:00
Denis Pauk
db436ee6e4 Add Quake mdl format support
http://tfc.duke.free.fr/coding/mdl-specs-en.html
2023-09-17 13:48:09 +03:00
Denis Pauk
bd5685d201 Add Heretic 2 mpeg support
2aa2b7aec8
2023-09-17 12:11:41 +03:00
Dominic Szablewski
88079c9c70 Add mpeg decoder
https://github.com/phoboslab/pl_mpeg

License: MIT
2023-09-17 12:04:28 +03:00
Denis Pauk
c898573885 Add support of smacker files
https://sourceforge.net/projects/libsmacker/files/libsmacker-1.2/

libsmacker is released under the Lesser GNU Public License, v2.1.
2023-09-17 11:54:57 +03:00
Denis Pauk
85ebca9979 ref_gl1: Load IBSQ map format 2023-09-16 19:42:40 +03:00
Frank Richter
10e791471e Add 'skyautorotate' worldspawn property as found in rerelease game.
This is necessary to stop the sky in some rerelease maps, eg base1,
from spinning: these maps set a 'skyrotate' value, but explicitly
disable it with the new 'skyautorotate'.
2023-09-16 19:42:40 +03:00
Daniel Svensson
9cb349e6e9 ref_gl1: LIGHTMAPS: Add support for DECOUPLEDLM.
Decouples texture coordinates from lightmap coordinates to allow for
higher resolution lightmaps, and also avoids lightmap misalignment when
shadows span surfaces with differing texture scale.
2023-09-16 19:42:40 +03:00
Daniel Svensson
27331bcd1c ref_gl1: LIGHTMAPS: Add support for LMSHIFT.
Could be extended to support the LMSHIFT BSPX blob. Currently mostly a
cleanup to make DECOUPLEDLM changes more readable.
2023-09-16 19:42:40 +03:00
Denis Pauk
a11b298d5c ref_gl1: Add BSPX load 2023-09-16 19:42:40 +03:00
David CARLIER
437c16c0d1 "constifying" where underlying C calls expect compile time constants. 2023-09-16 18:16:52 +02:00
Yamagi
73c3afd47e
Merge pull request #1060 from devnexen/constify_it
"constifying" where underlying C calls expect compile time constants.
2023-09-16 18:14:17 +02:00
Yamagi
203780b613 Merge remote-tracking branch '0lvin/rerelease' 2023-09-16 17:29:36 +02:00
Yamagi
677d89a594 Yamagi Quake II Remaster, an experimental fork with Q2R support. 2023-09-16 17:25:41 +02:00
David CARLIER
3b8053edae "constifying" where underlying C calls expect compile time constants. 2023-09-16 16:20:21 +01:00
Daniel Gibson
3c8f087bb5 Fix use-after-free bugs in htttp download code
CL_RemoveFromQueue(qdlqueue_t *entry) free()s that entry, so the loops
that call q->next after CL_RemoveFromQueue(q) are accessing free'd
memory. Fix that by getting a pointer to the next entry before calling
CL_RemoveFromQueue().

Also did a tiny non-functional change to CL_RemoveFromQueue() to
make it easier to understand.
2023-09-16 16:59:31 +02:00
Yamagi
fe715f3d76 Document vid_pauseonfocuslost. 2023-09-16 16:36:19 +02:00
Yamagi
43e2a67f12 Fix indention problems introduced in the last commits. 2023-09-16 16:33:13 +02:00
Yamagi
49d4f2ce1f Merge remote-tracking branch 'menu/oss' 2023-09-16 16:30:04 +02:00
Denis Pauk
ae7d6c1800 r_retexturing: use rgb with pcx if image has builtin palette 2023-09-16 10:56:50 +03:00
Denis Pauk
3ffe9f522e soft: use same full light as gl* version if none
Use fullbright if not lights provided, same logic used by default
for gl renders and way to show something for ReRelease version
while real support is not implemented yet.
2023-09-16 10:56:50 +03:00
Denis Pauk
3b82261dec Make sound samples const 2023-09-16 10:56:50 +03:00
Denis Pauk
2fc15692d3 Add support of Quake 2 N64 ReRelease 2023-09-16 10:56:50 +03:00
Denis Pauk
318cd69318 Add nolerp filtering by * 2023-09-16 10:56:50 +03:00
Denis Pauk
9f8af6ec54 Generate palette and color map 2023-09-16 10:56:50 +03:00
Denis Pauk
dfff401645 Share 24to8 convert logic 2023-09-16 10:56:50 +03:00
Denis Pauk
43e4951f43 Automatically generate 16to8 bit colors 2023-09-16 10:56:50 +03:00
Denis Pauk
903272ee09 Support Quake2 ReRelease textures 2023-09-16 10:56:50 +03:00
Yamagi
f714650841
Merge pull request #1059 from protocultor/limits
Added missing include, fixing compilation in Linux and MacOS
2023-09-15 20:17:54 +02:00
Jaime Moreira
faee2203b8 Added missing include for USHRT_MAX 2023-09-15 11:42:50 -03:00
Yamagi
4afcd900cc
Merge pull request #1049 from protocultor/g_swap_speed_fix
Fix for g_swap_speed behaviour with extreme values
2023-09-14 21:01:42 +02:00
Yamagi
d466b8cf51
Merge pull request #1043 from mjunix/master-1
Fix potential index out of bounds
2023-09-14 20:58:52 +02:00
Jaime Moreira
9821c4b0a2 Show correct replacement for gl_lightmap cvar
Typos corrected
2023-08-26 19:18:24 -04:00
Jaime Moreira
c2ab0f61d7 Fixed Zoid Kirsch's name in credits 2023-08-26 19:10:26 -04:00
Jaime Moreira
118b78256f Fixed g_swap_speed behaviour with extreme values
When its value was between 0 and 1, rounded down to 0.
Did the same when bigger than 65535.
Both cases locked up the entire weapon animation.
2023-08-26 19:08:26 -04:00
Johan Mattsson
9c929ab463
Fix potential index out of bounds 2023-08-13 18:04:04 +02:00
Yamagi
9316bd0ba2
Merge pull request #1037 from devnexen/cmake_arch_fix
fix cmake assumption on x86 arch.
2023-08-13 09:52:32 +02:00
David CARLIER
d7a6535d01 fix cmake assumption on x86 arch.
set wrongly on i386 even tough the cpu is x86`_64`.
2023-08-05 11:12:19 +01:00
Yamagi
ac6990c94e
Merge pull request #1036 from devnexen/netsock_fixleak
unix NET_Socket fix socket leak at address assignment failure.
2023-07-30 17:23:57 +02:00
David Carlier
efc59a3e3d unix NET_Socket fix socket leak at address assignment failure. 2023-07-29 06:55:22 +01:00