Commit graph

3754 commits

Author SHA1 Message Date
Denis Pauk
e01e5273f8 {gl1,gl3,soft}_model.c fix const parameters 2022-10-17 22:43:39 +03:00
Denis Pauk
ae13c7e034 Share MD2/SP2 files 2022-10-17 22:43:39 +03:00
Yamagi
caab3864c6
Merge pull request #921 from BjossiAlfreds/ogg
Fixed ignoretrack0 and ogg menu option bugs
2022-10-16 18:57:35 +02:00
Yamagi
0b41a83410
Merge pull request #919 from protocultor/playerskins
Fix for crash with long player skin name
2022-10-16 18:57:16 +02:00
Jaime Moreira
f0d985dfb9 Deleted unneeded string terminators
Redundant after the usage of Q_strlcpy
2022-10-15 10:41:38 -03:00
Jaime Moreira
cc45e20bac Replaced strncpy with Q_strlcpy 2022-10-12 14:53:33 -03:00
BjossiAlfreds
e1efbecc82 Fixed ignoretrack0 and ogg menu option bugs 2022-10-12 13:42:48 +00:00
Jaime Moreira
7ca0ba4c11 Allows controller to select skin in menu 2022-10-11 17:13:26 -03:00
Jaime Moreira
b96734b9ee Skin names can have a length of 32 total
Fixes crash when entering "multiplayer" -> "player setup" menu with a skin name len > 16
Fixes "playermodels" cmd, which showed "(null)" as a final skin for every model
2022-10-11 16:58:44 -03:00
Yamagi
72ec12f8df Fix two 'comparison will always be false' warnings:
* Check the return value for `_wfullpath()`, not the returned pointer.
* Check first byte of char array, not the array itself.
2022-10-09 11:21:21 +02:00
Yamagi
658b6543ed Add fotosteps.pkz to the filelist. 2022-10-09 11:05:42 +02:00
Yamagi
4648f1f520
Merge pull request #914 from protocultor/ordered
Mods ordered by priority in menu
2022-10-09 10:50:25 +02:00
Yamagi
c5e87f5c74 Update the URL for the retexturing pack. 2022-10-09 10:47:23 +02:00
Yamagi
f03906e91f Explain were to get the optional monster footsteps assets from. 2022-10-09 10:46:49 +02:00
Yamagi
805ffac105 Give a hint that the GOG music track need a capital T on Unix.
Because Linux and Unix are case sensitive. Second half of #877.
Closes #877.
2022-10-09 10:21:23 +02:00
Yamagi
2780bf41ee Add a warning that addons need their own game.dll.
First half of #877.
2022-10-09 10:19:22 +02:00
Jaime Moreira
5c7bf732df Player skins in menu sorted alphabetically
Mods in menu are now ordered: baseq2, xatrix, rogue, ctf, the rest
2022-10-08 17:21:50 -03:00
Yamagi
746f5ad21e
Merge pull request #913 from devnexen/sdl_windowmin_pause
pause the game when window is minimized.
2022-10-08 19:44:24 +02:00
David Carlier
9298c3abc8 pause the game when window is minimized.
closes #911
2022-10-08 18:03:03 +01:00
Yamagi
75f7f7092e The always_inline does not inline the function...
...it just forces inline functions to be inlined, regardless of
restrictions.
2022-10-08 17:02:43 +02:00
Yamagi
66dcc8edf3
Merge pull request #898 from devnexen/sdl_cpupauseinstr
Sys_CpuPause uses the new SDL_CPUPauseInstruction macro if available.
2022-10-08 16:37:23 +02:00
Daniel Gibson
4d6bdcc853 If CM_LeafCluster() returned -1, don't use that as array index, fix #894
It seems to return -1 if the leaf is in the void; sometimes it
also seems to happen when you're just close to a wall, maybe due to
(mis)prediction.
ASan complains about this, but in practice it probably can't cause
issues, as the byte left to the mask array (from CM_ClusterPVS() or
CM_ClusterPHS()) will either belong to another global variable or
padding between them. Fixed it anyway.
2022-10-08 16:34:28 +02:00
Yamagi
d29e551773 Remove work around for msys2 / mingw64 not setting CC.
This was a upstream bug which has been resolved long ago. Closes #901.
2022-10-08 16:29:59 +02:00
Yamagi
434bc90fbb
Merge pull request #909 from BjossiAlfreds/collision
Prevent dead bodies from obstructing elevators
2022-10-08 15:32:23 +02:00
Yamagi
386f16ccbd
Merge pull request #907 from BjossiAlfreds/labupd
Fixed some more minor bugs in Research Lab
2022-10-08 15:26:03 +02:00
Yamagi
0b67676535
Merge pull request #906 from BjossiAlfreds/powercubes
Fix coop power cube related bugs
2022-10-08 15:24:40 +02:00
Yamagi
87e9db15a3
Merge pull request #904 from BjossiAlfreds/splashes
Fix items already in water at level start playing splash sound
2022-10-08 15:22:11 +02:00
Yamagi
ff75190541
Merge pull request #902 from BjossiAlfreds/flood
Prevent crash or memory corruption when flood_msgs is too high or too low
2022-10-08 15:21:23 +02:00
Yamagi
3222270df6
Merge pull request #900 from protocultor/delete_save
Quicksaves can be deleted from menu
2022-10-08 15:16:06 +02:00
Yamagi
294c4d1175
Merge pull request #896 from protocultor/gyro_invert
Options to invert gyro axes
2022-10-08 15:08:14 +02:00
David Carlier
f9d9577e9c fix some unitialized vars and clarify signedness on a handful of bitshift ops. 2022-10-08 15:07:02 +02:00
Yamagi
08b729ca6c
Merge pull request #869 from 0lvin/audioq2rtx
Add step sound and reverberation
2022-10-08 14:58:51 +02:00
BjossiAlfreds
240232cdde Prevent dead bodies from obstructing elevators and from falling through BSP geometry 2022-09-30 14:16:09 +00:00
BjossiAlfreds
729ebfb2cd Fixed some more minor bugs in Research Lab 2022-09-26 23:10:56 +00:00
BjossiAlfreds
37db07410f Fix coop power cube related bugs 2022-09-24 14:31:21 +00:00
BjossiAlfreds
9891f3f5af Fix items already in water at level start playing splash sound 2022-09-24 12:11:16 +00:00
BjossiAlfreds
153587f0cb Prevent crash or memory corruption when flood_msgs is too low or too high 2022-09-24 01:23:39 +00:00
Jaime Moreira
654c145e29 Quicksaves can be deleted from menu
Also, avoids asking for deletion in "<empty>" savegames
2022-09-23 17:57:01 -03:00
David Carlier
9d38e5c347 Sys_CpuPause uses the new SDL_CPUPauseInstruction macro if available. 2022-09-20 19:06:03 +01:00
Jaime Moreira
9de55c603d Classic cvar 'in_initjoy' resurrected
Added myself to credits
2022-09-19 11:36:23 -03:00
Jaime Moreira
da31490684 "Invert gyro" spincontrols 2022-09-19 11:27:47 -03:00
Jaime Moreira
54eb9e441d Sliders can ignore cvar value's sign, if needed
Gyro sensitivity sliders need this, since their values can be negative
to invert pitch and yaw.
2022-09-19 11:24:06 -03:00
Yamagi
e29d37956a
Merge pull request #868 from devnexen/cmake_build_fix2
Cmake build fix2
2022-09-19 11:11:53 +02:00
Denis Pauk
61f4540617 Fix documentation for model preview.
All default players models have 84-94 frames for salute.
So value will be same for `cyborg`/`female`/`male`.
2022-09-18 12:39:50 +03:00
Denis Pauk
3b583a7143 Bumb game version value
New code has exported monster footsteps sounds function.

Fixes typos.
2022-09-18 12:39:50 +03:00
Denis Pauk
4946400260 sound: reverb logic cleanup 2022-09-18 12:39:50 +03:00
Denis Pauk
93c6c76b0e sound: cleanup reverb code 2022-09-18 12:39:50 +03:00
Denis Pauk
983f1db185 audio: Update autopick reverb magic 2022-09-18 12:39:50 +03:00
Denis Pauk
eb640a0033 sound: Little bit simplify reverb 2022-09-18 12:39:50 +03:00
SkacikPL
f0d6db5d4a Improved reverb behavior and presets
Adjusted presets and their ranges. Occluded sounds no longer have reverb.

Cherrypick of 66927bff72
2022-09-18 12:39:50 +03:00