Commit graph

37 commits

Author SHA1 Message Date
Joël Troch
6d95ec7d03 [HL25] Backport changes to CS bot place loading code 2024-08-28 11:04:35 +02:00
Joël Troch
e880a9da6f [HL25] Backport index out of bounds fixes 2024-08-28 09:58:59 +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
ab5735c1cf Implement Valve game directory detection check to prevent incorrect use of mod dlls 2024-01-06 22:52:17 +01:00
Sam V
521b9c02c0 Fix incorrect variable name 2023-06-25 14:15:19 +02:00
Sam V
04c63d0aa9 Fix node graph code incorrectly flagging node graphs as out of date if an outdated graph exists in a search path other than the mod directory 2023-06-25 13:52:56 +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
273aab1d34 Format all files according to current formatting rules 2022-08-04 12:30:11 +02:00
Sam V
609eafda57 Fix node graphs being loaded from search paths other than GAMECONFIG path
Resolves #145
2022-04-04 15:56:53 +02:00
Sam Vanheer
e93918c216
Merge branch 'master' into remove-dmc-threewave-ifdefs 2021-12-04 20:40:37 +01:00
Sam Vanheer
cb5a9755a0
Merge branch 'master' into remove-blueshift-ifdefs 2021-12-04 20:39:59 +01:00
Sam Vanheer
456aa847c3
Merge branch 'master' into remove-dod-ifdefs 2021-12-04 20:39:34 +01:00
Sam Vanheer
1d4a72e61a
Merge branch 'master' into remove-cstrike-ifdefs 2021-12-04 20:38:45 +01:00
Marc-Antoine Lortie
12078bcd42 Removed DMC_BUILD and THREEWAVE ifdefs. 2021-12-04 12:49:29 -05:00
Marc-Antoine Lortie
117cf8d0d0 Removed BLUESHIFT ifdefs. 2021-12-04 12:42:20 -05:00
Marc-Antoine Lortie
c1a504c150 Removed DOD ifdefs. 2021-12-04 12:38:59 -05:00
Marc-Antoine Lortie
ea78306f91 Removed CSTRIKE ifdefs. 2021-12-04 12:34:59 -05:00
Marc-Antoine Lortie
08a271bf30 Removed CZERO ifdefs. 2021-12-04 12:29:05 -05:00
Sam V
565c27f615 Use MAX_PLAYERS everywhere for maximum player count
#96
2021-12-02 00:32:12 +01:00
Sam V
2b9b75ac97 Wrap braces after case label
#84
2021-11-29 20:55:01 +01:00
Sam V
3e9a8f0509 Fix uses of sscanf not checking return values
#91
2021-11-28 22:31:14 +01:00
Sam V
3f76ed399c Provide access to engine filesystem
Resolves #86
2021-11-28 19:04:12 +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
87bdd89ce3 Use vsnprintf instead of _vsnprintf
Resolves #61
2021-11-18 21:28:12 +01:00
Sam V
c2699feb31 Remove archtypes.h, rely on Platform.h to define certain types and include headers
#59
2021-11-18 20:33:58 +01:00
Sam V
91cf9de3b4 Use snprintf everywhere instead of _snprintf
Resolves #61
2021-11-18 19:55:00 +01:00
Sam V
3be00f1fb7 Add pragma once to all headers that need it
#51
2021-11-18 19:48:34 +01:00
Sam V
0a3c17b92f Convert all include guards to pragma once
Resolves #50
2021-11-18 19:17:53 +01:00
Sam V
4b7226e44b Define platform-agnostic types for common structures
Resolves #56
2021-11-18 17:50:02 +01:00
Daniel Walder
317511e4e1 Use override specifier where needed (clang-tidy modernize-use-override) 2021-03-21 20:23:32 +10:00
Solokiller
543642441f Use override specifier where needed (clang-tidy modernize-use-override) 2021-03-05 23:29:40 +01:00
Sam
d737eb4649 Add check to make sure fread calls succeeded before using results 2020-02-15 18:23:26 +01:00
Sam
ef33d579f9 Include Platform.h where needed for Linux compilation 2020-02-13 14:53:30 +01:00
Alfred Reynolds
de70fada50 initial seed of Half-Life 1 SDK 2013-08-30 13:34:05 -07:00