124 files changed.

This commit is contained in:
Milxnor
2023-04-15 19:53:58 -04:00
parent 63473de425
commit bbf28ed9e9
124 changed files with 60988 additions and 577 deletions

View File

@@ -7,6 +7,8 @@
typedef unsigned short uint16;
typedef unsigned char uint8;
typedef char int8;
typedef short int16;
typedef int int32;
typedef __int64 int64;
typedef unsigned int uint32;
@@ -16,6 +18,8 @@ extern inline int Engine_Version = 0; // For example, 420, 421, etc. // Prevent
extern inline double Fortnite_Version = 0; // For example, 4.1, 6.21, etc. // Prevent using this when possible.
extern inline int Fortnite_CL = 0;
// #define PROD // this doesnt do anything besides remove processeventhook and some assert stuff
struct PlaceholderBitfield
{
uint8_t First : 1;
@@ -39,4 +43,11 @@ struct PlaceholderBitfield
inline constexpr Enum operator& (Enum Lhs, Enum Rhs) { return (Enum)((__underlying_type(Enum))Lhs & (__underlying_type(Enum))Rhs); } \
inline constexpr Enum operator^ (Enum Lhs, Enum Rhs) { return (Enum)((__underlying_type(Enum))Lhs ^ (__underlying_type(Enum))Rhs); } \
inline constexpr bool operator! (Enum E) { return !(__underlying_type(Enum))E; } \
inline constexpr Enum operator~ (Enum E) { return (Enum)~(__underlying_type(Enum))E; }
inline constexpr Enum operator~ (Enum E) { return (Enum)~(__underlying_type(Enum))E; }
#define UNLIKELY(x) (x)
inline bool AreVehicleWeaponsEnabled()
{
return Fortnite_Version < 9;
}