Commit graph

16 commits

Author SHA1 Message Date
Sam V
3f9f9bf9f8 Enable readability-delete-null-pointer clang-tidy check, fix occurrences
#66
2021-11-30 00:20:27 +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
660643853c Rework CSave & CRestore to eliminate null data pointers, clean up code a bit
Resolves #94
#91
2021-11-29 19:48:37 +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
8567d92b74 Fix infodecal not reporting keyvalue texture as handled
Resolves #73
2021-11-20 17:16:17 +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
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
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
04f8b91ffa Query value of sv_cheats on demand instead of caching it
halflife issue #2511
2021-02-17 14:08:50 +01:00
Sam
0d0f4ee60c Make char* parameters const where needed to silence compiler warnings 2020-02-13 16:18:06 +01:00
Alfred Reynolds
de70fada50 initial seed of Half-Life 1 SDK 2013-08-30 13:34:05 -07:00