Commit graph

4680 commits

Author SHA1 Message Date
Denis Pauk
4e46f83b32 8.42RR12: Version bump 2025-02-12 23:00:28 +02:00
Denis Pauk
5ca731d1f1 SiN: dynamic allocation of sub models list in .def 2025-02-11 23:29:32 +02:00
Denis Pauk
3ba7edd995 Anachronox: update MDA load code
Support select skin by tag.

Based on:
 * https://anachrodox.talonbrave.info/models/shaders.html
2025-02-10 01:02:56 +02:00
Denis Pauk
a33d6b091d Anachronox: cleanup ATD load code 2025-02-10 00:35:48 +02:00
Denis Pauk
3f74954db6 Merge remote-tracking branch 'yquake2/master' 2025-02-10 00:34:31 +02:00
Denis Pauk
3d3e7e9c98 soft: fix build with SDL3 2025-02-10 00:28:07 +02:00
Yamagi
404450d186 Add a CI build for Linux/aarch64.
It's called aarch64 instead of arm64 because that is what we are using
as internal architecture descriptor in savegames, etc.
2025-02-09 11:15:24 +01:00
Yamagi
b607eb4d42 Rename linux.yml to linux_amd64.yml in favor to upcoming aarch64 build. 2025-02-09 11:14:47 +01:00
Yamagi
ec18568bd7 Make clear that the Win64 build is SDL3 instead of SDL2. 2025-02-09 11:07:11 +01:00
Yamagi
4b18825805
Merge pull request #1184 from 0lvin/partial_fix_stb
sdl3: Fix memory leak in IN_Controller_Init
2025-02-09 11:06:08 +01:00
Yamagi
aa43b2df8c Update CI to use 4 CPUs on Linux and Windows. 2025-02-09 10:58:58 +01:00
Denis Pauk
971b2d1360 sdl3: Fix memory leak in IN_Controller_Init
Detected by ASAN=1
Build Win64-SDL3 as part of github actions
2025-02-09 00:58:00 +02:00
Yamagi
4fe0d0be6b
Merge pull request #1183 from protocultor/sdl3_buttons
Consistent binding between multiple gamepad types + labels by style
2025-02-08 16:55:59 +01:00
Yamagi
39c81b8afc
Merge pull request #1181 from 0lvin/partial_fix_stb
update stb_* codes to latest master
2025-02-08 16:48:24 +01:00
Denis Pauk
ae21db84d8 images: support initial ATD sprites
Based on:
  https://anachrodox.talonbrave.info/veffects/procedural/proc_animate.html
2025-02-07 00:47:34 +02:00
Denis Pauk
720223bcb0 Add MacOS DMG build
Based on #542
2025-02-04 00:36:51 +02:00
Denis Pauk
c780c866e9 Update binary builds 2025-02-04 00:31:38 +02:00
Denis Pauk
b55452f20c Update stb from NBickford-NV/stb fork
wget https://raw.githubusercontent.com/NBickford-NV/stb/ce191b546e4efd91b9e35ab9de0a320eb02ddc1b/stb_image.h -O src/client/refresh/files/stb_image.h
wget https://raw.githubusercontent.com/NBickford-NV/stb/ce191b546e4efd91b9e35ab9de0a320eb02ddc1b/stb_image_write.h -O src/client/vid/header/stb_image_write.h
wget https://raw.githubusercontent.com/NBickford-NV/stb/ce191b546e4efd91b9e35ab9de0a320eb02ddc1b/stb_vorbis.c -O src/client/sound/header/stb_vorbis.h
2025-02-03 23:26:14 +02:00
Denis Pauk
074c938c56 update stb_* codes to latest master (5c205738c191bcb0abc65c4febfa9bd25ff35234)
wget https://raw.githubusercontent.com/nothings/stb/master/stb_image.h -O src/client/refresh/files/stb_image.h
wget https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h -O src/client/vid/header/stb_image_write.h
2025-02-03 23:19:01 +02:00
Jaime Moreira
a7551dae26 Refactor for joy_confirm operation
Removed consecutive comparisons in Key_GetMenuKey()
2025-02-03 14:29:56 -03:00
Jaime Moreira
29d95e3388 Fixed gyro_mode irregular behavior
"Always on" now works properly.
New default values for gyro sensitivity.
2025-02-03 10:07:00 -03:00
Jaime Moreira
c27ce2a7bf Gamepad's left stick allowed to navigate menus
Uses logic from the triggers handling.
2025-02-02 17:44:39 -03:00
Jaime Moreira
9e07dc2485 Cvar to set gamepad's confirm & cancel buttons
Autodetect again needs SDL 2.0.12.
Status bar has correct button prompts in gamepad binding menus.
2025-02-02 16:58:22 -03:00
Jaime Moreira
1d6d17beb3 Button labels by type of Gamepad
Visible only in "customize button" menus.
Cvar set to 'autodetect' by default, which requires SDL 2.0.12
2025-02-02 15:49:37 -03:00
Jaime Moreira
f995839e4b Don't use keynames for gamepad button names
Faster to look for them in their own array.
Fixed GLES1 warning on compilation with SDL3.
2025-02-02 12:41:17 -03:00
Jaime Moreira
b23bfb6ee2 Gamepad buttons are now SDL3 style
Uses button position instead of label.
SDL2 has to be forced to do this by disabling a hint.
Deleted redundant JOY_BACK definition, it's just the Escape key.
Renamed 'in_sdlbackbutton' to 'joy_escbutton'.
2025-02-02 11:38:43 -03:00
Denis Pauk
f7934b1936 update stb_* codes to latest master (5c205738c191bcb0abc65c4febfa9bd25ff35234)
wget https://raw.githubusercontent.com/nothings/stb/master/stb_image.h -O src/client/refresh/files/stb_image.h
2025-02-02 13:09:47 +02:00
Denis Pauk
43eeb49fad Merge remote-tracking branch 'yquake2/master' 2025-02-02 13:02:55 +02:00
Yamagi
b8a6f2b760 Remove superfluous hints regarding rumble on Playstation gamepads.
SDL3 replaced the Playstation specific hint to the more generic
SDL_HINT_JOYSTICK_ENHANCED_REPORTS hint which is enabled by default.

Pointed out by @erysdren and @protocultor in #1178.

Based on PR #1178 by @erysdren.

Closes #1178.
2025-02-02 10:25:33 +01:00
Denis Pauk
42b578b2bb pmove: code style cleanup 2025-01-12 23:42:26 +02:00
Denis Pauk
5030d9d046 pmove: code cleanup 2025-01-08 23:23:51 +02:00
Denis Pauk
5440d6b94a pmove: PM_Friction cleanup 2025-01-05 23:41:14 +02:00
Denis Pauk
e71fce25a4 protocol: extend MAX_MSGLEN to 32k
ReRelease uses 19104 as first package size in demo
2025-01-04 22:56:57 +02:00
Denis Pauk
9e3de04388 protocol: partial support of 29.3 player coordinates
Changed only protocol without internal variables changes
2025-01-01 22:46:28 +02:00
Denis Pauk
33fd4579fb client: code style cleanup 2025-01-01 22:34:21 +02:00
Denis Pauk
89719b4a27 game: code style cleanup 2025-01-01 14:36:38 +02:00
Denis Pauk
1fdb0f81e6 renders: check min/max on nodes load 2024-12-31 15:22:43 +02:00
Denis Pauk
50a0609af8 protocol: use MSG_WritePos with protocol version 2024-12-31 13:14:28 +02:00
Denis Pauk
d6da3a5362 protocol: extend entity_xstate_t.origin to floats 2024-12-31 01:23:37 +02:00
Denis Pauk
13bd293c17 client: cleanup statusbar line 2024-12-28 18:35:21 +02:00
Denis Pauk
fd4a7abc58 game: sync target_camera with ReRelease
Based on: https://github.com/Paril/quake2-rerelease-dll.git
2024-12-27 17:26:46 +02:00
Denis Pauk
05b2b3928a readme: update videos 2024-12-26 17:25:25 +02:00
Denis Pauk
4e22fc255d game: add misc_player_mannequin from ReRelease code
Based on: https://github.com/Paril/quake2-rerelease-dll.git
2024-12-26 00:37:21 +02:00
Denis Pauk
c6338f0c36 game: add ai_model_scale from ReRelease code
Based on: https://github.com/Paril/quake2-rerelease-dll.git
2024-12-25 16:42:23 +02:00
Denis Pauk
9029beb87d game: Add npc_timeminder from Anachronox 2024-12-25 12:13:34 +02:00
Denis Pauk
ded38bbf44 game: sync target_autosave with ReRelease code
Based on: https://github.com/Paril/quake2-rerelease-dll.git
2024-12-25 11:30:36 +02:00
Denis Pauk
f7b9c8c518 game: sync target_sky with ReRelease code
Based on: https://github.com/Paril/quake2-rerelease-dll.git
2024-12-25 11:24:41 +02:00
Denis Pauk
dbcd1d0d6d game: allocate translation and dynamic entities by malloc
gi.TagMalloc can't be used as free up all tags on save load
2024-12-25 00:35:36 +02:00
Denis Pauk
b6f69da662 renders: use bigger light blocks
Fixes: n64jam_palmlix
2024-12-23 16:36:07 +02:00
Denis Pauk
a4511bd7f0 Merge remote-tracking branch 'yquake2/master' 2024-12-23 00:25:43 +02:00