Commit graph

23 commits

Author SHA1 Message Date
Joël Troch
203f7d86fa [HL25] Backport several float specifiers 2024-08-28 18:20:20 +02:00
Sam V
e306d7af9c Fix talk monsters resetting other talk monsters' dying schedule if they are both killed at the same time 2023-10-24 19:38:48 +02:00
Sam V
3c7d4ed35f Fix crash when +USEing NPCs that have just exited a scripted sequence 2023-10-14 14:56:02 +02:00
Sam V
d667a2460c Fix potential incorrect facing in scripted sequence 2023-05-28 15:01:49 +02:00
Sam V
3f68a771ca Fix being able to break scripted_sequence by +using friendly NPCs to make them follow player
Resolves SamVanheer/halflife-updated#200
2023-05-28 14:20:01 +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
f2c8e2346e Access world through global, access local player through helper function, remove some obsolete utility functions
ValveSoftware/halflife#3307
2022-10-07 16:40:56 +02:00
Sam V
85467c5a32 Fix NPCs being able to speak scripted_sentences while dying
#171
2022-09-22 19:24:08 +02: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
bed2ed9f80 Fix unannotated fallthrough warnings
#91
2021-11-28 22:10:47 +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
Solokiller
8247ed76ea Remove void from functions taking no arguments (clang-tidy modernize-redundant-void-arg) 2021-03-05 20:54:33 +01:00
Sam
5badbcd5d5 Make char* parameters const where needed to silence compiler warnings 2020-02-13 17:30:21 +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