Commit graph

29 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
9b9d6c3b0b [HL25] Backport changes to RPG
One exception: ITEM_FLAG_NOAUTOSWITCHTO has not been set to flags due to
differences between Updated and HL25's weapon switch code.
2024-08-28 13:42:29 +02:00
Sam V
9784339cbb Fix RPG laser turning on when reloading immediately after equipping the weapon 2023-11-08 16:48:44 +01:00
Justin
e3899ccccc Fix RPG being flagged as unusable while a rocket is loaded 2023-08-17 10:52:59 -07:00
Sam V
c6b5b617b3 Fix RPG not playing empty sound when attempting to fire with no ammo left
Resolves #196
2023-04-12 14:33:06 +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
40d3849783 Fix RPG sometimes getting stuck unable to reload
Resolves ValveSoftware/halflife#3264
2022-03-26 12:24:28 +01:00
Sam V
b7b6080a54 Show pickup icons in HUD for all weapons
ValveSoftware/halflife#3137
2022-03-01 13:55:56 +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
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
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
Sam V
0a180821d9 Remove unused nodes.h includes and unncessary WorldGraph forward declarations
Remove references to WorldGraph global inside CGraph class
#37
Resolves #48
2021-11-18 15:03:44 +01:00
Sam V
8cb9d9eb90 Remove obsolete preprocessor macro checks
Resolves #47
2021-11-15 19:11:50 +01:00
Sam V
940bf0b0e9 Remove unused skiplocal parameter
Resolves #38
2021-10-21 14:00:29 +02:00
Sam V
c82c3faa3d Fix rpg reload reading uninitialized variable
Resolves #42
2021-10-21 13:44:52 +02:00
Daniel Walder
81f8e9badb Remove some double semicolons 2021-03-29 21:28:44 +10:00
Solokiller
c74e99d590 Remove duplicate weapon animation enums 2021-03-16 20:52:58 +01:00
Solokiller
33385ad996 Fix incorrect idle time values for RPG fidget, satchel & snark grenade deploy animations
halflife issue #2495
2021-03-09 16:55:57 +01:00
Solokiller
77c312a91d Use override specifier where needed (clang-tidy modernize-use-override) 2021-03-05 23:07:22 +01:00
Solokiller
ef54c7f892 Remove void from functions taking no arguments (clang-tidy modernize-redundant-void-arg) 2021-03-05 21:20:59 +01: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
Solokiller
c31c918ed4 Fix RPG empty sound playing constantly
halflife issue #617
2021-01-31 15:27:49 +01:00
Solokiller
8092ab525f Change CRpgRocket m_pLauncher to EHANDLE
halflife issue #1719
2021-01-13 18:00:27 +01:00
Alfred Reynolds
de70fada50 initial seed of Half-Life 1 SDK 2013-08-30 13:34:05 -07:00