Commit graph

3417 commits

Author SHA1 Message Date
Yamagi
5a21397761 Refactor refreshrate handling from int to float.
With SDL 2 the refreshrate handling was rather limited by SDL 2 only
supporting integer refreshrates, making it impossible to represent the
common 59.95hz and other non-integer refreshrates. Quake II works around
this by assuming a refreshrate of 2hz higher than returned by SDL.

SDL 3 finally supports float refreshrates. Refactor the internal API to
also use floats.

This should be a no-op since the 'refreshrate * 1.02' logic stayes in
place for the time being. This can be reevaluated at a later time for
the SDL 3 build, but needs testing.

As a nice side effect fix the `vid_displayrefreshrate` cvar. It was
broken in both SDL 2 and 3 since it was always overwritten with the
actual display refresh rate.
2024-04-07 11:01:44 +02:00
Yamagi
5d30c5913b Query the primary display with SDL_GetPrimaryDisplay().
Everything else doesn't work reliable and is depended on the display
server. X11 uses it's display IDs, Wayland some UUIDs...
2024-04-07 11:01:44 +02:00
Yamagi
bcbeb81198 Several fixes in detection of the window position.
In SDL 2 the first display was 0 and the error code -1. In SDL 3 this
changed to 1 as the first display and 0 for the error code. While at
it implement error handling and fallbacks for all cases.
2024-04-07 11:01:44 +02:00
Yamagi
8a2336a375 Fix displaying the list of supported modes at startup.
While here limit the number of decimals of the real mode to 2.
2024-04-07 11:01:44 +02:00
Yamagi
bb8c6eac44 Refactor the fullscreen modes into an enum. 2024-04-07 11:01:44 +02:00
Yamagi
3c5dccb4d0 Port remaining parts of glimp_sdl3.c to SDL 3.
These are semantic changes to several functions which Coccinelle didn't
translate properly and some now superfluous SDL version checks.
2024-04-07 11:01:44 +02:00
Yamagi
cbc46009fd Port PrintDisplayModes() to SDL 3. 2024-04-07 11:01:44 +02:00
Yamagi
55a1e38717 Port GetWindowSize() to SDL 3. 2024-04-07 11:01:44 +02:00
Yamagi
6f0da6c247 Port fullscreen handling to SDL 3.
SDL 3 has a new approach to fullscreen handling, which is way better
than the old fiddling with several window flags. In SDL 3:

* The SDL_FULLSCREEN_FLAG puts the window in fullscreen window mode.
* For exclusive fullscreen a fullscreen mode must be requested and set.
* Applying the mode to the window is asynchronous, the mode change may
  occure at any later time. The window can be synchronized to force the
  mode change.

This is - of course - totaly untested, since the client doesn't build
yet with SDL 3. There will likely be bugs and shortcomings.

And the code is still ugly, it can be refactored somewhat more.
2024-04-07 11:01:44 +02:00
Yamagi
2877f1c391 Remove workaround for SDL bug #4700 from glimp_sdl3.c.
It has been fixed since SDL 2.22, all SDL 3 versions will have the fix.
2024-04-07 11:01:44 +02:00
Yamagi
2c624d0207 Port window creation to SDL 3.
Window properties and flags are now passed in an SDL_PropertiesID object
and no longer als parameters to `SDL_CreateWindow()`.
2024-04-07 11:01:44 +02:00
Yamagi
a33285bdd4 Apply Coccinelle to glimp_sdl3.c.
This isn't eneugh to get it compiling and some changes are looking fishy
but it's a start.
2024-04-07 11:01:44 +02:00
Yamagi
aaf917e28e Port ref_soft SDL 3. 2024-04-07 11:01:44 +02:00
Yamagi
61e7ec9697 Port ref_gl3 to SDL 3.
Not many changes here. `make ref_gl3` now builds a library and it works
with the proof of concept port of the client.
2024-04-07 11:01:44 +02:00
Yamagi
9a1990ecc4 Port ref_gl1 to SDL 3.
Not many changes here. `make ref_gl1` now builds a library and it works
with the proof of concept port of the client.

SDL3 dropped support for hardware gamma, so `vid_gamma` will be ignored
until we can come up with something else. If we can, gamma without
shaders is hard to impossible :/

SDL3 TODOs will be marked with 'TODO SDL3:'.
2024-04-07 11:01:44 +02:00
Yamagi
9b0c95daaa Fork the clients SDL 2 backends into SDL 3 versions.
At this time they are just copies. The actual porting will be done in
upcoming commits.
2024-04-07 11:01:44 +02:00
Yamagi
126c2ea10b Add SDL 3 support to the Makefile.
This is hidden behind WITH_SDL3, which is disabled by default.

Additionally rename the SDL sources files in the client to represent the
SDL major version they are supporting. They will be forked for SDL 3.
That isn't optimal, because it forces us to support two variants of the
same code. However the changes between SDL 2 and 3 are too big to work
with #ifdef and something like function pointer magic is even more
confusing.
2024-04-07 11:01:44 +02:00
Denis Pauk
97ab6314ab soft: fix build and cppcheck warnings 2024-04-06 19:09:03 +03:00
Denis Pauk
fd7b43f5c6 Merge remote-tracking branch 'yquake2/master' 2024-04-06 18:42:12 +03:00
Denis Pauk
51419ffc63 maps: add little bit knowledge about SIN
Without real implementation for now
2024-04-06 18:15:15 +03:00
Yamagi
34d2ddc2a9
Merge pull request #1100 from dkoreshkov/master
Some improvements to the SW renderer
2024-04-06 16:26:13 +02:00
Trey Harrison
a7d3bb7573 renders: add SWL texture support
Author: Trey Harrison <trey@u.washington.edu>
Based on: https://web.archive.org/web/20001212060900/http://starbase.neosoft.com:80/~otaku/program.html
2024-04-06 16:17:36 +03:00
Denis Pauk
4cafc778ef game: Sync CDTRACK code with ReRelease code
Look to: https://github.com/yquake2/yquake2remaster/issues/18
2024-04-05 00:48:43 +03:00
Denis Pauk
7a0d1d737e maps: rearrange Daikatana detect code 2024-04-05 00:19:53 +03:00
Denis Pauk
5770a9ff1b maps: Convert surface flags by gametype 2024-04-04 23:51:44 +03:00
Denis Pauk
18d0310e4b game: show values for unknow fields 2024-04-04 00:30:56 +03:00
Denis Pauk
31ace1fa5a soft: reuse calcTexinfoFacesLeafsSize 2024-04-03 18:39:10 +03:00
Denis Pauk
672fa8780d renders: share calcTexinfoFacesLeafsSize 2024-04-03 00:11:11 +03:00
Denis Pauk
80a4282ec7 Merge remote-tracking branch 'yquake2/master' 2024-04-01 23:22:25 +03:00
Denis
784f35faed move ifdef into function 2024-04-01 20:49:40 +03:00
Yamagi
5a642c4205
Merge pull request #1099 from BjossiAlfreds/cvar-cl_laseralpha
Added cvar cl_laseralpha and documentation in cvarlist
2024-04-01 09:12:03 +02:00
Yamagi
aa259a5d5f
Merge pull request #1096 from devnexen/unroll_dis
VectorLength reduces complexity.
2024-04-01 09:07:59 +02:00
Yamagi
48a4e5397c
Merge pull request #1094 from 0lvin/light_code_style
Rename functions r_dlightframecount parameter to lightframecount
2024-04-01 08:58:35 +02:00
Denis Pauk
f54aea1361 renders: Add autodetect Daikatana maps bsp format 2024-04-01 01:19:57 +03:00
Denis Pauk
2c0fca8458 filesystem: add sin pack file support
Based on: https://github.com/yquake2/pakextract
2024-03-31 23:55:49 +03:00
Denis
6d1ac97a77 cleanup alias scan conversion 2024-03-31 22:45:30 +03:00
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
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
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
Denis Pauk
fe906a21d2 models: mdl separate function for image load 2024-03-14 23:36:38 +02:00
Denis Pauk
f6b49d8e2b models: make mdl count frames detect separate function 2024-03-14 23:00:42 +02:00
Denis Pauk
dd6ae35d75 models: mdl support grouped frames 2024-03-14 22:36:49 +02:00
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
Feels Duck Man
cf5b3687f2 Added an option to draw speed under the crosshair with cl_showspeed 2, fixed drawing the speedometer when the game wasn't playing. 2024-03-10 10:26:53 -05: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
Feels Duck Man
9cff22b55c Removed 'Speed' label for speedometer when being displayed 2024-03-02 13:54:43 -06: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
Feels Duck Man
cfece2f55d 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 2024-03-01 14:05:36 -06: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
apartfromtime
292bc0f632 Texture filtering option
Adds texture filtering option to the video menu.

Closes #753
2024-02-26 18:08:18 +11: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
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
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