Commit graph

41 commits

Author SHA1 Message Date
Joël Troch
33b2b3acd4 [HL25] Backport func_vehicle entity 2024-08-28 16:37:47 +02:00
Joël Troch
a542e4a00a [HL25] Backport crowbar full swing fix
This commit also reverts fe8a54065c to
prevent potential conflicts. Seems to be identical to vanilla behavior.
2024-08-28 10:27:39 +02:00
Joël Troch
ae20553127 [HL25] Backport flesh hit sound fix 2024-08-28 10:10:34 +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
d0f31f3200 Revert "Have clients select weapons by ID, rather than by name"
This reverts commit 20b66b95fa.
2023-11-12 14:29:03 +01:00
Sam V
19d94e479a Add sv_load_all_maps & sv_stop_loading_all_maps to help automate node graph generation 2023-10-29 14:31:56 +01:00
Justin
20b66b95fa Have clients select weapons by ID, rather than by name 2023-08-19 12:43:35 -07:00
Sam V
a1cf2d38bb Add cvar sv_allowbunnyhopping to control whether the bunny hopping limiter is enabled 2023-08-14 13:03:37 +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
Sam V
5d8dc698a9 Change return type of GetWeaponptr to CBasePlayerWeapon*
#157
2022-07-22 18:46:04 +02:00
Sam V
66fb780ba4 Fix ServerActivate checking for player entities incorrectly
Resolves ValveSoftware/halflife#3282
2022-06-13 12:25:05 +02:00
Sam V
a02eb834a7 Fix monster_tentacle not interpolating
ValveSoftware/halflife#3228
2022-03-28 12:37:15 +02:00
Sam V
decaa8038c Allow weapons to network data as needed 2022-02-21 15:45:55 +01: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
29e93ca8fb Fix models stuttering due to client side interpolation
Resolves ValveSoftware/halflife#3228
2022-01-19 17:33:50 +01:00
Sam V
e01645e239 Use MAX_WEAPONS constant instead of magic numbers
#97
2021-12-02 00:15:31 +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
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
0b334a3216 Rework all uses of BOOL in function declarations with bool or qboolean
#59
2021-11-19 14:31:11 +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
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
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
Solokiller
e5d27bf2b4 Ensure player entity is valid in ClientCommand 2021-03-17 23:48:00 +01:00
Solokiller
c7c8b49604 Fix CreateBaseline using player bounds parameters incorrectly
halflife issue #3078
2021-03-16 21:35:40 +01:00
Solokiller
61097e1835 Remove duplicate player view constants
Define constant for dead player view
Clean up magic numbers to use constants
2021-03-16 20:44:35 +01:00
Solokiller
a04cec2282 Make hull vectors constexpr constants
Fix GetHullBounds & HUD_GetHullBounds using wrong syntax to copy vectors
halflife issue #1703
2021-03-16 20:25:49 +01:00
Solokiller
90bd0f2274 Refactor Vector code to remove use of vec3_t
Remove duplicate Vector definitions in util_vector.h
Remove shared_vec3_origin
Remove unused vector functions
2021-03-16 19:45:46 +01:00
Solokiller
992fef1048 Refactor ClientCommand to acquire the player pointer only once 2021-03-16 13:53:52 +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
c39eca969c Move user message globals & link function to its own file, declare all user messages once 2021-02-17 17:10:14 +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
Solokiller
6f8aac969d Remove all uses of pev->fov to simplify changing fov
halflife issue #3044
2021-02-16 18:50:02 +01:00
Solokiller
de2751ca41 Stop controlling func_tank on disconnect
halflife issue #2594
2021-01-31 16:24:47 +01:00
Sam
5badbcd5d5 Make char* parameters const where needed to silence compiler warnings 2020-02-13 17:30:21 +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