Commit graph

31 commits

Author SHA1 Message Date
Joël Troch
2f11031b33 [HL25] Increase max. sentences count 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
273aab1d34 Format all files according to current formatting rules 2022-08-04 12:30:11 +02:00
Sam V
53d80dd307 Make CallOnDestroy constructor explicit
ValveSoftware/halflife#3137
2022-03-03 13:58:58 +01:00
Sam V
b7b6080a54 Show pickup icons in HUD for all weapons
ValveSoftware/halflife#3137
2022-03-01 13:55:56 +01:00
Sam V
094780b1e4 Fix UTIL_IsServer returning inverted value
Resolves #130
2022-02-28 21:29:58 +01:00
Sam V
063b8a5227 Account for players being able to turn cl_lw off when playing empty sound
ValveSoftware/halflife#3231
2022-01-24 12:27:27 +01:00
Sam V
54fc1fdff9 Fix egon gun stop sound playing twice
Resolves ValveSoftware/halflife#3232
2022-01-23 16:02:43 +01:00
Sam V
5b63030b4c Remove unused function UTIL_GetNextBestWeapon 2022-01-19 17:03:57 +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
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
0b334a3216 Rework all uses of BOOL in function declarations with bool or qboolean
#59
2021-11-19 14:31:11 +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
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
3be00f1fb7 Add pragma once to all headers that need it
#51
2021-11-18 19:48:34 +01:00
Sam V
fddcb4cbc6 Remove redundant include guards
#52
2021-11-18 18:59:23 +01:00
Sam V
2ff6a81a5b Make event playback functions const correct
Resolves #41
2021-10-21 13:52:04 +02: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
7396ac2e77 Make Vector constructors constexpr
Refactor g_vecZero & vec3_origin into constexpr constants
Make R_TempSprite dir parameter const
2021-03-16 20:24:00 +01:00
Solokiller
9eca76dccf Move FindEntityForward to util.h/.cpp & rename to UTIL_FindEntityForward 2021-03-16 13:52:59 +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
ccad6fe576 Make char* parameters const where needed to silence compiler warnings 2020-02-13 17:15:27 +01:00
Sam
f604b90f9a Refactor dllexport macro definitions 2018-09-03 10:47:51 +02:00
Sam
7e2ba2d1f5 Remove unused typedef specifier 2018-09-02 22:46:34 +02:00
Alfred Reynolds
de70fada50 initial seed of Half-Life 1 SDK 2013-08-30 13:34:05 -07:00