Denis Pauk
519b72adc9
models: function naming cleanup
2023-12-26 22:22:04 +02:00
Denis Pauk
d54f070246
gl3,gl4: cleanup light code
2023-12-26 14:59:10 +02:00
Denis Pauk
2a8e84ccd8
gl1,gl3,gl4,vk: sync R_LerpVerts
2023-12-26 14:14:31 +02:00
Denis Pauk
06ee407efa
render: remove skin count limit
2023-12-25 14:44:44 +02:00
Denis Pauk
d4aa45d6cb
Version bump to 8.31RR3
2023-12-25 00:14:45 +02:00
Denis Pauk
8ecef62a5d
clean up model list show
2023-12-25 00:05:38 +02:00
Denis Pauk
70b0b1c77a
Update windows build instruction
2023-12-25 00:05:38 +02:00
Denis Pauk
6b4f197ac0
game: Add third person view
...
Based on codes:
* Lazarus mod
* KMQuake2 codes
* Slight Mechanical Destruction mod
https://bitbucket.org/Knightmare66/kmquake2_stable/src/master/game/p_chase.c
2023-12-25 00:05:38 +02:00
Denis Pauk
45413644bf
gl4: remove GLES usage
2023-12-21 19:24:14 +02:00
Denis Pauk
fc543be4f5
gl3,gl4: LIGHTMAPS: Add support for DECOUPLEDLM.
...
Based on 9cb349e6e9
2023-12-21 18:59:33 +02:00
Denis Pauk
bd86f646da
refresh: Sync lightmap function names
2023-12-21 17:15:52 +02:00
Denis Pauk
a180fd3086
Merge remote-tracking branch 'yquake2/master'
2023-12-19 23:22:36 +02:00
Yamagi
e40f5d1480
Merge pull request #1077 from apartfromtime/Fix-duplicate-entries
...
Fix duplicate menu key keyboard entries
2023-12-19 18:33:39 +01:00
Denis Pauk
1e6042ba35
client: fix cinematic run after load map
...
Fix regression from 51a8dfb6
2023-12-19 19:25:48 +02:00
Denis Pauk
b423cf6865
soft: fix colorspace for direct cinema
2023-12-19 15:30:08 +02:00
Denis Pauk
2b24ee9b53
soft: scale small video
...
in case if aspect ratio is same as window
2023-12-19 01:40:18 +02:00
Denis Pauk
fa3ec83253
soft: add warning if is already flushed
2023-12-19 00:39:45 +02:00
Denis Pauk
30ecd8ac57
cin: scale down ogv frame
...
Scale down frame to size of window if required,
Scale up in soft render is slow, so skip it for
small files.
ReRelease ogv files could be rendered in native
resolution and color space in soft render if windows
size is equal to video size.
2023-12-18 17:39:44 +02:00
Denis Pauk
d7b5bfc06f
soft: support direct copy raw image
2023-12-18 15:52:18 +02:00
Denis Pauk
642aeedc43
Merge remote-tracking branch 'yquake2/master'
2023-12-18 12:47:09 +02:00
apartfromtime
87ae381ed2
Attempt to fix indentation
2023-12-18 09:27:57 +11:00
apartfromtime
1570baee4d
Remove superfluous switch statement
2023-12-18 08:52:35 +11:00
Yamagi
18aa42653a
Merge pull request #1076 from protocultor/quick_weap
...
Faster "weapprev" and "weapnext" behavior
2023-12-17 11:58:28 +01:00
apartfromtime
089a1cd53f
Fix duplicate menu key keyboard entries
...
Fixes a bug where duplicate keyboard entries would occur in menu fields when using the keypad keys with num-lock on.
Adds `IN_NumpadIsOn` function returning the state of the numpad key.
2023-12-17 09:55:58 +11:00
Denis Pauk
80ff901765
Fix build with Q_min/Q_max: 5da0e5f0
2023-12-16 23:37:20 +02:00
apartfromtime
ef456964e3
Revert "Fix duplicate menu key keyboard entries"
...
This reverts commit 2180ca6c40
.
2023-12-17 08:18:38 +11:00
Denis Pauk
6b70251341
Merge remote-tracking branch 'yquake2/master'
2023-12-16 23:14:52 +02:00
Jaime Moreira
01ce6787dc
Preview of the coming weapon for weapprev/weapnext
...
The weapon you are changing to appears in the HUD, in "pickup" format.
Requires g_quick_weap == 1.
2023-12-16 17:52:00 -03:00
apartfromtime
2180ca6c40
Fix duplicate menu key keyboard entries
...
Fixes a bug where duplicate keyboard entries would occur in menu fields when using the keypad keys with num-lock on.
Menu fields now mirror behaviour of the console field.
Removed keypad left arrow case from console key ignore list.
2023-12-12 14:29:52 +11:00
apartfromtime
71570bb2ef
Revert changes to shaders
...
Uses min/max from shader language.
2023-12-09 12:28:30 +11:00
Jaime Moreira
9eca08fd92
Faster "weapprev" and "weapnext" behavior
...
These commands can now "count" how many times they have been called,
similar to how "cycleweap" operates after #865 .
This allows for changing to different weapons, instead of just going
"one down" or "one up".
New cvar "g_quick_swap" allows to enable/disable this behavior.
2023-12-07 23:57:19 -03:00
apartfromtime
f0d2c5afaa
More min\max function renaming
...
Missed function renaming.
2023-12-04 22:59:31 +11:00
David Carlier
734422cbdf
client: build warning fixes.
2023-12-02 13:05:29 +02:00
apartfromtime
9ac19de4ac
Rename min\max to avoid conflict with c-plus plus
...
While trying to compile the yquake2 rebased heretic2 source from 0lvin, a name conflict with min\max of different parameter counts included by a std::cpp library occurred.
2023-12-01 11:58:21 +11:00
Denis Pauk
e673301dfb
renders: fix maps with hardcoded image extensions
2023-11-28 00:31:33 +02:00
Denis Pauk
fbdc7e3f79
renders: Use pcx->wal->m32->m8->tga priority
2023-11-27 23:56:16 +02:00
Denis Pauk
53067535ea
vk: clean up unused code
2023-11-27 00:02:37 +02:00
Denis Pauk
888e9bac9d
render: Save original name of requested image
2023-11-26 23:50:29 +02:00
Denis Pauk
8d35e72606
client: support png skins in multiplayer
2023-11-26 16:47:49 +02:00
Denis Pauk
d48a8abf5c
Merge remote-tracking branch 'yquake2/master'
2023-11-25 16:14:28 +02:00
Yamagi
4967b9d0ca
Update miniz to e5700656b34b732f8d4e5df87cb0de00a6c8f319.
2023-11-24 09:26:14 +01:00
Yamagi
3d8fa3995c
Update minizip unzip to 643e17b7498d12ab8d15565662880579692f769d.
2023-11-23 18:42:20 +01:00
Yamagi
90402c3f85
Move miniz into a subdirectory.
...
An upcoming update will add several files, having miniz in it's own
subdirectory makes it clear what belongs to it an whit to unzip.
2023-11-23 18:21:44 +01:00
Denis Pauk
dab662c8ba
game: fix guardian and shambler save
2023-11-18 20:14:48 +02:00
Denis Pauk
38f2442d84
soft: move RE_SetSky to warp file
...
Same structure as other renders have
2023-11-18 17:52:43 +02:00
Denis Pauk
9958db18d6
game: Add ReRelease Shambler Monster
2023-11-17 00:45:58 +02:00
Denis Pauk
1151c91069
game: Add ReRelease Guardian Monster
2023-11-12 23:51:58 +02:00
Denis Pauk
145027c240
game: fix actor save, revert of 038b7f01
2023-11-09 23:55:29 +02:00
Denis Pauk
6aece83adb
game: restore rerelease target_actor used in biggun
2023-11-09 00:56:33 +02:00
Denis Pauk
081d0fffa4
game: add ReRelease Arachnoid monster
2023-11-09 00:15:23 +02:00
Denis Pauk
015741ae4f
Merge remote-tracking branch 'yquake2/master'
2023-11-06 00:37:49 +02:00
Denis Pauk
1270ae66d5
client: cache 8 maps in collision code
2023-11-05 18:50:02 +02:00
Yamagi
d4940703f0
Bump version number to 8.31pre.
2023-11-05 12:15:35 +01:00
Yamagi
11993ed7e6
Bump version number to 8.30.
2023-11-05 12:13:43 +01:00
Denis Pauk
51a8dfb6f3
client: cache four last maps
2023-11-05 02:49:00 +02:00
Denis Pauk
a50c75e069
Fix possible undefined code in recursive CM_BoxLeafnums_r
...
Found by @devnexen in https://github.com/0lvin/heretic2/pull/13/files
2023-11-04 23:00:37 +02:00
Denis Pauk
1ab34c87fd
Combine credits for addons
2023-11-04 21:50:28 +02:00
Denis Pauk
172e8b743e
game: merge ctf
2023-11-04 21:03:05 +02:00
Denis Pauk
f0155f0163
game: sync ctf g_ai
2023-11-04 20:22:01 +02:00
Denis Pauk
63d3e5ac74
Merge remote-tracking branch 'yquake2/master'
2023-11-04 19:45:48 +02:00
Denis Pauk
977dbc34e6
game: disable ctf menu if game != ctf
2023-11-04 19:45:23 +02:00
Denis Pauk
d27fc1f333
game: sync ctf player
2023-11-04 18:30:46 +02:00
Denis Pauk
802a874f64
game: sync ctf g_cmds
2023-11-04 17:32:56 +02:00
Denis Pauk
2b69f3774f
game: sync ctf hud/trail
2023-11-04 17:01:06 +02:00
Yamagi
06017193fc
Merge pull request #1070 from devnexen/network_getaddrinfo_error
...
NET_Socket unix using getaddrinfo's error code in case.
2023-11-04 14:13:24 +01:00
Denis Pauk
16dee61c78
game: sync ctf g_{spawn,phys}
2023-11-03 01:00:51 +02:00
Denis Pauk
9947744114
game: sync ctf g_{chase,func,items,misc,weapon}
2023-11-03 00:36:57 +02:00
Denis Pauk
c41b72125a
game: sync with ctf g_svcmds, g_target, g_trigger
2023-11-02 00:58:27 +02:00
Denis Pauk
d68c31e0e4
ctf: Add game monsters
2023-11-02 00:38:33 +02:00
Denis Pauk
2fe5162add
game: ctf g_utils sync
2023-11-02 00:26:48 +02:00
Denis Pauk
571c0b96c2
Support custom model format in multiplayer select
2023-11-02 00:03:34 +02:00
Denis Pauk
67adb452dc
Loki Games intro game alias support (movie@menu)
2023-11-02 00:03:11 +02:00
Denis Pauk
77e61531d5
Version bump to 8.21RR2
2023-10-31 23:15:36 +02:00
Denis Pauk
07b3d0f9a7
Partial fix of windows build
2023-10-31 19:03:47 +02:00
Denis Pauk
585af3a0bd
client: Add network/demo protocol version print
2023-10-30 00:41:35 +02:00
Denis Pauk
0792a535fa
client: update unzip to zlib 1.3 version
...
https://github.com/madler/zlib/releases/tag/v1.3
2023-10-29 12:50:10 +02:00
Denis Pauk
646420f10c
gl3,gl4: Update HandmadeMath.h
...
https://raw.githubusercontent.com/HandmadeMath/HandmadeMath/v1.13.0/HandmadeMath.h
2023-10-29 12:30:12 +02:00
Denis Pauk
21ca36cf66
Update miniz to 3.0.2 version
...
https://github.com/richgel999/miniz/releases/tag/3.0.2
2023-10-29 12:12:27 +02:00
Denis Pauk
4c2c94beea
gl3,gl4: Reuse HandmadeMath and DG_dynarr
2023-10-29 11:28:22 +02:00
Denis Pauk
a08a8d35e1
client: Update stb_image_resize
...
New optimized version:
https://raw.githubusercontent.com/nothings/stb/e81f294/stb_image_resize2.h
2023-10-29 11:04:29 +02:00
Denis Pauk
75d9d7ddfc
client: Update stb_image_write to v1.16
...
https://github.com/nothings/stb/blob/1ee679c/stb_image_write.h
2023-10-29 10:39:25 +02:00
Denis Pauk
64215c04f6
Fix endline in files, without code changes
...
Run: sed -i 's/[[:blank:]]*$//' */*.{c,h}
2023-10-29 01:58:20 +03:00
Denis Pauk
e1fd35316d
cin: fix build without avcodec
2023-10-29 01:09:08 +03:00
Denis Pauk
f76fa5526f
cin: replace cin with ogv if available
2023-10-28 18:47:26 +03:00
Denis Pauk
a72fa5af3a
cin: minimize memmove in avcodec code
2023-10-28 18:02:32 +03:00
David Carlier
478d16e786
NET_Socket unix using getaddrinfo's error code in case.
2023-10-28 15:34:50 +01:00
Denis Pauk
edb361b98f
cin: fix memory leak in ffmpeg decode
2023-10-28 16:50:19 +03:00
Denis Pauk
17436190ae
cin: remove transparent image fix for ffmpeg
2023-10-28 15:17:02 +03:00
Denis Pauk
00dcd5952b
cin: minimaze memmove of video frames
2023-10-28 00:21:33 +03:00
Denis Pauk
f83d40ffe3
cin: cleanup debug message and support roq
...
RoQ format requires ffmpeg.
Reuse ffmpeg for mpg,smk also.
2023-10-27 20:19:51 +03:00
Denis Pauk
258d041b5d
cin: Add ogv video support
2023-10-27 19:43:41 +03:00
David Carlier
a5192af173
fix curl uaf previous fix.
2023-10-25 18:46:03 +01:00
Denis Pauk
5c49886d7b
game: sync ctf g_weapon
2023-10-24 17:23:01 +03:00
Denis Pauk
675ce35e75
game: Add g_ctf to game
2023-10-24 17:07:43 +03:00
Denis Pauk
fb5216ffcf
game: add monster_tank_stand from ReRelease
2023-10-24 13:50:17 +03:00
Denis Pauk
600d6d34c1
game: add monster_guncmdr from ReRelease
2023-10-24 00:22:12 +03:00
Denis Pauk
59e3207bed
game: sync ctf moster move code
2023-10-23 01:25:43 +03:00
Denis Pauk
d8b8a78d37
game: Add target_sky and target_music
...
Based on code https://github.com/id-Software/quake2-rerelease-dll.git
Required to stop sky rotation.
2023-10-23 00:18:35 +03:00
Denis Pauk
91ffbeea08
game: final merge of rogue
2023-10-22 17:59:13 +03:00
Denis Pauk
a46d6a2d83
game: sync all rogue monsters to game
2023-10-22 14:46:26 +03:00
Denis Pauk
5c87db6e88
game: sync rogue player code
2023-10-22 13:05:13 +03:00
Denis Pauk
5103bd6f72
game: sync rogue g_* files
2023-10-22 12:19:30 +03:00
Denis Pauk
17f223eada
game: Add ctf to default build
2023-10-21 23:41:22 +03:00
Denis Pauk
1e39328655
game: sync rogue soldier logic
2023-10-21 19:06:01 +03:00
Denis Pauk
30fa1d6b83
game: sync g_* rogue logic
2023-10-21 18:42:18 +03:00
Denis Pauk
1ec141c954
game: final merge of xatrix
2023-10-21 13:15:54 +03:00
Denis Pauk
5b7696b789
game: sync game logic from xatrix
2023-10-21 02:28:43 +03:00
Denis Pauk
0956f965f7
game: sync up xatrix player
2023-10-21 01:12:13 +03:00
Denis Pauk
689e54c7eb
game: sync up all xatrix monsters
2023-10-21 00:45:32 +03:00
Denis Pauk
f26caa7e72
gl1,vk,soft: fix open player model select
2023-10-20 22:54:02 +03:00
Denis Pauk
5ca0b0ce5d
game: sync flipper and float with xatrix
2023-10-20 22:54:02 +03:00
Denis Pauk
00fc171350
game: sync boss3 with rogue
2023-10-20 22:54:02 +03:00
Denis Pauk
2dcad44128
game: sync boss2,boss3,brain and chick with xatrix
2023-10-20 22:54:02 +03:00
Denis Pauk
159dde8c2f
game: combine monsters from separate files
...
Move to game all monsters defined in separate files, without real
usage for now.
2023-10-20 22:54:02 +03:00
Denis Pauk
9702700225
Temporary build rogue as separate library
2023-10-20 22:54:02 +03:00
Denis Pauk
0826949edc
Fix curl warnings
2023-10-20 22:54:02 +03:00
Denis Pauk
7f74db318b
Temporary build xatrix as separate library
2023-10-20 22:54:02 +03:00
Denis Pauk
96b4037ac7
Merge remote-tracking branch 'yquake2/master'
2023-10-20 22:53:04 +03:00
Jaime Moreira
36bf9de5a8
Typos
2023-10-18 20:37:49 -03:00
Jaime Moreira
fa218c9f4c
Fixed gl1_overbrightbits limiter
...
Allows values between 0 and 4. Updated documentation.
2023-10-18 20:35:51 -03:00
Denis Pauk
7b50b2d89f
game: Sync game/header/game.h, game/header/local.h
2023-10-18 19:40:55 +03:00
Denis Pauk
748cc322b3
client: Add ReRelease music files
2023-10-17 23:04:59 +03:00
Denis Pauk
cfe2f27fae
Simplify SURF_ALPHATEST code
...
Fix for https://github.com/yquake2/yquake2/issues/956
2023-10-17 18:55:55 +03:00
Denis Pauk
586d62d4de
server: badlands hack
2023-10-17 00:16:05 +03:00
Denis Pauk
858aa85c6a
Merge remote-tracking branch 'yquake2/master'
2023-10-17 00:10:04 +03:00
Denis Pauk
83a31973c2
Add transparent with alpha test surface support
...
Based on surface flag from kmquake2 and rerelease documatation
https://github.com/id-Software/quake2-rerelease-dll#surf_alphatest-bit-25
2023-10-16 00:35:40 +03:00
Denis Pauk
b4e78d0fa3
vk,gl1: Fix mgu2m3
2023-10-15 23:09:05 +03:00
Denis Pauk
c3c80593c8
gl1,vk: reuse initial shared lightmap buffer
2023-10-15 21:29:10 +03:00
Denis Pauk
0506b02c60
gl1: Fix mgu3m2
2023-10-15 19:58:33 +03:00
Yamagi
5c642b6a5b
Merge pull request #1061 from DanielGibson/curl-uaf-fix
...
Fix use-after-free bugs in htttp download code
2023-10-15 18:09:25 +02:00
Denis Pauk
fd7cb11f92
files/light: add output buffer size check and desync LM sizes
...
Partial revert 660f5728
.
After sync lightmaps generation is broken for gl1, revert sync
for now.
2023-10-15 19:00:49 +03:00
Denis Pauk
e17db97176
gl1: Temporary revert back Lightmap size to fix lights
...
Fix 1ab6214f
, 660f5728
2023-10-15 16:41:52 +03:00
Denis Pauk
660f5728c1
gl1,gl3,gl4,vk: Sync LM size
...
Need to search way to dynamically change prefered lightmap texture
size and sync LM caching structures and code.
internal_format is always GL_LIGHTMAP_FORMAT so just directly use
constant instead set to variable.
2023-10-15 14:47:54 +03:00
Denis Pauk
1ab6214ff0
gl1,vk: move s_blocklights reallocation to files/light
2023-10-15 13:51:15 +03:00
Denis Pauk
2790b0de92
Fix lightmap temporary buffer size calculation
...
Introduced in a1249534
, fixed load of mgu3m2 in vk render.
2023-10-15 12:49:15 +03:00
Denis Pauk
b54dc5559d
Fix LoadMarksurfaces loads
2023-10-14 17:17:03 +03:00
Denis Pauk
c91dc0b9b2
Share R_PushDlights between all renders
2023-10-14 02:08:30 +03:00
Denis Pauk
4dbb6eb4bc
Share R_MarkSurfaceLights between all renders
2023-10-14 01:32:19 +03:00
Denis Pauk
a124953432
gl1,vk: share R_BuildLightMap
2023-10-14 00:42:06 +03:00
Denis Pauk
0dde2cc731
gl1,vk: share R_AddDynamicLights
2023-10-13 23:33:35 +03:00
Denis Pauk
85c18a8090
gl1,vk: Share SetCacheState and fix q64/outpost
2023-10-13 18:30:52 +03:00
Denis Pauk
9874f1a6c0
vk:Reuse internal vertex format in poligon and skybox shaders
2023-10-13 00:26:21 +03:00
Denis Pauk
8694aebb20
vk:Reuse internal vertex format in lightmap shaders
2023-10-13 00:25:40 +03:00
Denis Pauk
7084e8d7cd
Change code version to 'ReRelease 8.21.1'
2023-10-12 18:46:04 +03:00
Denis Pauk
19b29c648f
gl3,gl4,vk: Share R_MakeSkyVec
2023-10-12 01:07:13 +03:00
Denis Pauk
03bfc581e2
gl1,gl3,gl4,vk: Parial share of warp code
2023-10-12 00:29:47 +03:00
Denis Pauk
d47d27ca00
Remove surface check
...
Soft render has issues with q64/outpost
2023-10-11 20:39:14 +03:00
Denis Pauk
8fb649709e
Sync code style in sky warp functions
2023-10-11 20:14:07 +03:00
Denis Pauk
3e7b568ec9
Sync allocation sizes between renders
2023-10-11 00:19:52 +03:00
Denis Pauk
bd19960ddf
Fix Hunk size calculation introdused in 371fb99c
...
Used LUMP_LEAFS instead LUMP_TEXINFO.
2023-10-10 01:27:10 +03:00