Commit graph

25 commits

Author SHA1 Message Date
Joël Troch
6ae5366a52 [HL25] Fix trigger_hurt healing dead players in multiplayer 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
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
b9adea925b Print error message if trigger_changelevel points to itself 2022-07-17 18:01:57 +02:00
Sam V
565c27f615 Use MAX_PLAYERS everywhere for maximum player count
#96
2021-12-02 00:32:12 +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
660643853c Rework CSave & CRestore to eliminate null data pointers, clean up code a bit
Resolves #94
#91
2021-11-29 19:48:37 +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
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
95741e9022 Remove unnecessary delta time calculations from camera 2021-03-12 10:04:09 +01:00
Solokiller
91944d181d Remove double application of frametime on avelocity 2021-03-11 15:36:37 +01:00
Solokiller
9f9fc32188 Ensure trigger_camera delta times aren't enormous if cameras are reused 2021-03-11 15:11:08 +01:00
Solokiller
66b1f30d52 Fix trigger_camera movement speed being framerate-dependent
halflife issue #2924
2021-03-11 15:06:13 +01:00
Solokiller
77c312a91d Use override specifier where needed (clang-tidy modernize-use-override) 2021-03-05 23:07:22 +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
5fd0acb89e Restore player view entity on save game load
halflife issue #3031
2021-02-05 16:13:14 +01:00
Sam
7be78fe21a Fix invalid uses of NULL macro 2020-02-13 17:49:35 +01:00
Alfred Reynolds
de70fada50 initial seed of Half-Life 1 SDK 2013-08-30 13:34:05 -07:00