Commit graph

18 commits

Author SHA1 Message Date
Daniel Walder
2353ca4a4b [HL25] New item flag NOAUTOSWITCHTO for RPG
Prevents the RPG from being auto-switched to on auto weapon switch events
2024-08-29 10:01:02 +02:00
Joël Troch
e0ba8cebc7 [HL25] Backport busters game mode
Also backport a define being moved at the top in "multiplay_gamerules.cpp".
And two changes related to weapons in general in "weapons.cpp".
2024-08-28 16:37:49 +02:00
Sam V
a370af08e6 Convert all source files to UTF without BOM 2022-12-17 13:32:43 +01:00
Anchur
2c84881c07 Update source file encoding to UTF-8 2022-12-16 22:52:07 +08:00
Sam V
3c1e84a172 Fix controlling a func_tank with empty weapon deploying invisible weapon when stopping control
Resolves #134
2022-03-13 21:51:28 +01:00
Sam V
96526a6f5f Automatically switch away from exhaustible weapons that have no ammo left
Resolves #133
2022-03-13 21:38:34 +01:00
Sam V
12d410785b Properly format method definitions to have no space between class name and scope operator
#84
2021-11-29 20:31:17 +01:00
Sam V
9ca8e6a47a Remove unused globals and duplicate global variable forward declarations
#89
2021-11-28 20:40:56 +01:00
Sam V
08755342d0 Format all files and add clang-format configuration file
Resolves #84
2021-11-28 16:54:48 +01:00
Sam V
998469a386 Rework all boolean condition checks to use conversions to bool, use bool instead of int when possible
#69
#83
#59
2021-11-28 15:32:26 +01:00
Sam V
48af7bd487 Rework all uses of BOOL in global and local variables to use bool
#59
2021-11-19 14:40:35 +01:00
Sam V
0b334a3216 Rework all uses of BOOL in function declarations with bool or qboolean
#59
2021-11-19 14:31:11 +01:00
Sam V
bce3b78653 Replace all uses of TRUE with true
#59
2021-11-19 13:45:16 +01:00
Sam V
99e0a0ed2c Replace uses of FALSE with false
#59
2021-11-19 13:43:33 +01:00
Solokiller
460802cf88 Implement skill cvars sk_plr_hornet_dmg1/2/3 for player Hornet gun damage 2021-04-15 16:15:45 +02:00
Solokiller
8247ed76ea Remove void from functions taking no arguments (clang-tidy modernize-redundant-void-arg) 2021-03-05 20:54:33 +01:00
Solokiller
c39eca969c Move user message globals & link function to its own file, declare all user messages once 2021-02-17 17:10:14 +01:00
Alfred Reynolds
de70fada50 initial seed of Half-Life 1 SDK 2013-08-30 13:34:05 -07:00