Commit graph

3991 commits

Author SHA1 Message Date
Denis Pauk
a9d282e406 models: mdl compress triangles 2024-03-14 22:27:33 +02:00
Denis Pauk
f04ce4c6ce models: md3/md5 share command generation code 2024-03-14 00:18:35 +02:00
Denis Pauk
448d289457 models: revert slow vect compress logic 2024-03-13 22:51:57 +02:00
Denis Pauk
5675a7c28d models: apply md3 compress tris logic 2024-03-13 22:32:35 +02:00
Denis Pauk
0b5babdc53 models: md5 tris compress before compress gl commands.
Use ST/Vect lookup of same values.
2024-03-13 00:46:47 +02:00
Denis Pauk
b0a0d2e847 client: fix pickup message in demo 2024-03-12 00:48:51 +02:00
Denis Pauk
8853af5bbf soft: fix multi mesh models render 2024-03-11 23:16:26 +02:00
Denis Pauk
3df48ef64e models: save triangles ofs/num in each mesh
soft has some issues with md3 model example texture render
2024-03-11 00:30:57 +02:00
Denis Pauk
006d8cbc32 models: md5 rearrange glcommands generation
Compress commands does not improve size of commands for now
and is disabled for now.
2024-03-10 16:11:03 +02:00
Denis Pauk
7bce5d75fb models: prepare command compress to share logic 2024-03-10 13:57:32 +02:00
Denis Pauk
28bb559e52 models: remove static buffers for commands compress 2024-03-10 13:34:59 +02:00
Denis Pauk
9952521af3 models: md3 compress commands 2024-03-10 12:38:25 +02:00
Denis Pauk
b3eb00673b models: show number commands in model 2024-03-10 00:33:33 +02:00
Sajt
cfda9919e3 models: add gl command compress code from qwalk
Disabled for now.

Based on: https://icculus.org/projects/qshed/qwalk/
2024-03-10 00:04:34 +02:00
Denis Pauk
25dc9cf064 models: md3/md5 show count of verts and tris 2024-03-09 15:41:11 +02:00
Guilherme Nemeth
d137fe863c berserker: slam attack, running club attack
Based on: 31bc4e52e3
2024-03-09 14:30:39 +02:00
Denis Pauk
03c39f34ae gl1: cppcheck fixes 2024-03-09 01:09:54 +02:00
Denis Pauk
aea0a9085f gl3/gl4: fix count lightmap in mgu5m2 2024-03-08 00:37:16 +02:00
Denis Pauk
3b579eb0d6 refresh/files: cppcheck warning clean up 2024-03-08 00:24:58 +02:00
Denis Pauk
f888840ec8 soft: move R_LerpVerts upper by call stack 2024-03-07 23:32:20 +02:00
Denis Pauk
89a8a04334 soft: reuse R_LerpVerts code 2024-03-07 18:51:14 +02:00
Denis Pauk
3f20ef1bb0 models: md5 call R_CompressNormalMDL only once for vertex 2024-03-05 00:25:54 +02:00
Denis Pauk
b8bd567eb8 models: ReadMD5Anim get rid sscanf usage 2024-03-04 00:38:46 +02:00
Denis Pauk
fac9a5ce5c models: ReadMD5Model more strict validation 2024-03-03 23:40:54 +02:00
Denis Pauk
994cf72a76 models: ReadMD5Model get rid of sscanf usage 2024-03-03 19:13:58 +02:00
Denis Pauk
b0f2538951 models: ReadMD5Anim use strtol for parse 2024-03-03 18:58:32 +02:00
Denis Pauk
55576952d7 models: md5 partial COM_Parse usage in ReadMD5Model 2024-03-02 17:48:10 +02:00
Denis Pauk
a131fa0938 models: md5 partial COM_Parse in ReadMD5Anim 2024-03-02 16:57:50 +02:00
Denis Pauk
e821f8452d models: md5 do not copy token before use 2024-03-02 16:50:38 +02:00
David Carlier
b7fa65c576 models_md5 few memory related fixes 2024-03-02 16:42:12 +02:00
Denis Pauk
59e118ed26 render: sync count of images with protocol max image count 2024-02-29 23:42:17 +02:00
Denis Pauk
6973181a21 client: bump protocol and game version / unstable compatibility
Config string numbers is different to original Quake 2 code,
code is not compatible with any version of official protocols or
game code. And game code should be recompiled for use with engine.
2024-02-29 00:05:21 +02:00
Denis Pauk
28668972ff client: add custom protocol with short model index 2024-02-27 00:37:26 +02:00
Denis Pauk
a77e52ad97 Version bump 8.31RR5 2024-02-25 23:46:19 +02:00
Denis Pauk
d76584a457 client: update mpeg video decoder
ce50e1da59

Fixes video streams issues. Look to: https://github.com/phoboslab/pl_mpeg/issues/25
2024-02-25 23:12:16 +02:00
Denis Pauk
f9f54c7efe cin: revert heretic 2 mpeg hack
Partial reverts: bd5685d201
2024-02-25 23:07:23 +02:00
Denis Pauk
5c89bbf645 game: cleanup zombie code 2024-02-25 19:12:05 +02:00
Denis Pauk
ef1a1c21e6 game: cleanup shambler game func export 2024-02-25 18:19:07 +02:00
Denis Pauk
4e92b008c0 game: do not export non edict_t function as gamefunc 2024-02-25 17:41:46 +02:00
Denis Pauk
54a8380972 game: do not export G_Set* as gamefunc 2024-02-25 17:19:27 +02:00
Denis Pauk
93c580f733 game: cleanup player export 2024-02-25 16:59:36 +02:00
Denis Pauk
55313fa513 game: restore rogue RDM_DEATHBALL code 2024-02-25 15:39:37 +02:00
Denis Pauk
0326d45cf8 game: rerelease port carrier CreateFlyMonster use 2024-02-25 15:18:49 +02:00
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