Commit graph

70 commits

Author SHA1 Message Date
Joël Troch
450c27de55 [HL25] Backport comments about "netadr_s" structure 2024-08-28 13:42:29 +02:00
Joël Troch
392e9646c0 [HL25] Rename extra CVAR flags and update descriptions 2024-08-28 13:42:26 +02:00
Joël Troch
ae20553127 [HL25] Backport flesh hit sound fix 2024-08-28 10:10:34 +02:00
Sam V
6ecc8f298b Fix entities with an index greater than 2047 corrupting the client's heap if sent over the network
Resolves #191
2023-02-04 14:29:11 +01: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
FranticDreamer
4721651f95 Add a Note for Deprecation of Clamp Macro 2022-05-05 04:51:36 +03:00
Sam V
c3c55763b1 Fix player physics hull sizes not initializing properly
Resolves ValveSoftware/halflife#3229
2022-01-21 15:50:17 +01:00
Sam V
ba86343786 Implement particle manager in client library
#122
2021-12-24 16:22:25 +01:00
Sam V
c846975d52 Add new cvar flags for command filtering
Resolves #121
2021-12-16 15:59:58 +01:00
Sam V
5bd7db9bbd Remove MAX_PATH definition
#59
2021-12-07 17:05:01 +01: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
7258d55f06 Silence MSVC compiler warnings C26495, C26451 and C26812
#91
2021-11-28 21:50:12 +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
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
c5b1932a86 Remove all remaining references to BOOL
Rework all uses of BOOL member variables to use bool instead
Change save game system to use bool for FIELD_BOOLEAN
Remove BOOL typedefs
#59
2021-11-19 20:40:36 +01:00
Sam V
7a56b3a50e Remove obsolete Linux FALSE and TRUE constants
#59
2021-11-19 13:45:33 +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
a2d7db621d Rework all uses of BYTE to use byte instead
#59
2021-11-18 21:57:21 +01:00
Sam V
44a3e2f397 Rework all uses of ULONG to use unsigned int instead
#59
2021-11-18 21:55:07 +01:00
Sam V
5f45923e1b Remove preprocessor definitions handled in Platform.h from makefiles, remove obsolete function alias on Linux
Resolves #61
#59
2021-11-18 21:49:29 +01:00
Sam V
de5c98ce1b Include climits & cstdarg unconditionally in Platform.h
#59
2021-11-18 21:38:37 +01:00
Sam V
87bdd89ce3 Use vsnprintf instead of _vsnprintf
Resolves #61
2021-11-18 21:28:12 +01:00
Sam V
287caae1c9 Move platform-specific code from interface.h to interface.cpp, clean up implementation
#59
2021-11-18 21:18:30 +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
26b2d4b114 Include cstddef in Platform.h, remove offsetof definition from eiface (provided by new header)
#59
2021-11-18 20:27:59 +01:00
Sam V
7577273be2 Remove obsolete math functions related to float-to-int conversions
#59
2021-11-18 20:24:18 +01:00
Sam V
f7f6b08000 Remove unnecessary pragma pack uses
#59
2021-11-18 20:20:46 +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
d5af66de0a Remove preprocessor condition check with identical branches
#59
2021-11-18 20:13:17 +01:00
Sam V
667e0aea57 Use WIN32 preprocessor macro instead of _WIN32
Resolves #62
2021-11-18 20:02:04 +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
4e44cba47d Remove more redundant include guards #52 2021-11-18 19:35:03 +01:00
Sam V
58c150d8f6 Convert include guards that use !defined to pragma once
Resolves #50
2021-11-18 19:31:43 +01:00
Sam V
217f6155a0 Remove duplicate interface.h/.cpp files
Resolves #60
2021-11-18 19:23:03 +01:00
Sam V
0a3c17b92f Convert all include guards to pragma once
Resolves #50
2021-11-18 19:17:53 +01:00
Sam V
fddcb4cbc6 Remove redundant include guards
#52
2021-11-18 18:59:23 +01:00
Sam V
45117081f6 Merge platform abstraction headers
Resolves #53
2021-11-18 18:50:39 +01:00
Sam V
2c911f96bc Rework uses of Windows API types in input code to use standard types
#59
2021-11-18 18:46:42 +01:00
Sam V
191b8fe1cb Remove extern C wrappers around functions
Resolves #58
2021-11-18 18:24:18 +01:00
Sam V
4b7226e44b Define platform-agnostic types for common structures
Resolves #56
2021-11-18 17:50:02 +01:00
Sam V
8656016bc1 Disable as many Windows.h dependencies as possible
Resolves #49
2021-11-18 15:28:30 +01:00
Sam V
d646a03122 Add new cvar flags added by recent engine updates
Resolves #46
2021-11-13 14:09:07 +01:00
Solokiller
7fa043d214 Add new variables to player_info_t struct
Resolves #19
2021-03-22 10:59:36 +01:00
Solokiller
fee74cbf90 Move clamp macro to Platform.h 2021-03-16 21:39:28 +01:00