Commit graph

39 commits

Author SHA1 Message Date
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
89610a2d53 Correctly save and restore controller and blending variables
Resolves #175
2022-10-25 16:39:07 +02:00
Sam V
e2eadc6438 Add support for saving and restoring 64 bit integers
Resolves #99
2021-12-02 13:43:00 +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
bce3b78653 Replace all uses of TRUE with true
#59
2021-11-19 13:45:16 +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
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
26b2d4b114 Include cstddef in Platform.h, remove offsetof definition from eiface (provided by new header)
#59
2021-11-18 20:27:59 +01:00
Sam V
d913460bb5 Remove commented out dllexport definitions, simplify SAVERESTOREDATA type definition
#59
2021-11-18 20:21:12 +01:00
Sam V
262027b24e Include cctype in Platform.h, always include enums.h in APIProxy.h, remove unnecessary string.h include
#59
2021-11-18 20:20:32 +01:00
Sam V
667e0aea57 Use WIN32 preprocessor macro instead of _WIN32
Resolves #62
2021-11-18 20:02:04 +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
fddcb4cbc6 Remove redundant include guards
#52
2021-11-18 18:59:23 +01:00
Sam V
191b8fe1cb Remove extern C wrappers around functions
Resolves #58
2021-11-18 18:24:18 +01:00
Sam V
74daa12d6c Remove obsolete engine APIs related to security modules
Resolves #57
2021-11-18 17:56:44 +01:00
Sam V
4b7226e44b Define platform-agnostic types for common structures
Resolves #56
2021-11-18 17:50:02 +01:00
Sam V
8cb9d9eb90 Remove obsolete preprocessor macro checks
Resolves #47
2021-11-15 19:11:50 +01:00
Sam V
401606ccbf Make pfnEngSrc_Cvar_set_t const correct 2021-11-14 14:31:57 +01:00
Sam V
df8f719830 Improve const correctness in engine APIs 2021-11-10 12:36:02 +01:00
Sam V
2ff6a81a5b Make event playback functions const correct
Resolves #41
2021-10-21 13:52:04 +02:00
Solokiller
6fa9a34fcc Remove hud_iface.h (redundant) 2021-03-17 10:19:59 +01:00
Solokiller
c7c8b49604 Fix CreateBaseline using player bounds parameters incorrectly
halflife issue #3078
2021-03-16 21:35:40 +01:00
Solokiller
003f0cd387 Remove duplicate SND_CHANGE_PITCH constant, move ARRAYSIZE definition to Platform.h 2021-03-16 21:05:51 +01: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
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
05c498f187 Add new engine functions added in the latest engine updates 2021-02-21 22:37:33 +01:00
Solokiller
c39eca969c Move user message globals & link function to its own file, declare all user messages once 2021-02-17 17:10:14 +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
0d0f4ee60c Make char* parameters const where needed to silence compiler warnings 2020-02-13 16:18:06 +01:00
Sam
5d1d9739ba Make char* parameters const where needed to silence compiler warnings 2020-02-13 16:06:39 +01:00
Sam
af2af00f26 Comment out EIFACE_H following #endif (can cause compiler warnings/errors) 2018-09-03 10:52:31 +02:00
Alfred Reynolds
de70fada50 initial seed of Half-Life 1 SDK 2013-08-30 13:34:05 -07:00