Commit graph

4643 commits

Author SHA1 Message Date
Denis Pauk
e5a30b40fb Merge branch 'master' into rearrangecalls 2024-12-28 23:26:18 +02:00
Denis Pauk
13bd293c17 client: cleanup statusbar line 2024-12-28 18:35:21 +02:00
Denis Pauk
6466bdf543 count vk calls 2024-12-27 17:32:15 +02:00
Denis Pauk
fd4a7abc58 game: sync target_camera with ReRelease
Based on: https://github.com/Paril/quake2-rerelease-dll.git
2024-12-27 17:26:46 +02:00
Denis Pauk
05b2b3928a readme: update videos 2024-12-26 17:25:25 +02:00
Denis Pauk
4e22fc255d game: add misc_player_mannequin from ReRelease code
Based on: https://github.com/Paril/quake2-rerelease-dll.git
2024-12-26 00:37:21 +02:00
Denis Pauk
c6338f0c36 game: add ai_model_scale from ReRelease code
Based on: https://github.com/Paril/quake2-rerelease-dll.git
2024-12-25 16:42:23 +02:00
Denis Pauk
9029beb87d game: Add npc_timeminder from Anachronox 2024-12-25 12:13:34 +02:00
Denis Pauk
ded38bbf44 game: sync target_autosave with ReRelease code
Based on: https://github.com/Paril/quake2-rerelease-dll.git
2024-12-25 11:30:36 +02:00
Denis Pauk
f7b9c8c518 game: sync target_sky with ReRelease code
Based on: https://github.com/Paril/quake2-rerelease-dll.git
2024-12-25 11:24:41 +02:00
Denis Pauk
dbcd1d0d6d game: allocate translation and dynamic entities by malloc
gi.TagMalloc can't be used as free up all tags on save load
2024-12-25 00:35:36 +02:00
Denis Pauk
b6f69da662 renders: use bigger light blocks
Fixes: n64jam_palmlix
2024-12-23 16:36:07 +02:00
Denis Pauk
a4511bd7f0 Merge remote-tracking branch 'yquake2/master' 2024-12-23 00:25:43 +02:00
Denis Pauk
54e32cb79d renders: dynamic allocation of PVS/PHS buffer 2024-12-23 00:11:08 +02:00
Denis Pauk
de20289cb1 collision: dynamic allocation of PVS/PHS buffer 2024-12-23 00:11:08 +02:00
Denis Pauk
1ca588ef5e maps: share Vis decode code 2024-12-23 00:11:08 +02:00
Denis Pauk
726e4616db renders: dynamic allocate buffer in *_MarkLeaves 2024-12-23 00:11:08 +02:00
Denis Pauk
0a346113dd maps: dynamic allocate buffer in Mod_LoadQBSPNodes 2024-12-23 00:11:08 +02:00
Denis Pauk
a21e1f27ed renders: validate count of clusters in visibility lump 2024-12-23 00:11:08 +02:00
Denis Pauk
14a832c710 game: fix pickup chainfist 2024-12-23 00:11:08 +02:00
Denis Pauk
27d1a87ab0 maps: reuse CM_Cluster code 2024-12-23 00:11:08 +02:00
Denis Pauk
9079f610d0 maps: make visibility entity optional
Based on q2pro.

Checked with n64jam_chnuckierdbeer map from https://www.moddb.com/games/quake-2/addons/quake-2-re-release-n64-sp-map-jam
2024-12-22 23:57:53 +02:00
Yamagi
9e127cf71f
Merge pull request #1175 from 0lvin/1173_crash
Make more function local and use const with names
2024-12-22 19:28:16 +01:00
SiemensSchuckert
49b4e97f5d
disable certificate validation for HTTPS (#1174)
disable certificate check for HTTPS

disable SSL certificate check - to allow download from servers with self-signed cert, or when some certs are missing from system certificate store that CURL uses

add new cvar `cl_http_verifypeer`
2024-12-22 19:12:48 +01:00
Denis Pauk
4025b1aa46 protocol: configstring should checked to negative values
partial revert of 91103f90
2024-12-21 16:06:49 +02:00
Denis Pauk
f70ec69470 hide local functions under static
Also apply recomentadion of msvc for use size_t with strlen.
2024-12-21 13:50:08 +02:00
Denis Pauk
02e6784111 renders: make pic name const 2024-12-21 13:03:44 +02:00
Denis Pauk
dfd2cb3700 Merge remote-tracking branch 'yquake2/master' 2024-12-21 12:19:57 +02:00
Yamagi
7211e06c8c Fix drawing of UDP download progress bar with r_consolescale > 1.
When calculating the Y position of the UDP download progress bar the
scale factor must be taken into account. Otherwise the bar will be drawn
outside the visible area of the console. This was missed when scaling
was first implemented years ago and broken since then.

Reported by @SiemensSchuckert, closes #1172.
2024-12-21 10:10:42 +01:00
Yamagi
290c9ecabe
Merge pull request #1170 from protocultor/wpn_preview
Sound backend selector + weapon preview for cycleweap
2024-12-21 09:51:42 +01:00
Denis Pauk
8d03b22a2f maps: fix yellow wall in daikatana e2m2a
Issue introduced in a09cbe20
2024-12-20 23:34:09 +02:00
Denis Pauk
c388d5b31d Merge remote-tracking branch 'yquake2/master' 2024-12-20 22:46:30 +02:00
Jaime Moreira
d3a98cf66b Text simplified for sound backend menu option
"Quality vs performance" might not correspond to reality; text deleted.
Documentation updated to reflect current state of both OpenAL and SDL
sound systems.
Authored by @Yamagi.
2024-12-20 16:36:53 -03:00
Yamagi
8c8488657c Fix less planes reserved for hull box testing than used down below.
This is an original bug, already present in Vanilla Quake 2.

Reported by @m-x-d, closes #1171.
2024-12-20 15:30:32 +01:00
Yamagi
cdf1cba106 Correct strncmp() checks in download code.
Reported by @m-x-d, closes #1167.
2024-12-20 15:24:27 +01:00
Denis Pauk
cbd1665239 game: fix spirit models on start points 2024-12-20 16:13:15 +02:00
Denis Pauk
c3d7def63d cmakefile: add vulkan build 2024-12-20 16:12:41 +02:00
Denis Pauk
ea94f56f18 cmakefile: add gl4 target 2024-12-20 16:12:32 +02:00
Denis Pauk
9d68b161bd readme: add new video 2024-12-20 16:12:19 +02:00
Denis Pauk
4293f1e73a cin: fix regression from c8985738 2024-12-20 16:12:02 +02:00
Denis Pauk
91103f907b add static for local function and use size_t with string length 2024-12-20 16:11:53 +02:00
Denis Pauk
8f0906704a Merge remote-tracking branch 'yquake2/master' 2024-12-20 16:10:28 +02:00
Yamagi
9522e9e490
Merge pull request #1169 from SiemensSchuckert/HTTP_dnl2
fix HTTP download crash (on 404)
2024-12-20 11:38:07 +01:00
Yamagi
bc168a7bfa
Merge pull request #1168 from SiemensSchuckert/HTTP_dnl1
fix HTTP download crash (on empty file)
2024-12-20 11:37:41 +01:00
Denis Pauk
5a0def601a client: improve autodetect heretic2 map 2024-12-18 22:39:06 +02:00
Denis Pauk
f931f9c8bc ReadMe: prepare for 8.42RR11 release 2024-12-18 19:35:50 +02:00
Denis Pauk
67052ec008 client: rework flashlight 2024-12-18 18:17:53 +02:00
Denis Pauk
7a3ebc7e99 game: Add support 'g_start_item'
Based on:
 * https://github.com/id-Software/quake2-rerelease-dll.git
2024-12-18 15:24:24 +02:00
Denis Pauk
fdeabf515c client: mesh mask in model preview 2024-12-17 21:41:10 +02:00
Jaime Moreira
60f0fdd969 Makefile parameter to disable SDL Gyro support
"make NO_SDL_GYRO=1" disables sensor reading support and forces
behavior of SDL < 2.0.14 under any version, even SDL 3.
Meant for Arch Linux ARM, which supports 2.30.10 at this time, but
doesn't support gyro readings (no HIDAPI support?), even if it shows
an additional "IMU joystick" when connecting Nintendo gamepads.
This commit allows to use the "IMU joystick" in game, extending #990.
Identification of joysticks as "IMU" or "Left Joy-Con" is more
generic now, covering more possible naming conventions.
2024-12-15 22:51:56 -03:00