Commit graph

38 commits

Author SHA1 Message Date
Joël Troch
3d8b933478 [HL25] Backport changes to sentences
While keeping Updated's changes to it.
2024-08-28 16:59:46 +02:00
Joël Troch
33b2b3acd4 [HL25] Backport func_vehicle entity 2024-08-28 16:37:47 +02:00
Sam V
9c4af83c7d Rename CWorld::Instance to CWorld::World to avoid conflicting with CBaseEntity::Instance function name 2023-02-02 13:17:24 +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
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
a02eb834a7 Fix monster_tentacle not interpolating
ValveSoftware/halflife#3228
2022-03-28 12:37:15 +02:00
Marc-Antoine Lortie
fd2778ade7 Fixed wrong variable in HasTarget. 2021-12-03 19:31:04 -05: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
9ca8e6a47a Remove unused globals and duplicate global variable forward declarations
#89
2021-11-28 20:40:56 +01:00
Sam V
f5fc7fb5ad Remove unused types
Resolves #88
2021-11-28 19:44:03 +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
84e3e43dc1 Rework operator new and delete overloads to allocate memory directly
Resolves #71
2021-11-20 15:54:00 +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
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
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
33a3d10c6e Make CBaseEntity debug setters const correct 2021-11-01 14:34:43 +01:00
Solokiller
1fd1aef826 Move FNullEnt(CBaseEntity*) to cbase.h 2021-03-16 21:41:30 +01:00
Solokiller
50865d896a Remove duplicate Egon constants, move constants to weapons.h 2021-03-16 21:00:13 +01:00
Solokiller
6ebc5e048c Consolidate damage constants 2021-03-16 20:56:51 +01:00
Solokiller
5aef8c54fc Remove unnecessary returns and semicolons 2021-03-05 23:48:27 +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
57a4a6fa20 Ensure CBaseEntity::Instance(entvars_t*) does not cause crashes when given null pointer
halflife issue #3056
2021-03-05 19:13:40 +01:00
Solokiller
450d2ef23b Ensure entity destructors are called 2021-03-05 19:11:52 +01:00
Sam
3bf44134c4 Remove EHANDLE::operator int (operator CBaseEntity* should be used for null testing) 2020-02-13 17:44:46 +01:00
Sam
5badbcd5d5 Make char* parameters const where needed to silence compiler warnings 2020-02-13 17:30:21 +01:00
Sam
bf7e91dba9 Make char* parameters const where needed to silence compiler warnings 2020-02-13 16:33:57 +01:00
Sam
5d1d9739ba Make char* parameters const where needed to silence compiler warnings 2020-02-13 16:06:39 +01:00
Sam
f604b90f9a Refactor dllexport macro definitions 2018-09-03 10:47:51 +02:00
Alfred Reynolds
de70fada50 initial seed of Half-Life 1 SDK 2013-08-30 13:34:05 -07:00