Commit graph

4656 commits

Author SHA1 Message Date
Denis Pauk
ae21db84d8 images: support initial ATD sprites
Based on:
  https://anachrodox.talonbrave.info/veffects/procedural/proc_animate.html
2025-02-07 00:47:34 +02:00
Denis Pauk
c780c866e9 Update binary builds 2025-02-04 00:31:38 +02:00
Denis Pauk
f7934b1936 update stb_* codes to latest master (5c205738c191bcb0abc65c4febfa9bd25ff35234)
wget https://raw.githubusercontent.com/nothings/stb/master/stb_image.h -O src/client/refresh/files/stb_image.h
2025-02-02 13:09:47 +02:00
Denis Pauk
43eeb49fad Merge remote-tracking branch 'yquake2/master' 2025-02-02 13:02:55 +02:00
Yamagi
b8a6f2b760 Remove superfluous hints regarding rumble on Playstation gamepads.
SDL3 replaced the Playstation specific hint to the more generic
SDL_HINT_JOYSTICK_ENHANCED_REPORTS hint which is enabled by default.

Pointed out by @erysdren and @protocultor in #1178.

Based on PR #1178 by @erysdren.

Closes #1178.
2025-02-02 10:25:33 +01:00
Denis Pauk
42b578b2bb pmove: code style cleanup 2025-01-12 23:42:26 +02:00
Denis Pauk
5030d9d046 pmove: code cleanup 2025-01-08 23:23:51 +02:00
Denis Pauk
5440d6b94a pmove: PM_Friction cleanup 2025-01-05 23:41:14 +02:00
Denis Pauk
e71fce25a4 protocol: extend MAX_MSGLEN to 32k
ReRelease uses 19104 as first package size in demo
2025-01-04 22:56:57 +02:00
Denis Pauk
9e3de04388 protocol: partial support of 29.3 player coordinates
Changed only protocol without internal variables changes
2025-01-01 22:46:28 +02:00
Denis Pauk
33fd4579fb client: code style cleanup 2025-01-01 22:34:21 +02:00
Denis Pauk
89719b4a27 game: code style cleanup 2025-01-01 14:36:38 +02:00
Denis Pauk
1fdb0f81e6 renders: check min/max on nodes load 2024-12-31 15:22:43 +02:00
Denis Pauk
50a0609af8 protocol: use MSG_WritePos with protocol version 2024-12-31 13:14:28 +02:00
Denis Pauk
d6da3a5362 protocol: extend entity_xstate_t.origin to floats 2024-12-31 01:23:37 +02:00
Denis Pauk
13bd293c17 client: cleanup statusbar line 2024-12-28 18:35:21 +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