Commit graph

4148 commits

Author SHA1 Message Date
Denis
85b7ae87ef fix bmodel clipping 2024-03-31 22:40:29 +03:00
Denis
d5c26f28d6 free for real 2024-03-31 22:39:50 +03:00
Denis Pauk
8cf9848291 filesystem: support daikatana pak files
Release leafs have 32 != 28 bytes record size, and unsupported
for now.
2024-03-31 19:13:31 +03:00
Denis Pauk
6b6da54054 filesystem: rearange pak load code 2024-03-31 16:43:31 +03:00
Denis Pauk
57e68967cb fix %zu windows build warnings 2024-03-31 16:14:44 +03:00
BjossiAlfreds
c134d0127d Added cvar cl_laseralpha and documentation in cvarlist 2024-03-31 10:45:31 +00:00
Denis Pauk
98ebc126c2 filesystem: check pak header record size 2024-03-30 23:30:27 +02:00
Denis Pauk
d1e23ae740 maps: initial flags surface flags convert
Convert map flags before load for load maps files from games with
different flags meaning.
2024-03-30 19:12:06 +02:00
Denis Pauk
c343f87928 maps: remove currently unused fields 2024-03-30 18:29:36 +02:00
Denis Pauk
d58e1493e3 maps: prevalidate lumps on load 2024-03-28 00:30:48 +02:00
Denis Pauk
d87b1b512d game: fix configstring convert before connection creation 2024-03-27 23:51:06 +02:00
Denis Pauk
eb566c3b70 files/light: rearrange light code 2024-03-25 23:05:58 +02:00
David Carlier
3e64b2c1f9 VectorLength reduces complexity. 2024-03-25 06:29:23 +00:00
Denis Pauk
f3ae3beacd Version bump to 8.31RR6
BraXi (2):
      renders: fix BSPX lightmaps
      Rename functions r_dlightframecount parameter to lightframecount

David Carlier (1):
      models_md5 few memory related fixes

Denis Pauk (58):
      client: add custom protocol with short model index
      client: bump protocol and game version / unstable compatibility
      render: sync count of images with protocol max image count
      models: md5 do not copy token before use
      models: md5 partial COM_Parse in ReadMD5Anim
      models: md5 partial COM_Parse usage in ReadMD5Model
      models: ReadMD5Anim use strtol for parse
      models: ReadMD5Model get rid of sscanf usage
      models: ReadMD5Model more strict validation
      models: ReadMD5Anim get rid sscanf usage
      models: md5 call R_CompressNormalMDL only once for vertex
      soft: reuse R_LerpVerts code
      soft: move R_LerpVerts upper by call stack
      refresh/files: cppcheck warning clean up
      gl3/gl4: fix count lightmap in mgu5m2
      gl1: cppcheck fixes
      models: md3/md5 show count of verts and tris
      models: show number commands in model
      models: md3 compress commands
      models: remove static buffers for commands compress
      models: prepare command compress to share logic
      models: md5 rearrange glcommands generation
      models: save triangles ofs/num in each mesh
      soft: fix multi mesh models render
      client: fix pickup message in demo
      models: md5 tris compress before compress gl commands.
      models: apply md3 compress tris logic
      models: revert slow vect compress logic
      models: md3/md5 share command generation code
      models: mdl compress triangles
      models: mdl support grouped frames
      models: make mdl count frames detect separate function
      models: mdl separate function for image load
      models: mdl fix texture coordinates
      models: dkm Daikatana, md2 Anachronox generate normals
      models: dkm split model to meshes
      models: add mdx / Kingpin models support
      renders: load mdx/Kingpin models support
      models: MDX mesh split by subobj value
      soft: fix cppcheck warnings, remove unused isflattop
      soft: fix cppcheck warning and remove unused fullscreen property
      cin: support tga/jpg/png static image
      models: fix md5 replacement load without md2 model
      filesystem: add support of Anachronox DAT archive format
      filesystem: Anachronox fix load sky
      filesystem: support longer path in archives (up to 128)
      client: add xatrix demo protocol check
      Add windows 32bit build releases
      small build clean up
      Add readme note about SiN maps
      protocol: share configstring convert logic
      server: convert config string to protocol range
      server: support of load original game library
      server: QII97 protocol version check unification
      server: extend count of sound indexes
      server: extend gun frame and index to short
      soft: fix original Quake 2 map lights regression
      renders: split R_BuildLightMap to two function

Feels Duck Man (4):
      Added a speedometer that displays the player's speed in QU/s.  Wasn't quite sure how to implement it without adding GetPlayerSpeed() to pmove.c.  Unsure if there is a cleaner way to do this while keeping it inside cl_screen.c
      Removed 'Speed' label for speedometer when being displayed
      Added an option to draw speed under the crosshair with cl_showspeed 2, fixed drawing the speedometer when the game wasn't playing.
      Added documentation for 'cl_showspeed' in 040_cvarlist.md

Guilherme Nemeth (1):
      berserker: slam attack, running club attack

Sajt (1):
      models: add gl command compress code from qwalk

apartfromtime (3):
      Texture filtering option
      Texture filtering options for OpenGL and Software video modes
      Fix software dithering
2024-03-24 19:01:49 +02:00
Denis Pauk
611259e0a1 renders: split R_BuildLightMap to two function 2024-03-24 18:28:24 +02:00
Denis Pauk
d02cfe40ac soft: fix original Quake 2 map lights regression
Fixes regression from 84f5fd2c97
2024-03-24 15:53:15 +02:00
Denis Pauk
c57fd107d6 server: extend gun frame and index to short 2024-03-24 14:39:17 +02:00
Denis Pauk
cc2f531faa server: extend count of sound indexes 2024-03-24 14:18:26 +02:00
Denis Pauk
6aa0b2a92b server: QII97 protocol version check unification 2024-03-24 13:22:42 +02:00
Denis Pauk
f7dc2777c5 server: support of load original game library 2024-03-24 12:32:30 +02:00
Denis Pauk
32047010a2 server: convert config string to protocol range 2024-03-24 01:19:16 +02:00
BraXi
99f80e12cd Rename functions r_dlightframecount parameter to lightframecount
Renders has global variable with such name that used as parameters
for R_MarkLights shared function.

Fixes:
 * https://github.com/yquake2/yquake2remaster/issues/17
 * https://github.com/yquake2/yquake2/issues/1093
2024-03-23 23:28:48 +02:00
BraXi
764c977106 Rename functions r_dlightframecount parameter to lightframecount
Renders has global variable with such name that used as parameters
for R_MarkLights shared function.

Fixes:
 * https://github.com/yquake2/yquake2remaster/issues/17
 * https://github.com/yquake2/yquake2/issues/1093
2024-03-23 23:11:13 +02:00
Denis Pauk
f5bbf533bc protocol: share configstring convert logic 2024-03-23 18:47:17 +02:00
Denis Pauk
b6df49dbb7 Add readme note about SiN maps 2024-03-23 16:11:45 +02:00
BraXi
84f5fd2c97 renders: fix BSPX lightmaps
Look to:
 * #16 R_RecursiveLightPoint returning total black color when
   DECOUPLED_LM lump is present
 * d740355147
2024-03-23 11:21:49 +02:00
Denis Pauk
51407d7139 small build clean up 2024-03-21 23:28:43 +02:00
Denis Pauk
80edb06b79 Add windows 32bit build releases
32bits build has disabled ffmpeg videos support
2024-03-21 22:59:53 +02:00
Denis Pauk
ee5d131b9c client: add xatrix demo protocol check 2024-03-21 00:49:56 +02:00
Denis Pauk
3e7e3bad39 filesystem: support longer path in archives (up to 128) 2024-03-20 23:20:08 +02:00
Denis Pauk
f389359074 filesystem: Anachronox fix load sky 2024-03-20 00:49:11 +02:00
Denis Pauk
04807e2ece filesystem: add support of Anachronox DAT archive format 2024-03-19 23:42:22 +02:00
Denis Pauk
c385789a87 Merge remote-tracking branch 'yquake2/master' 2024-03-19 22:12:01 +02:00
Yamagi
9569f41c3c
Merge pull request #1091 from apartfromtime/Texture-filter-menu-option
Texture filtering options for OpenGL and Software video modes
2024-03-19 19:24:41 +01:00
Yamagi
6c21caa55d
Merge pull request #1088 from ConHuevosGuey/master
Added a player speed display that prints the players speed and ground speed at the top right corner. The function can be toggled on using cl_showspeed 1.
2024-03-19 19:17:12 +01:00
Feels Duck Man
086084b507 Added documentation for 'cl_showspeed' in 040_cvarlist.md 2024-03-18 21:21:59 -05:00
apartfromtime
26194c76cf Fix software dithering
Rounding view angles to degrees fixes undefined software texture filter behaviour.
2024-03-18 12:19:35 +11:00
apartfromtime
72de1d45f8 Texture filtering options for OpenGL and Software video modes
Add renderer specific menu options.
2024-03-18 11:11:47 +11:00
Denis Pauk
05f78dd7d3 models: fix md5 replacement load without md2 model 2024-03-18 00:12:26 +02:00
Denis Pauk
3906f6d146 cin: support tga/jpg/png static image 2024-03-17 23:21:49 +02:00
Denis Pauk
6590097752 soft: fix cppcheck warning and remove unused fullscreen property 2024-03-17 15:47:39 +02:00
Denis Pauk
2b9c4e88fe soft: fix cppcheck warnings, remove unused isflattop 2024-03-17 15:47:23 +02:00
Denis Pauk
344f132044 models: MDX mesh split by subobj value 2024-03-17 15:46:26 +02:00
Denis Pauk
bb3ac6ef9c renders: load mdx/Kingpin models support 2024-03-17 15:45:31 +02:00
Denis Pauk
b30dd7dd2d models: add mdx / Kingpin models support
Without meshes support.

Based on documentation from https://kingpin.info/?p=mdx
Author: tical@kingpin.com
2024-03-17 15:45:31 +02:00
Denis Pauk
ffeabf4007 models: dkm split model to meshes 2024-03-17 15:45:31 +02:00
Denis Pauk
93bbc60bd8 models: dkm Daikatana, md2 Anachronox generate normals 2024-03-17 15:45:31 +02:00
Denis Pauk
b6dc5ac8ad models: mdl fix texture coordinates 2024-03-17 15:45:31 +02:00
Denis Pauk
25d60b826e Merge remote-tracking branch 'yquake2/master' 2024-03-16 12:48:35 +02:00
Yamagi
823998d87f
Merge pull request #1085 from apartfromtime/Texture-filter-menu-option
Texture filtering option
2024-03-16 11:37:43 +01:00