Commit graph

3891 commits

Author SHA1 Message Date
Denis Pauk
13466185e6 models: update models min/max on load 2024-01-01 15:39:05 +02:00
Denis Pauk
6701ad8cc5 collision: add additional checks 2023-12-30 16:31:47 +02:00
Denis Pauk
59d6766e90 fix typo in 68e76c9c 2023-12-30 02:24:35 +02:00
Denis Pauk
68e76c9cfe models: set alias min/max in single place 2023-12-30 02:07:35 +02:00
Denis Pauk
4a6632dac6 models: Show list of model images in developer mode 2023-12-29 19:48:17 +02:00
Denis Pauk
057087b7dc renders: share R_CullAliasMeshModel 2023-12-29 17:23:47 +02:00
Denis Pauk
f9a2fee5b3 render: extend vertex to short 2023-12-28 19:59:47 +02:00
Denis Pauk
f89ea15d14 renders: Support embeded image use 2023-12-28 09:31:04 +02:00
Denis Pauk
abce26bdff models: share image load on model read 2023-12-28 09:03:04 +02:00
Denis Pauk
b2d58ee171 models: save embeded image 2023-12-28 08:46:45 +02:00
Denis Pauk
4d56576871 gl3,gl4: check worldmodel before dlight push
Fix crash if open multiplayer before load map.
2023-12-28 08:20:07 +02:00
Denis Pauk
083ea68a80 refresh: split models file to maps.c 2023-12-27 23:15:35 +02:00
Denis Pauk
22d36d6bfe Revert "client: Update stb_image_resize"
This reverts commit a08a8d35e1.

Fix visual glitches on texture edges in soft render.
2023-12-27 18:21:36 +02:00
Denis Pauk
985fa68b97 cinema: smaker video support if fully covered by avcodec 2023-12-27 17:50:25 +02:00
Denis Pauk
3e7bd79c5b models: model always has one mesh at least 2023-12-27 01:37:17 +02:00
Denis Pauk
531dc2f872 models: Use flex mesh type insteaad list of short 2023-12-27 00:54:30 +02:00
Denis Pauk
be95a149dc models: Use internal dmdx_t format 2023-12-27 00:13:06 +02:00
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
45767961b0 win64: Add github action creaton of win64 binary 2023-12-24 23:58:54 +02:00
Denis Pauk
1c75ef7c07 readme: update code status 2023-12-21 19:47:43 +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
Yamagi
be84f7fb89 Set the ambush spawnflag on monster_boss2 in biggun.
I encountered a bug where the monster_boss2 aka hornet in biggun.bsp
somehow slipped into the void while pushed out of it's compartment.
I'm unable to reproduce it, but analysis showed that the hornet isn't
spawned in ambush mode. As soon as the player fires a gun it starts
moving. Maybe that is enough to slip out of the compartment.

Additionally the hornet is a targeted monster. Monsters triggered by
level logic must be set to ambush, otherwise sound and level logic
triggering mess each other up.

Closes #1078.
2023-12-16 18:41:47 +01:00
Yamagi
5da0e5f00c
Merge pull request #1075 from apartfromtime/master
Rename min\max to avoid conflict with c-plus plus
2023-12-16 16:33:07 +01: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