Commit graph

371 commits

Author SHA1 Message Date
Sam V
04db76ac80 Allow short case labels on single line, wrap braces before lambda bodies
#84
2021-11-29 22:53:18 +01:00
Sam V
2b9b75ac97 Wrap braces after case label
#84
2021-11-29 20:55:01 +01:00
Sam V
55a1e89af5 Fix CTalkMonster::RunTask not properly initializing variable
Resolves ValveSoftware/halflife#3177
2021-11-29 20:47:47 +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
4dda07c61b Fix Human Grunt checking enemy incorrectly in CheckMeleeAttack1
Resolves ValveSoftware/halflife#3176
2021-11-29 20:10:50 +01:00
Sam V
70b19f7bed Fix uninitialized variable warnings that aren't bugs
#91
2021-11-29 20:05:47 +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
355a261d61 Remove unused VGUI1 code in vgui_int.cpp
Resolves #93
2021-11-28 22:32:38 +01:00
Sam V
3e9a8f0509 Fix uses of sscanf not checking return values
#91
2021-11-28 22:31:14 +01:00
Sam V
bed2ed9f80 Fix unannotated fallthrough warnings
#91
2021-11-28 22:10:47 +01:00
Sam V
c9f80801e5 FIx incorrect deletion of memory allocated with new[]
#91
2021-11-28 22:06:41 +01:00
Sam V
e27bc780a1 Overhaul vector types to use constexpr, simplify code
Fix uninitialized variable warnings in Vector2D
Resolves #92
#91
2021-11-28 22:01:47 +01:00
Sam V
7258d55f06 Silence MSVC compiler warnings C26495, C26451 and C26812
#91
2021-11-28 21:50:12 +01:00
Sam V
12b0c03013 Remove obsolete interface APIs
Resolves #90
2021-11-28 21:39:21 +01:00
SamVanheer
a5da63606f Add filesystem_utils.cpp & interface.cpp to client & server libraries #86 2021-11-28 21:10:08 +01:00
Sam V
c5109c80b3 Remove globals.cpp from Makefile
#88
2021-11-28 20:56:41 +01:00
Sam V
a920825859 Set GCC C++ standard version to 17
#85
2021-11-28 20:56:06 +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
f5fc7fb5ad Remove unused types
Resolves #88
2021-11-28 19:44:03 +01:00
Sam V
6d5cf9fbeb Remove platform-specific headers from Platform.h, use PlatformHeaders.h for code that needs it
Resolves #59
2021-11-28 19:38:42 +01:00
Sam V
1f2f27aacf Use engine filesystem to load and save node graph files
Resolves #87
2021-11-28 19:34:20 +01:00
Sam V
3f76ed399c Provide access to engine filesystem
Resolves #86
2021-11-28 19:04:12 +01:00
Sam V
0e54a058fb Set C++ standard to 17
Resolves #85
2021-11-28 19:03:01 +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
adf708f026 Add .clang-format file to configure project formatting rules
#84
2021-11-28 16:45:14 +01:00
Sam V
53b475dcc4 Enable use of Clang-tidy when running code analysis, enable readability-implicit-bool-conversion check
#66
2021-11-28 16:21:48 +01:00
Sam V
d6629ed767 Fix Snark movetype being changed unconditionally
Resolves ValveSoftware/halflife#3175
2021-11-28 16:16:29 +01:00
Sam V
bae39547c8 Fix FIELD_BOOLEAN using int size instead of byte size for saving and restoring
Resolves #65
2021-11-28 16:06:37 +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 Vanheer
890e5492f8
Merge pull request #82 from malortie/delete-scoreboard.cpp
Delete scoreboard.cpp
2021-11-28 15:15:34 +01:00
Sam Vanheer
b612eb8b0a
Merge pull request #81 from malortie/delete-MOTD.cpp
Delete MOTD.cpp
2021-11-28 15:15:26 +01:00
Sam Vanheer
7f6f4a6b47
Merge pull request #80 from malortie/delete-mpstubb.cpp
Delete mpstubb.cpp
2021-11-28 15:15:19 +01:00
Sam Vanheer
40fb52439d
Merge pull request #79 from malortie/remove-dmc-ricochet-vs2017-projects-files
Remove DMC & Ricochet vs2017 projects files.
2021-11-28 15:15:10 +01:00
Sam Vanheer
ade9c5d952
Merge pull request #78 from malortie/delete-glock.cpp
Delete glock.cpp
2021-11-28 15:15:03 +01:00
Sam Vanheer
fb34a2cfcf
Merge pull request #77 from malortie/delete-AI_BaseNPC_Schedule.cpp
Delete AI_BaseNPC_Schedule.cpp
2021-11-28 15:14:53 +01:00
Sam Vanheer
a3c9b9cb63
Merge pull request #76 from malortie/redundant-crowbar-miss-anim
Removed redundant crowbar miss animation call.
2021-11-28 15:14:23 +01:00
Marc-Antoine Lortie
b629c28519 Delete scoreboard.cpp 2021-11-27 11:09:18 -05:00
Marc-Antoine Lortie
3cc06fb86d Delete MOTD.cpp 2021-11-27 11:02:34 -05:00
Marc-Antoine Lortie
63f70f6126 Delete mpstubb.cpp 2021-11-27 10:55:31 -05:00
Marc-Antoine Lortie
cb1d2c67d9 Removed Ricochet VS2017 projects files. 2021-11-27 10:48:57 -05:00
Marc-Antoine Lortie
bb6fa49fb9 Removed DMC VS2017 projects files. 2021-11-27 10:48:40 -05:00
Marc-Antoine Lortie
9e8d1d7566 Delete glock.cpp 2021-11-27 10:33:15 -05:00
Marc-Antoine Lortie
b6cb3b284c Delete AI_BaseNPC_Schedule.cpp 2021-11-27 10:27:06 -05:00
Marc-Antoine Lortie
a5bbf4dfd5 Removed redundant crowbar miss animation call. 2021-11-27 10:07:30 -05:00
Sam Vanheer
feed375cea
Merge pull request #75 from malortie/remove-duplicate-line
Removed identical line in conditional statement.
2021-11-24 13:42:12 +01:00
Sam Vanheer
a0e3580a4b
Merge pull request #74 from malortie/fix-beam-attachment
Fixed beam attachment invalidated on restore.
2021-11-24 13:40:31 +01:00
Marc-Antoine Lortie
09fb4d0f97 Removed identical line in conditional statement. 2021-11-20 15:37:42 -05:00
Marc-Antoine Lortie
497b213c73 Fixed beam attachment invalidated on restore. 2021-11-20 11:17:32 -05:00
Sam V
8567d92b74 Fix infodecal not reporting keyvalue texture as handled
Resolves #73
2021-11-20 17:16:17 +01:00
Sam V
c3e05db64a Fix func_rotating not reporting keyvalue spawnorigin as handled
Resolves #72
2021-11-20 16:49:36 +01:00