Commit graph

4112 commits

Author SHA1 Message Date
Yamagi
5933b64f77 Sort the mod list case insensitive. 2024-02-03 16:00:30 +01:00
apartfromtime
8beb3d8a2e Case insensitive sort for player skins
Case insensitive compare in quicksort compare function for player names.

Closes #1082
2024-02-02 21:33:14 +11:00
Denis Pauk
09b53be665 Version bump 8.31RR4.
* Added md5 model support,
* Fixes for other model formats,
* Extend compresed vertex to short,
* yquake2 fixes.
2024-02-02 01:19:04 +02:00
Denis Pauk
a324ef51c9 menu: fix players model menu 2024-02-02 00:54:40 +02:00
Denis Pauk
ded6b9c858 models: reuse md2 skins in md5 models 2024-01-30 01:16:49 +02:00
Denis Pauk
ca0e150232 models: move md5 merge code to separate function 2024-01-28 22:48:28 +02:00
Denis Pauk
f57ef011b5 models: merge md5 mesh and anim on load
Merge content with use zero as separator
of content sections.

Fixes: https://github.com/yquake2/yquake2remaster/issues/4
2024-01-28 13:59:57 +02:00
Denis Pauk
8d0261c6a0 models: add md5 support
Has:
 * no hacks for replace md2 with md5 automatically(TODO),
 * no logic for merge anim and mesh content as required by loader(TODO),
 * automaticlly converted md5 to md2 like internal format.

Part of https://github.com/yquake2/yquake2remaster/issues/4

Based on:
 * http://tfc.duke.free.fr/coding/md5-specs-en.html
 * https://github.com/Shpoike/Quakespasm/blob/qsrebase/Quake/gl_model.c (Normals code)

Also looked to:
 * https://github.com/Novum/vkQuake/blob/master/Quake/gl_model.c#L4181
 * https://github.com/fte-team/fteqw/blob/master/engine/common/com_mesh.c
 * 1b42134e11
2024-01-28 12:28:17 +02:00
Denis Pauk
ab198a962e filesystem: remove unused Com_FilePath 2024-01-22 00:14:14 +02:00
Sajt
6479b41be7 models: Add normals convert code
Based on https://icculus.org/projects/qshed/
2024-01-22 00:13:17 +02:00
Denis Pauk
b375239b61 models: fix mdl texture coordinates 2024-01-21 00:21:54 +02:00
Denis Pauk
d5020ecd82 models: make MAX_LBM_HEIGHT check optional 2024-01-20 23:53:46 +02:00
atsb
744e33cdf2 Fixing an incorrect cvar 2024-01-20 14:13:55 +02:00
Denis Pauk
e2b2efaa59 models: in mesh could be more than 16k glcmds 2024-01-17 01:11:39 +02:00
Denis Pauk
014dd11b2e clean up function definitions 2024-01-07 19:22:09 +02:00
Denis Pauk
9b3b4b44df Merge remote-tracking branch 'yquake2/master' 2024-01-07 14:51:26 +02:00
Yamagi
ceee1c1d32
Merge pull request #1081 from protocultor/overbrightbits_revenge
Fixed gl1_overbrightbits limiter (for real now)
2024-01-07 11:39:11 +01:00
Jaime Moreira
adf638d1f4 Controller buttons read more succinctly 2024-01-06 13:35:48 -03:00
Jaime Moreira
fb46007bc3 Fixed gl1_overbrightbits limiter, for real now
Allowed values are 0, 1, 2 and 4 only.
Updated documentation, again.
2024-01-06 13:32:48 -03:00
Jaime Moreira
9f9c212648 OpenGL 1 errors are visible now
Needs DEBUG=1 to enable
2024-01-06 13:29:13 -03:00
Denis Pauk
7372623056 cleanup function definitions 2024-01-01 17:36:53 +02:00
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