Jaime Moreira
52f9229975
Faster "weapprev" and "weapnext" behavior
...
These commands can now "count" how many times they have been called.
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.
Includes a preview, in "pickup" style, of the upcoming weapon.
Adaptation of yquake2/yquake2#1076
2024-12-04 20:46:13 -03:00
Jaime Moreira
4447127cf4
If cl_gun == 2, don't show the gun icon
...
No matter which the `fov` or `hand` values are.
Adaptation of yquake2/yquake2@bcdd802ec
2024-12-04 20:37:46 -03:00
Yamagi
137ed0f0bd
Mark g_swap_speed as CVAR_ARCHIVE.
2024-09-21 09:51:41 +02:00
Yamagi
b3e169bac6
Merge pull request #44 from BjossiAlfreds/spawntemp-leak-fix
...
Fixed spawntemp data leaking into mid-level spawned entities
2024-08-21 21:00:13 +02:00
BjossiAlfreds
65fc29b71e
Fixed spawntemp data leaking into mid-level spawned entities
2024-08-19 01:26:06 +00:00
Yamagi
24844dc176
Merge pull request #43 from abalfoort/upd_defs
...
Update definitions according to CMakeLists.txt
2024-03-16 12:17:34 +01:00
abalfoort
af934c32f2
Update definitions according to CMakeLists.txt
2024-03-10 12:58:20 +01:00
Yamagi
52b1697846
Merge pull request #40 from NeonKnightOA/varfix-240114
...
Replacement of YQ2OSTYPE and YQ2ARCH with YQ2_OSTYPE and YQ2_ARCH
2024-02-01 17:51:45 +01:00
NeonKnightOA
5204170702
Replacement of YQ2OSTYPE and YQ2ARCH with YQ2_OSTYPE and YQ2_ARCH
...
Fixes #27 and keeps consistency with the other repos.
2024-01-14 11:48:58 -03:00
Yamagi
30bc59a2a6
Merge pull request #39 from protocultor/limits
...
Added missing include, fixing compilation in Linux and MacOS
2023-09-15 20:20:42 +02:00
Jaime Moreira
8d203ad0f2
Added missing include for USHRT_MAX
2023-09-15 12:10:00 -03:00
Yamagi
5f60bc3cb9
Merge pull request #37 from protocultor/general_update
...
General update to reach Yamagi features
2023-09-14 21:17:16 +02:00
Jaime Moreira
0fedfa14af
Better validation for g_swap_speed value
...
Port of yquake2's #1049
2023-08-27 00:12:16 -04:00
Yamagi
2f78575086
Merge pull request #36 from BjossiAlfreds/tdam-dir
...
T_Damage no longer modifies dir parameter
2023-07-16 09:50:05 +02:00
BjossiAlfreds
30b91965e2
T_Damage no longer modifies dir parameter
2023-07-07 23:49:27 +00:00
Jaime Moreira
1e7596aeef
Implemented Yamagi's commands to switch weapons
...
'cycleweap' defines a custom group of weapons. Press the bound key
repeteadly to to skip weapons inside this group.
'prefweap' defines a "panic button" where the first weapon found will be
used, no cycling.
2023-07-05 16:24:39 -04:00
Jaime Moreira
82f72cca77
Added Yamagi cheat cvars
...
"g_machinegun_norecoil" and "g_swap_speed"
2023-07-05 16:18:13 -04:00
Jaime Moreira
e3743c5b2c
Added support for ANIM_REVERSE
...
Allows to define animations that go in the opposite direction of the
usual flow.
Added a couple of animations from Q2 3.21 that use ANIM_REVERSE.
Make the "laser trip bomb" to use Weapon_Generic instead of the "copy &
paste" version it used.
Modified the original Weapon_Generic function to get the proper ammo
quantity the weapon uses; useful for IT_AMMO weapons.
2023-07-05 15:50:12 -04:00
Yamagi
50f18732f6
Merge pull request #35 from BjossiAlfreds/makronjmp
...
Fixes for makron jump sequence
2023-06-17 16:35:47 +02:00
BjossiAlfreds
cf01efd347
Fixes for makron jump sequence
2023-06-07 13:38:22 +00:00
Yamagi
81f809bea3
Merge pull request #34 from BjossiAlfreds/makrondeath
...
Fixed ungibbable makron parts
2023-05-13 15:22:28 +02:00
BjossiAlfreds
d1e26350b4
Fixed ungibbable makron parts
2023-05-10 17:32:37 +00:00
Yamagi
d4b117d946
Mark all required CFLAGS and LDFLAGS definition as override.
...
This fixes the build with the current Windows build environment.
Fixes #31 .
2023-05-08 21:45:38 +02:00
Yamagi
bd7cc48abb
Merge pull request #33 from BjossiAlfreds/intersight
...
Fixed monsters seeing players during intermissions
2023-05-08 18:09:09 +02:00
Yamagi
d4698d39dc
Merge pull request #32 from BjossiAlfreds/gladrange
...
Fixed stand-ground gladiators not attacking at certain range
2023-05-08 18:07:59 +02:00
BjossiAlfreds
544c0e383a
Fixed monsters seeing players during intermissions
2023-04-26 01:40:13 +00:00
BjossiAlfreds
d379a25b8c
Fixed stand-ground gladiators not attacking at certain range
2023-04-23 18:47:45 +00:00
Yamagi
cbc0fa522d
Merge pull request #30 from Dremor8484/Dremor8484-zaero-doublebarrelshotgun-aimfix
...
Update weapon.c
2022-12-03 17:15:16 +01:00
Dremor8484
4733f22e6f
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:58:53 +01:00
Dremor8484
588ebb0ea8
Update weapon.c
...
zaero-doublebarrelshotgun-aimfix
2022-06-10 19:23:47 +02:00
Yamagi
d52ee31d93
Normalize arm64
to aarch64
.
...
This ensures that we call ARM64 `aarch64` on all platform, which aren't
MacOS or Windows. And it fixes the bug, that `arm64` was normalized to
`arm`, making incompatible savegames between 32 bit and 64 bit ARM
loadable. Leading to crashes.
2022-05-20 12:58:46 +02:00
Yamagi
a91b12a4af
Merge pull request #28 from devnexen/build_macos_arm_fix
...
Forcing proper native arch build on darwin mainly due to arm64.
2022-05-20 12:49:33 +02:00
David CARLIER
8e5d49e8f4
Forcing proper native arch build on darwin mainly due to arm64.
2022-05-14 16:25:51 +01:00
Yamagi
9757d6fffc
Merge pull request #23 from VortexAcherontic/master
...
Multiple gameplay fixes
2021-07-23 09:10:14 +02:00
Vortex Acherontic
f28a561788
Fixed visor not working
2021-07-18 16:29:58 +02:00
Vortex Acherontic
fc2961df12
#1 Fixed viper bomb not killing monster_tank in zbase1
2021-07-18 15:41:33 +02:00
Vortex Acherontic
d4b76a5326
#2 Fixed insane marine not killed by explosion
2021-07-18 15:35:10 +02:00
Vortex Acherontic
023b41606e
Removed unused import
2021-07-17 22:44:03 +02:00
Vortex Acherontic
24cdf52a89
Fixed TripBomb not inflicting damage
2021-07-17 22:42:25 +02:00
Yamagi
7dae34726f
Merge pull request #22 from BjossiAlfreds/player-sounds
...
Fix for some player sound bugs
2021-04-30 11:51:24 +02:00
BjossiAlfreds
e817bd38b9
Fix for some player sound bugs
2021-04-30 01:05:25 +00:00
Yamagi
df64f864b7
Merge pull request #21 from BjossiAlfreds/shark-bbox
...
Shark bbox fix and added inuse check after entity thinking
2021-04-27 08:59:13 +02:00
Yamagi
7d3ee75e3b
Merge pull request #20 from devnexen/upd_to_levelup_with_main_repo
...
little update to level up with the other repositories.
2021-04-27 08:58:54 +02:00
BjossiAlfreds
8f6c53e76f
Shark bbox fix and added inuse check after entity thinking
2021-04-18 01:19:32 +00:00
David CARLIER
88a569d532
little update to level up with the other repositories.
2021-04-13 17:48:57 +01:00
Yamagi
09d5857687
Merge pull request #19 from devnexen/savegame_data_packing
...
game data packing representation of the headers
2021-04-08 10:42:04 +02:00
Yamagi
4b542f0e57
Merge pull request #18 from BjossiAlfreds/map-fixes
...
Fixed unspawnable monsters in three maps
2021-04-08 10:41:39 +02:00
David Carlier
4e97fe4c74
game data packing representation of the headers
2021-04-07 18:10:53 +01:00
BjossiAlfreds
f4faa12db3
Fixed unspawnable monsters in three maps
2021-04-07 12:33:06 +00:00
Yamagi
f3912680ac
Merge pull request #16 from 0lvin/master
...
Fix compiler warnings
2021-01-27 08:28:07 +01:00