Commit graph

20 commits

Author SHA1 Message Date
Joël Troch
e760b9f988 [HL25] Backport changes from October 2nd 2024 2024-10-04 18:46:55 +02:00
Joël Troch
53e411ae9d [HL25] Add and use macro for engine filtered client command
Updated already fixed this by using the engine interface directly. This
commit is primarily to keep the "style consistency".
2024-08-28 10:58:27 +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
d72f9aa3f2 Pass director stufftext commands to filtered client command function
ValveSoftware/halflife#1497
2022-03-25 12:13:41 +01:00
Sam V
fd877127b1 Rename MAX_PLAYERS to MAX_PLAYERS_HUD
#96
2021-12-02 00:07:18 +01:00
Sam V
2b9b75ac97 Wrap braces after case label
#84
2021-11-29 20:55:01 +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
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
Daniel Walder
81f8e9badb Remove some double semicolons 2021-03-29 21:28:44 +10: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
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
8c77afebee Make char* parameters const where needed to silence compiler warnings 2020-02-13 16:45:03 +01:00
Sam
c9f2351d63 Convert player movement code to C++
Fix some incorrect math function declarations & definitions
2018-09-02 23:19:15 +02:00
Dominik Tugend
a800ff8246 Visual C++ 2010 Express support
fixes ValveSoftware/halflife#1338

Changes:
- added project files for Visual C++ 2010 Express
- resolved function calls that would otherwise be ambiguous now
- solved ARRAYSIZE macro and HSPRITE type collisions with Windows.h and
  winsock.h includes by guarding the includes

TODO:
We should think about if we actually should instead link to a .h that
defines / redirects the required macros, so that platform differences
would be limited to a few .cpp files (meaning not including windows.h in a
huge number of files as it is now), see the issue above for details.
2013-10-06 21:22:29 +02:00
Alfred Reynolds
de70fada50 initial seed of Half-Life 1 SDK 2013-08-30 13:34:05 -07:00