Commit Graph

3696 Commits

Author SHA1 Message Date
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
apartfromtime 292bc0f632 Texture filtering option
Adds texture filtering option to the video menu.

Closes #753
2024-02-26 18:08:18 +11:00
Yamagi e72ef48ae7 Add gl4 to the video menu renderer list.
GL4 is community maintained variant of GL3 using somewhat more up to
date OpenGL APIs. Requsted in #1045.
2024-02-03 16:18:06 +01:00
Yamagi cc176da74e
Merge pull request #1083 from apartfromtime/Case-insensitive-sort-on-player-skin-names
Case insensitive sort for player skins
2024-02-03 16:03:32 +01:00
Yamagi 5933b64f77 Sort the mod list case insensitive. 2024-02-03 16:00:30 +01:00
apartfromtime 8beb3d8a2e Case insensitive sort for player skins
Case insensitive compare in quicksort compare function for player names.

Closes #1082
2024-02-02 21:33:14 +11:00
Yamagi ceee1c1d32
Merge pull request #1081 from protocultor/overbrightbits_revenge
Fixed gl1_overbrightbits limiter (for real now)
2024-01-07 11:39:11 +01:00
Jaime Moreira adf638d1f4 Controller buttons read more succinctly 2024-01-06 13:35:48 -03:00
Jaime Moreira fb46007bc3 Fixed gl1_overbrightbits limiter, for real now
Allowed values are 0, 1, 2 and 4 only.
Updated documentation, again.
2024-01-06 13:32:48 -03:00
Jaime Moreira 9f9c212648 OpenGL 1 errors are visible now
Needs DEBUG=1 to enable
2024-01-06 13:29:13 -03:00
Yamagi e40f5d1480
Merge pull request #1077 from apartfromtime/Fix-duplicate-entries
Fix duplicate menu key keyboard entries
2023-12-19 18:33:39 +01:00
apartfromtime 87ae381ed2 Attempt to fix indentation 2023-12-18 09:27:57 +11:00
apartfromtime 1570baee4d Remove superfluous switch statement 2023-12-18 08:52:35 +11:00
Yamagi 18aa42653a
Merge pull request #1076 from protocultor/quick_weap
Faster "weapprev" and "weapnext" behavior
2023-12-17 11:58:28 +01:00
apartfromtime 089a1cd53f Fix duplicate menu key keyboard entries
Fixes a bug where duplicate keyboard entries would occur in menu fields when using the keypad keys with num-lock on.

Adds `IN_NumpadIsOn` function returning the state of the numpad key.
2023-12-17 09:55:58 +11:00
apartfromtime ef456964e3 Revert "Fix duplicate menu key keyboard entries"
This reverts commit 2180ca6c40.
2023-12-17 08:18:38 +11:00
Jaime Moreira 01ce6787dc Preview of the coming weapon for weapprev/weapnext
The weapon you are changing to appears in the HUD, in "pickup" format.
Requires g_quick_weap == 1.
2023-12-16 17:52:00 -03:00
Yamagi be84f7fb89 Set the `ambush` spawnflag on monster_boss2 in biggun.
I encountered a bug where the monster_boss2 aka hornet in biggun.bsp
somehow slipped into the void while pushed out of it's compartment.
I'm unable to reproduce it, but analysis showed that the hornet isn't
spawned in ambush mode. As soon as the player fires a gun it starts
moving. Maybe that is enough to slip out of the compartment.

Additionally the hornet is a targeted monster. Monsters triggered by
level logic must be set to ambush, otherwise sound and level logic
triggering mess each other up.

Closes #1078.
2023-12-16 18:41:47 +01:00
Yamagi 5da0e5f00c
Merge pull request #1075 from apartfromtime/master
Rename min\max to avoid conflict with c-plus plus
2023-12-16 16:33:07 +01:00
apartfromtime 2180ca6c40 Fix duplicate menu key keyboard entries
Fixes a bug where duplicate keyboard entries would occur in menu fields when using the keypad keys with num-lock on.
Menu fields now mirror behaviour of the console field.
Removed keypad left arrow case from console key ignore list.
2023-12-12 14:29:52 +11:00
apartfromtime 71570bb2ef Revert changes to shaders
Uses min/max from shader language.
2023-12-09 12:28:30 +11:00
Jaime Moreira 9eca08fd92 Faster "weapprev" and "weapnext" behavior
These commands can now "count" how many times they have been called,
similar to how "cycleweap" operates after #865.
This allows for changing to different weapons, instead of just going
"one down" or "one up".
New cvar "g_quick_swap" allows to enable/disable this behavior.
2023-12-07 23:57:19 -03:00
apartfromtime f0d2c5afaa More min\max function renaming
Missed function renaming.
2023-12-04 22:59:31 +11:00
apartfromtime 9ac19de4ac Rename min\max to avoid conflict with c-plus plus
While trying to compile the yquake2 rebased heretic2 source from 0lvin, a name conflict with min\max of different parameter counts included by a std::cpp library occurred.
2023-12-01 11:58:21 +11:00
Yamagi 4967b9d0ca Update miniz to e5700656b34b732f8d4e5df87cb0de00a6c8f319. 2023-11-24 09:26:14 +01:00
Yamagi 3d8fa3995c Update minizip unzip to 643e17b7498d12ab8d15565662880579692f769d. 2023-11-23 18:42:20 +01:00
Yamagi 90402c3f85 Move miniz into a subdirectory.
An upcoming update will add several files, having miniz in it's own
subdirectory makes it clear what belongs to it an whit to unzip.
2023-11-23 18:21:44 +01:00
Yamagi 2b06ae4e95 s/Jaime Moreira/protocultor/g 2023-11-08 18:47:31 +01:00
Yamagi d4940703f0 Bump version number to 8.31pre. 2023-11-05 12:15:35 +01:00
Yamagi 11993ed7e6 Bump version number to 8.30. 2023-11-05 12:13:43 +01:00
Yamagi 06017193fc
Merge pull request #1070 from devnexen/network_getaddrinfo_error
NET_Socket unix using getaddrinfo's error code in case.
2023-11-04 14:13:24 +01:00
Yamagi ad9c115840
Merge pull request #1069 from devnexen/fix_bug_fix
fix curl uaf previous fix.
2023-11-04 14:13:10 +01:00
David Carlier 478d16e786 NET_Socket unix using getaddrinfo's error code in case. 2023-10-28 15:34:50 +01:00
David Carlier a5192af173 fix curl uaf previous fix. 2023-10-25 18:46:03 +01:00
Yamagi 994a753bd0
Merge pull request #1067 from protocultor/gl1_overbrightbits
Fixed gl1_overbrightbits limiter
2023-10-20 12:01:42 +02:00
Jaime Moreira 36bf9de5a8 Typos 2023-10-18 20:37:49 -03:00
Jaime Moreira fa218c9f4c Fixed gl1_overbrightbits limiter
Allows values between 0 and 4. Updated documentation.
2023-10-18 20:35:51 -03:00
Yamagi 5c642b6a5b
Merge pull request #1061 from DanielGibson/curl-uaf-fix
Fix use-after-free bugs in htttp download code
2023-10-15 18:09:25 +02:00
Yamagi 88736f347f Update CHANGELOG for 8.30. 2023-10-15 17:25:11 +02:00
Yamagi 73c3afd47e
Merge pull request #1060 from devnexen/constify_it
"constifying" where underlying C calls expect compile time constants.
2023-09-16 18:14:17 +02:00
David CARLIER 3b8053edae "constifying" where underlying C calls expect compile time constants. 2023-09-16 16:20:21 +01:00
Daniel Gibson 3c8f087bb5 Fix use-after-free bugs in htttp download code
CL_RemoveFromQueue(qdlqueue_t *entry) free()s that entry, so the loops
that call q->next after CL_RemoveFromQueue(q) are accessing free'd
memory. Fix that by getting a pointer to the next entry before calling
CL_RemoveFromQueue().

Also did a tiny non-functional change to CL_RemoveFromQueue() to
make it easier to understand.
2023-09-16 16:59:31 +02:00
Yamagi fe715f3d76 Document vid_pauseonfocuslost. 2023-09-16 16:36:19 +02:00
Yamagi 43e2a67f12 Fix indention problems introduced in the last commits. 2023-09-16 16:33:13 +02:00
Yamagi 49d4f2ce1f Merge remote-tracking branch 'menu/oss' 2023-09-16 16:30:04 +02:00
Yamagi f714650841
Merge pull request #1059 from protocultor/limits
Added missing include, fixing compilation in Linux and MacOS
2023-09-15 20:17:54 +02:00
Jaime Moreira faee2203b8 Added missing include for USHRT_MAX 2023-09-15 11:42:50 -03:00
Yamagi 4afcd900cc
Merge pull request #1049 from protocultor/g_swap_speed_fix
Fix for g_swap_speed behaviour with extreme values
2023-09-14 21:01:42 +02:00
Yamagi d466b8cf51
Merge pull request #1043 from mjunix/master-1
Fix potential index out of bounds
2023-09-14 20:58:52 +02:00
Jaime Moreira 9821c4b0a2 Show correct replacement for gl_lightmap cvar
Typos corrected
2023-08-26 19:18:24 -04:00