Commit graph

15 commits

Author SHA1 Message Date
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
5d8dc698a9 Change return type of GetWeaponptr to CBasePlayerWeapon*
#157
2022-07-22 18:46:04 +02:00
Sam V
42f45bdaec Fix weapon deploy animations caused by lastinv command not working properly
Resolves #154
2022-07-20 17:28:02 +02:00
Sam V
62525c6f27 Fix players not being given exhaustible weapons when they get the ammo for them
Resolves #153
2022-07-20 13:09:57 +02: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
Sam V
940bf0b0e9 Remove unused skiplocal parameter
Resolves #38
2021-10-21 14:00:29 +02:00
Solokiller
a3783be71e Move duplicated weapons code into weapons_shared.cpp 2021-03-16 21:26:03 +01:00