Commit graph

355 commits

Author SHA1 Message Date
Jaime Moreira
091dff9b59 Faster "weapprev" and "weapnext" behavior
Allows to skip the "previous" or "next" weapon, by constantly tapping
the bound key (or scrolling the mouse wheel).
2023-12-07 23:42:40 -03:00
Yamagi
d6f7384c74 s/Jaime Moreira/protocultor/g 2023-11-08 18:48:29 +01:00
Yamagi
05c915ca54 Update the CHANGELOG for version 2.12. 2023-11-04 11:01:20 +01:00
Yamagi
80016e7f7b Port aimfix support for the super shotgun from yquake2.
This enables the `aimfix` cvar for the super shotgun. While here add the
same fix to the phalanx, which is just a super shotgun with plasma
instead of shells.
2023-11-04 10:28:09 +01:00
Yamagi
0ee9b324a1 Relicense xatrix aka The Reckoning to GPL2.
This was made possible by id Software rereleasing the unaltered addon
sources codes under GPL2:

  https://github.com/id-Software/quake2-rerelease-dll/

All past contributors but one agreed with the relicensing:

* Andrey Nazarov - @skullernet
* Angus Freudenberg - @afreuden
* @BjossiAlfreds
* @DanielGibson
* David Carlier - @devnexen
* Denis Pauk - @0lvin
* @De-Seppe
* Jaime Moreira - @protocultor
* Joshua Scoggins - @DrItanium
* Mitchell Richters - @mjr4077au
* @NeonKnightOA
* Scott - @Pickle
* svdijk - @svdijk
* Yamagi

@Dremor8484 didn't give their permission, their commits were reverted:

* 368df08
* 44e50a1
* 04868b7

Many thanks to all involved with this project!
2023-11-04 10:14:22 +01:00
Yamagi
420413d169 Revert "Update weapon.c"
This reverts commit 04868b72ee.

The author didn't give us permission to relicense the code to GPL2.
2023-11-04 10:13:15 +01:00
Yamagi
b2fe34a575 Revert "Update weapon.c"
This reverts commit 44e50a12ca.

The author didn't give us permission to relicense the code to GPL2.
2023-11-04 10:13:06 +01:00
Yamagi
6fb31423e5 Revert "Update weapon.c"
This reverts commit 368df08757.

The author didn't give us permission to relicense the code to GPL2.
2023-11-04 10:12:47 +01:00
Yamagi
8123986f86
Merge pull request #95 from protocultor/limits
Added missing include, fixing compilation in Linux and MacOS
2023-09-15 20:21:19 +02:00
Jaime Moreira
0a34834dc5 Added missing include for USHRT_MAX 2023-09-15 11:52:42 -03:00
Yamagi
381b0ca57c
Merge pull request #94 from protocultor/g_swap_speed_fix
Fix for g_swap_speed behaviour with extreme values
2023-09-14 21:12:42 +02:00
Jaime Moreira
b86d7e954c Just typos 2023-08-26 22:49:41 -04:00
Jaime Moreira
1e63034859 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 weapon animation.
2023-08-26 22:48:23 -04:00
Yamagi
751f3f56fa
Merge pull request #90 from BjossiAlfreds/tdam-dir
T_Damage no longer modifies dir parameter
2023-07-16 09:49:44 +02:00
BjossiAlfreds
e1aaa64b67 T_Damage no longer modifies dir parameter 2023-07-07 23:47:15 +00:00
Yamagi
ae8a86dd71
Merge pull request #89 from protocultor/g_swap_speed
Cheat to speed up "weapon change" animations
2023-07-01 16:21:47 +02:00
Jaime Moreira
8e46e411bc 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:37:36 -04:00
Jaime Moreira
a43de22013 Cheat cvar "g_swap_speed" implemented
Allows to skip frames of "putting down weapon" and
"raising weapon" animations, speeding them up.
2023-06-28 15:57:43 -04:00
Yamagi
4a04cf8afd
Merge pull request #87 from BjossiAlfreds/makronjmp
Fixes to makron jump sequence
2023-06-17 16:36:14 +02:00
BjossiAlfreds
951fdb4f97 Fixes to makron jump sequence 2023-06-07 13:42:23 +00:00
Yamagi
94284938f4
Merge pull request #86 from BjossiAlfreds/makrondeath
Fixed ungibbable makron parts
2023-05-13 15:22:04 +02:00
BjossiAlfreds
15567f94a3 Fixed ungibbable makron parts 2023-05-09 18:32:27 +00:00
Yamagi
1010b2c694
Merge pull request #85 from BjossiAlfreds/intersight
Fixed monsters seeing players during intermissions
2023-05-08 18:08:56 +02:00
Yamagi
9626e71c86
Merge pull request #84 from BjossiAlfreds/gladrange
Fixed stand-ground gladiators not attacking at certain range
2023-05-08 18:07:38 +02:00
BjossiAlfreds
e0fb272e65 Fixed monsters seeing players during intermissions 2023-04-26 01:30:21 +00:00
BjossiAlfreds
04c9248961 Fixed stand-ground gladiators not attacking at certain range 2023-04-22 18:51:05 +00:00
Yamagi
1a3e721d51
Merge pull request #83 from Dremor8484/master
Update weapon.c
2023-03-25 17:15:31 +01:00
Dremor8484
04868b72ee
Update weapon.c
phalanx aimfix (like the supershotgun)
the first shot (in the if statement) is to the right, the second shot (in the else statement) shoots left

without the change to the code 1 shot is centered on the aim cross, the other is on the right
with the change to the code the left shot is on the left of the crossair and it touches the left -- of the crossair, while the right shot is on the right and touches the right -- of the crossair
2022-12-16 04:27:38 +01:00
Yamagi
92d83faff4 Update the CHANGELOG for 2.11. 2022-12-03 17:03:51 +01:00
Yamagi
b4c4a15c7d
Merge pull request #82 from Dremor8484/Dremor8484-xatrix-doublebarrelshotgun-aimfix
Update weapon.c
2022-12-03 16:56:28 +01:00
Dremor8484
44e50a12ca
Update weapon.c
the aimfix was working only on half of the attack, since the supershotgun shoots 2 times (half bullets left, half bullets right)

to carefully test it i tried to comment out 1 of the 2 shots while also keep yaw change to 0
in 1 case the bullets hit around the crossair, in the other case the bullets were not centered around the crossair.

i added the same fix to the shot that did not have it, and it worked.

i tested it out with yaw-5 and yaw+5 with both shots shooting at the same time and the bullets appeared to gather into 2 distinct clusters one left side of crossair, one right side of crossair like 2 eyes on the wall
2022-12-03 15:42:44 +01:00
Yamagi
731af54f2c
Merge pull request #80 from devnexen/va_fmt_chg
va little signature change
2022-11-06 17:20:48 +01:00
David CARLIER
0dc3c87742 va little signature change 2022-11-05 10:26:14 +00:00
Yamagi
f0059cecce
Merge pull request #81 from protocultor/underwater_phalanx
Underwater impacts of the Phalanx cannon sound muffled
2022-11-05 10:05:05 +01:00
Jaime Moreira
ed8c40349d Underwater impacts of the Phalanx sound muffled 2022-10-25 22:08:34 -03:00
Yamagi
c151fffd3a
Merge pull request #75 from skullernet/master
Remove broken pusher delta yaw manipulation.
2022-10-08 15:39:05 +02:00
Yamagi
b5149f927c
Merge pull request #79 from BjossiAlfreds/collision
Prevent dead bodies from obstructing elevators and falling through them
2022-10-08 15:35:52 +02:00
Yamagi
8c890f4347
Merge pull request #78 from BjossiAlfreds/powercubes
Fix coop power cube related bugs
2022-10-08 15:35:09 +02:00
Yamagi
dcc7860ffd
Merge pull request #77 from BjossiAlfreds/splashes
Fix items already in water at level start playing splash sound
2022-10-08 15:33:36 +02:00
Yamagi
eb55860150
Merge pull request #76 from BjossiAlfreds/flood
Prevent crash or memory corruption when flood_msgs is too high or too low
2022-10-08 15:33:23 +02:00
BjossiAlfreds
1a197b09a6 Prevent dead bodies from obstructing elevators and falling through them 2022-09-30 15:15:05 +00:00
BjossiAlfreds
d3d4e5357d Fix coop power cube related bugs 2022-09-24 14:32:43 +00:00
BjossiAlfreds
1d04967d88 Fix items already in water at level start playing splash sound 2022-09-24 12:22:40 +00:00
BjossiAlfreds
8431e0f15d Prevent crash or memory corruption when flood_msgs is too high or too low 2022-09-24 01:50:15 +00:00
Andrey Nazarov
e4c26a187d Remove broken pusher delta yaw manipulation.
This didn't work correctly for multiple reasons:

1. `deltayaw` was wrongly initialized for the pusher itself, rather than
for pushed client.

2. `delta_angles[YAW]` is a short, adding plain `amove[YAW]` to it is
wrong.

To support yaw angle rotation properly, delta_angles must be
interpolated on the client. But this is hardly practical as it would
introduce other bugs. Thus, simply remove delta yaw manipulation code
altogether.

Fixes infamous Q2 bug when player standing on a blocked lift gets turned
to wrong direction.
2022-09-09 21:56:09 +03:00
Yamagi
8fb33ee9fd
Merge pull request #74 from protocultor/cycleweap_quick
Faster weapon switching with 'cycleweap'
2022-08-07 18:21:53 +02:00
Jaime Moreira
5e31017f49 Faster weapon switching with 'cycleweap'
Allows to skip elements on the weapon list by tapping the same bound key
2022-08-01 14:34:49 -04:00
Yamagi
f4643f174f
Merge pull request #73 from Dremor8484/Dremor8484-xatrix-doublebarrelshotgun-aimfix
Update weapon.c
2022-06-11 17:03:03 +02:00
Dremor8484
368df08757
Update weapon.c
xatrix-doublebarrelshotgun-aimfix
2022-06-10 19:10:19 +02:00
Yamagi
8d6a6188c3 Fix off by one in Info_SetValueForKey(). Found by ASAN. 2022-05-28 11:40:09 +02:00