Commit graph

42 commits

Author SHA1 Message Date
Joël Troch
203f7d86fa [HL25] Backport several float specifiers 2024-08-28 18:20:20 +02:00
Joël Troch
854187a573 [HL25] Backport client stuck fixes 2024-08-28 16:37:50 +02:00
Joël Troch
4f0d502e4e [HL25] Backport fixes to pushable
Including the "sv_pushable_fixed_tick_fudge" CVAR functionality.
2024-08-28 16:37:49 +02: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
f3810c7107 Disable jump sounds while player is frozen 2023-06-23 22:01:58 +02:00
Sam V
1d5610c178 Fix func_friction not working properly in multiplayer
ValveSoftware/halflife#1542
2023-03-06 14:02:01 +01:00
Sam V
840d119cd2 Remove redundant material type constants 2023-03-06 13:30:25 +01:00
Sam V
2f29611676 Print texture type along with texture name when using impulse 107, make PM_FindTextureType const correct 2023-02-02 17:24:12 +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
1d0831a341 Try to unstuck player after level transition if stuck in the world
Resolves #165
2022-09-14 21:33:34 +02:00
Sam V
5355d3deac Clean up pm_shared.h declarations & remove duplicate declarations in cbase.cpp 2022-09-14 21:15:05 +02:00
Sam V
f2f5ecc92e Fix PM_TraceModel possibly returning uninitialized trace
Resolves ValveSoftware/halflife#3283
2022-07-12 14:36:27 +02:00
Sam V
fd4d92e3a8 Fix weapon empty sound playing twice
Resolves ValveSoftware/halflife#3231
2022-01-23 15:44:51 +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
Marc-Antoine Lortie
cccdb1e331 Removed _TFC ifdefs. 2021-12-04 12:01:32 -05:00
Sam V
565c27f615 Use MAX_PLAYERS everywhere for maximum player count
#96
2021-12-02 00:32: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
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
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
0a3c17b92f Convert all include guards to pragma once
Resolves #50
2021-11-18 19:17:53 +01:00
Sam V
8cb9d9eb90 Remove obsolete preprocessor macro checks
Resolves #47
2021-11-15 19:11:50 +01:00
Solokiller
25aa93ddc0 Fix PM_GetRandomStuckOffsets not taking offset parameter by reference 2021-04-08 14:55:46 +02: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
8198c2a13e Properly define model_s & model_t in pm_defs.h to silence Intellisense errors 2021-03-16 20:03:12 +01:00
Solokiller
23436202bc Move primitive types aliases to Platform.h when possible 2021-03-16 20:01:08 +01:00
Solokiller
f7186ba0ac Consolidate math header includes 2021-03-16 19:51:04 +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
8247ed76ea Remove void from functions taking no arguments (clang-tidy modernize-redundant-void-arg) 2021-03-05 20:54:33 +01:00
Sam
42d1f06f09 Change temporary variable types from float to double to silence compiler warnings 2020-02-14 18:36:41 +01:00
Sam
1c857514f3 Remove obsolete macros & conditional code compilation 2020-02-14 12:47:08 +01:00
Sam
5d1d9739ba Make char* parameters const where needed to silence compiler warnings 2020-02-13 16:06:39 +01:00
Sam
dd61140579 Fix linker error involving multiple vec3_origin globals 2020-02-13 14:44:11 +01:00
Sam
69984404e2 Remove duplicate math functions, move ConcatTransforms to pm_math.cpp 2018-09-03 14:35:22 +02:00
Sam
e0e1e15d86 Clean up math functions to avoid function redefinition errors 2018-09-03 14:15:48 +02:00
Sam
bbe4dd697c Updated references to min & max to use V_min & V_max 2018-09-03 13:07:15 +02:00
Sam
0681c401d1 Ensure V_min & V_max are defined on Windows, define in Platform.h only 2018-09-03 10:26:06 +02:00
Joël Troch
39524f609d Add fixes for Linux (GCC 8) 2018-09-03 00:01:23 +02:00
Sam
c9f2351d63 Convert player movement code to C++
Fix some incorrect math function declarations & definitions
2018-09-02 23:19:15 +02:00
Alfred Reynolds
de70fada50 initial seed of Half-Life 1 SDK 2013-08-30 13:34:05 -07:00