Commit graph

4034 commits

Author SHA1 Message Date
Denis Pauk
416e4b1269 models: add mdl hack for subframes
Fixes wizard spark spawn errors.
2024-02-13 23:33:11 +02:00
Denis Pauk
0d48f5e0ec models: fix embeded image load 2024-02-13 23:12:38 +02:00
Denis Pauk
b21391954d game: fix shambler effect 2024-02-11 23:51:33 +02:00
Denis Pauk
47bacf9a52 game: Add support some of quake 1 monsters
Shambler is left without chenges and fixes for now.
2024-02-11 19:10:57 +02:00
decino
5b62a2f416 game: add Quake monsters logic
Based on: https://github.com/decino/q2-infighter
2024-02-11 15:33:26 +02:00
Denis Pauk
1343dbcc97 ctf: fix STAT_* values to start from unused slot 2024-02-10 19:18:26 +02:00
Denis Pauk
85704fa134 sv_send: return new size of buffer before use 2024-02-10 15:38:42 +02:00
Denis Pauk
322c3ee9e8 sv_send: realloc send buffer 2024-02-10 15:23:38 +02:00
Denis Pauk
bc260a97e2 Update documentation
cmake build as outdated/confusing and will be restored after
finish all tasks.
2024-02-10 14:29:14 +02:00
Denis Pauk
079267996d models: Fix Anachronox resolution == 1
DKM2 has different sequence of packed verts so exchange to correct
sequence
2024-02-08 01:03:49 +02:00
Denis Pauk
af6d0b26bd models: Add Anachronox format support
Based on https://github.com/hogsy/chronon code.

Does not support normals and could have issues with scale.
2024-02-08 00:54:01 +02:00
Denis Pauk
b3a84afcfa models,renders: remove MAX_VERTS limit 2024-02-06 21:57:27 +02:00
Denis Pauk
3039fe723d common code: clean up code by cppcheck recomendations 2024-02-05 23:22:47 +02:00
Denis Pauk
10cc304778 models: fix cppcheck warnings 2024-02-05 01:29:56 +02:00
Denis Pauk
5ea0a76f76 maps: improve texture coordinates
Discussed in https://github.com/yquake2/yquake2/issues/886
2024-02-05 00:24:33 +02:00
Denis Pauk
e095dc1672 models: add initial md3 model format support 2024-02-04 19:38:11 +02:00
Denis Pauk
f0dac24bac players: ignore skins images with slash in name
It could happen when player directory is inside pak file and has model
overwrite.
2024-02-04 01:03:35 +02:00
David Carlier
c6d57d836c client menu minor changes/correctness proposal. 2024-02-04 00:27:06 +02:00
Denis Pauk
ed5046bcf5 models: prepare PrepareFrameVertex 2024-02-03 23:35:51 +02:00
Denis Pauk
8cc3d90789 Merge remote-tracking branch 'yquake2/master' 2024-02-03 23:25:46 +02:00
Yamagi
e72ef48ae7 Add gl4 to the video menu renderer list.
GL4 is community maintained variant of GL3 using somewhat more up to
date OpenGL APIs. Requsted in #1045.
2024-02-03 16:18:06 +01:00
Yamagi
cc176da74e
Merge pull request #1083 from apartfromtime/Case-insensitive-sort-on-player-skin-names
Case insensitive sort for player skins
2024-02-03 16:03:32 +01:00
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