mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
124 files changed.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user