Commit graph

923 commits

Author SHA1 Message Date
Steam Deck User
a53ad310f4 Server: Fix lack of break cases in Util_*AmmoInSlot 2022-12-20 01:27:12 -05:00
Steam Deck User
327c9cdc43 Server: Add support for Explosive Barrels to be damaged by other
Explosives
2022-12-20 00:58:37 -05:00
Steam Deck User
aa9965e2f1 Server: Fix bad weapon delay timing when Pack-A-Punching
fixes an issue where spamming use trying to retrieve a gun coming out
would interrupt the frames and prevent interacting with other items.
2022-12-20 00:42:19 -05:00
Steam Deck User
7702f79b35 Server: Restore give command
sorta broken but whatever :^)
2022-12-20 00:09:36 -05:00
Steam Deck User
d4fafff812 Server: Move Command Parser out of player.qc and revamp command system.
Commands are now stored in a table/struct that is referenced by
SV_ParseClientCommand, with a system for printing command information
and status codes. :^)
2022-12-16 13:53:17 -05:00
Steam Deck User
0d8da55cf2 Server: Rewrite SV_ParseClientCommand
Increases readability and fixes an issue where cl_chatmode would append
'say' to everything in FTE, making the command now work properly
there.
2022-12-16 12:49:38 -05:00
Ian
75547beb64
Server: Define an action for shooting an Explosive Barrel with the Wunderwaffe
Now instantly explodes; fixes crashing issue
2022-12-09 17:20:57 -05:00
Ian
6afcdc3ecb
Server: Remove FIRETYPE_RAYBEAM from Util_WeaponIsSemiAutomatic
Fixes disparity issue with the Ray Gun acting as a semi automatic weapon.
2022-12-09 17:13:42 -05:00
Tyler Young
240956e24e Precache sounds until engine side steps aren't borked
it is what it is
2022-11-27 15:05:06 -05:00
Ian
900b6e198c Client: Change fullscreen description when on Web.
Adds a clarification that fullscreen will only kick in when/if you
are loaded into the World.
2022-11-23 10:14:47 -05:00
Ian
ceac5a4707 Client: Add Render Scale graphics setting for Web.
Since Resolution wouldn't do anything, this is the next best thing
(arguably better all around).
2022-11-23 10:08:52 -05:00
Ian
59e2e8eab4 Client: Hide extra menu detail for things hidden in Web
Including division lines and graphical setting values.
2022-11-23 09:44:21 -05:00
Ian
7982ff0ccf Client: Update copyright date for menu.qc 2022-11-23 09:36:26 -05:00
Ian
7c971f3c2b Client: Add OPTION_IS_* flags for menu button indexes
Helps filter menu options by platform.
2022-11-23 09:35:41 -05:00
Ian
753fc61a53 Client: Add a check if the client is being ran in a web browser.
Will allow for certain features to be hidden/displayed specified to
the web client.
2022-11-23 09:27:48 -05:00
Ian
836b7c47d7 Server: No longer rotate Mystery Box spawns by 90 degrees at the start.
Should help with some rotation bugs. Needs further testing.
2022-11-21 22:10:05 -05:00
Ian
be302d2ac4 Merge branch 'main' of https://github.com/nzp-team/quakec into main 2022-11-21 21:28:25 -05:00
Ian
8257107fea Server: Call W_SprintStop() before preparing to use equipment
Fixes https://github.com/nzp-team/nzportable/issues/58 and also prevents
being able to exploit sprinting while holding a grenade.
2022-11-21 21:25:23 -05:00
Ian
1d51c1ca74
Server: Make Precache_Set an inline function
will help out a bit with jumps when this gets more widely adopted in our codebase. also hello from GitHub for iOS :^)
2022-11-19 11:08:06 -05:00
Ian
b74c6cd8c8 Server: Improve Button Check logic for Firing/ADS
Moves everything together to improve branching/speed things up a bit.
Also adds a note about PC flipping the fire buttons for akimbo weaponry
and puts akimbo stuff closer together.
2022-11-17 22:11:52 -05:00
Ian
1f64c0239a Server: Streamline weapon projectile determination
Use new #defines for firetypes and a new utility function Util_WeaponIsSemiAutomatic
to make W_Fire far more legible in the section where firing a projectile or trace
is done.
2022-11-17 21:49:50 -05:00
Ian
5086304b51 Shared: Add #defines for weapon Firetypes.
This helps referencing which firetype corresponds to what in weapon_core.
2022-11-17 21:44:51 -05:00
Ian
e7a2cba82d Server: Oops! Grenade weapons should not tracefire.
This has been wasteful and a part of the QC for quite some time, lol
2022-11-17 21:36:22 -05:00
Ian
c109f1712a Server: Add a utility function for weapons that require a tracefire
Util_WeaponFiresTraceshot() can be used to determine if a weapon is "standard"
requiring a tracefire for bullet impact/penetration.
2022-11-17 21:34:46 -05:00
Ian
68f66b4b7b Server: Remove FIXME case regarding Do_Pathfind on FTE platforms
Determined that 0 will never be a returned value by Do_Pathfind unless accidentally
executed on another platform.
2022-11-17 21:28:31 -05:00
Ian
c2afd12efa Server: Remove irreverant FIXME case for Hound classname
The issue/request described has been determined to be a non-issue. The spawn functions
for Hellhounds has never changed, and the normal classname that is set after the
spawn function is all that is referenced.

Also, fun tidbit: Beta assigned them the classname "doggy". cute :^)
2022-11-17 21:25:29 -05:00
Ian
8ccf74a2ba Remove waste KDE/KATE temporary file
Left in due to unsanitized recent commit
2022-11-17 21:19:24 -05:00
moto
22fb84ac25 Server: Find a new target/enemy other than Players in Last Stand
Fixes https://github.com/nzp-team/nzportable/issues/20
2022-10-25 12:49:02 -04:00
moto
4cf879558f Client: Make Point Updating considerably more efficient.
Stop iterating over the large array all of the time, it's stupid :^)
2022-10-25 12:23:24 -04:00
moto
82d66c5cf5 Fix silly copy/paste type error 2022-10-24 08:51:43 -04:00
moto
03186b242e GH: Update actions/checkout to v3
Addresses nodeJS12 deprecation
2022-10-24 08:49:47 -04:00
moto
19ae55654c Server: Revamp Purchase of Wall Weapon Ammo
Adds some utility functions to make grabbing specific pieces of weapon
information in any of a player's slots easier. Fixes some mulekick bugs
as a side effect. Fixes https://github.com/nzp-team/nzportable/issues/52.
2022-10-24 08:44:41 -04:00
Ian
328f1f8ee1 Add CTR QuakeC 2022-09-02 20:19:25 -04:00
moto
921e16e118 Server: don't precache footsteps for engines that do it clientside 2022-07-14 17:11:06 -04:00
moto
216d6124a4 Server: Add hlrendermode hack for FTE 2022-07-10 11:03:29 -04:00
moto
68a8fcb4ac Server: Bleedout Timer parity 2022-07-10 10:58:31 -04:00
moto
9e8293b2eb Reduce pump/bolt time with Double Tap 2022-07-10 10:54:48 -04:00
moto
5b45e5bd66 Server: Don't force skin0 for place_model 2022-07-08 18:37:48 -04:00
moto
87319e13cf Server: more small perf tweaks 2022-07-02 10:19:33 -04:00
moto
707141ec68 Server: Limit revive checks to PC 2022-07-02 09:22:32 -04:00
moto
469c6fcaa0 Server: Smarter branching in Round_Core 2022-07-02 08:54:04 -04:00
moto
92f38d906a Server: Proper handling of SV_ParseClientCommand 2022-06-02 08:54:44 -04:00
moto
1ed974f2d3 Server: Restore Ray Gun Sprint Cycle 2022-05-19 08:39:42 -04:00
moto
63a07997cc Server: Use Co-Op Quick Revive Price properly 2022-05-18 09:32:32 -04:00
moto
f25b8dbe19 Server: Solve Bowie purchase logic 2022-05-18 09:26:23 -04:00
moto
6b33819c7b Server: Fix v_bowie path in weapon_wall 2022-05-18 09:22:58 -04:00
moto
6f25b07c1f Use proper scope graphic 2022-05-09 17:12:57 -04:00
moto
4d5363b08f Server: Restore Box Glow for FTE, fix Power-Up timeout 2022-05-09 15:47:40 -04:00
moto
0ccb6357f0 Server: Target player when running god 2022-05-09 13:49:56 -04:00
moto
f11f58b84d Server: fix explosion.spr precache 2022-05-09 13:23:25 -04:00