Commit graph

4048 commits

Author SHA1 Message Date
Denis Pauk
4870c1cc62 game: cleanup exports and rename TH_viewthing -> viewthing_think 2024-02-25 14:19:33 +02:00
Denis Pauk
2323e12872 game: remove spawn functions from game functions 2024-02-25 13:17:17 +02:00
Denis Pauk
f95ca59717 game: savegame sort fields 2024-02-25 12:42:14 +02:00
Denis Pauk
d88732f8da game: cleanup savegame exports 2024-02-25 12:36:53 +02:00
Denis Pauk
863dc290a8 game: cleanup savegame function g_* 2024-02-25 00:54:26 +02:00
Denis Pauk
4196fd356c game: remove unused functions 2024-02-25 00:21:48 +02:00
Denis Pauk
1c0a4590d3 game: cleanup savegame exports 2024-02-24 23:56:15 +02:00
Denis Pauk
d48604ff8a game: update gamemmove list 2024-02-24 23:42:35 +02:00
Denis Pauk
98de9d412a game: gamefunc list sort 2024-02-24 23:21:12 +02:00
Denis Pauk
b9bafd0579 game: gamemmove list sort 2024-02-24 23:01:03 +02:00
Denis Pauk
1ad15c2e88 docs: add link to releases 2024-02-24 17:35:37 +02:00
Denis Pauk
7b29dce03f game: enforcer frame names usage and save fix 2024-02-24 17:34:02 +02:00
Denis Pauk
a3d450ff64 client: Add gametype variable
`gametype` variable could be used for show menu for different
embeded mod type. Remaster has all ctf/rogue/xatrix maps in baseq2
directory and menu could not detected by game variable anymore.
2024-02-23 00:33:24 +02:00
Denis Pauk
d907b8bb57 game: add defines for frames
Add frame names for infighter/quake 1 monsters,
without code use for now.
2024-02-14 00:29:05 +02:00
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