Commit graph

27 commits

Author SHA1 Message Date
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
Joël Troch
33b2b3acd4 [HL25] Backport func_vehicle entity 2024-08-28 16:37:47 +02:00
Joël Troch
ebaf86de92 [HL25] Backport Python multiplayer damage buff 2024-08-28 10:29:24 +02:00
Joël Troch
91ea9ed318 [HL25] Backport safer strings operations
One exception where Updated's existing work has been kept is in
CHudTextMessage::LocaliseTextString.

See those commits for details:
- d2da2f17fd
- a3aeea468f
2024-08-28 09:58:59 +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
96526a6f5f Automatically switch away from exhaustible weapons that have no ammo left
Resolves #133
2022-03-13 21:38:34 +01:00
Sam V
c633af888f Add support for adding 64 weapons
Resolves #98
2021-12-02 13:49:56 +01:00
Sam V
2b9b75ac97 Wrap braces after case label
#84
2021-11-29 20:55:01 +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
Sam V
262027b24e Include cctype in Platform.h, always include enums.h in APIProxy.h, remove unnecessary string.h include
#59
2021-11-18 20:20:32 +01:00
Sam V
667e0aea57 Use WIN32 preprocessor macro instead of _WIN32
Resolves #62
2021-11-18 20:02:04 +01:00
Sam V
8cb9d9eb90 Remove obsolete preprocessor macro checks
Resolves #47
2021-11-15 19:11:50 +01:00
Solokiller
77c312a91d Use override specifier where needed (clang-tidy modernize-use-override) 2021-03-05 23:07:22 +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
e7bb9d7e65 Implement cl_autowepswitch cvar
halflife issues #169 & #2749
2021-02-06 20:37:40 +01:00
Sam
ccad6fe576 Make char* parameters const where needed to silence compiler warnings 2020-02-13 17:15:27 +01:00
Joël Troch
39524f609d Add fixes for Linux (GCC 8) 2018-09-03 00:01:23 +02:00
Alfred Reynolds
de70fada50 initial seed of Half-Life 1 SDK 2013-08-30 13:34:05 -07:00