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
Jaime Moreira
c2ab0f61d7
Fixed Zoid Kirsch's name in credits
2023-08-26 19:10:26 -04:00
Jaime Moreira
118b78256f
Fixed g_swap_speed behaviour with extreme values
...
When its value was between 0 and 1, rounded down to 0.
Did the same when bigger than 65535.
Both cases locked up the entire weapon animation.
2023-08-26 19:08:26 -04:00
Johan Mattsson
9c929ab463
Fix potential index out of bounds
2023-08-13 18:04:04 +02:00
Yamagi
9316bd0ba2
Merge pull request #1037 from devnexen/cmake_arch_fix
...
fix cmake assumption on x86 arch.
2023-08-13 09:52:32 +02:00
David CARLIER
d7a6535d01
fix cmake assumption on x86 arch.
...
set wrongly on i386 even tough the cpu is x86`_64`.
2023-08-05 11:12:19 +01:00
Yamagi
ac6990c94e
Merge pull request #1036 from devnexen/netsock_fixleak
...
unix NET_Socket fix socket leak at address assignment failure.
2023-07-30 17:23:57 +02:00
David Carlier
efc59a3e3d
unix NET_Socket fix socket leak at address assignment failure.
2023-07-29 06:55:22 +01:00
Yamagi
030af432f7
Merge pull request #1033 from BjossiAlfreds/vn2-fix
...
Fixed VectorNormalize2 not writing 0-length vectors to out
2023-07-16 09:48:54 +02:00
Yamagi
146e5615af
Merge pull request #1025 from 0lvin/smallfixes
...
Cinematic JPG/PNG image support
2023-07-16 09:38:56 +02:00
BjossiAlfreds
d3c9529df6
Fixed VectorNormalize2 not writing 0-length vectors to out
2023-07-07 23:59:20 +00:00
Denis Pauk
63d990487a
models: ignore sprites/skins bigger than MAX_MD2SKINS
2023-07-02 00:30:21 +03:00
Denis Pauk
5c0883594f
cl_cin: Support of RGBA png/jpg image with r_retexturing as cinematic
2023-07-02 00:03:18 +03:00
Denis Pauk
86dd7e6d2d
Remove redudant rserr_invalid_fullscreen check
2023-07-01 23:17:17 +03:00
Yamagi
f6361740f5
Fix another spurious warning.
...
gcc 13.1 thinks that `newsocket` can be used uninitialized, because it
doesn't know that a call to `Com_Error()` is fatal.
2023-07-01 17:52:36 +02:00
Yamagi
cb317f2cd3
Merge pull request #1031 from protocultor/g_swap_speed
...
Cheat to speed up "weapon change" animations
2023-07-01 16:21:42 +02:00
Yamagi
8855d650c6
Merge pull request #1030 from devnexen/compile_time_checks
...
adding compile time assertion support whenever possible
2023-07-01 16:10:34 +02:00
Jaime Moreira
a94e9dca81
Snappier "g_swap_speed" behaviour
...
Player is no longer forced to go through the last frame of activation
or deactivation of a weapon before changing its state.
2023-06-29 11:14:58 -04:00