quite a bit

llamas, fix some ltm specific stuff, add auto bus start for auto restart,  work in progress lategame on 1.11, fix a crash, performance
This commit is contained in:
Milxnor
2023-05-04 20:46:48 -04:00
parent f49f166c2d
commit a4ed589aab
31 changed files with 477 additions and 93 deletions

View File

@@ -2,9 +2,20 @@
#include "Actor.h"
enum class EFortSafeZoneState : uint8_t
{
None = 0,
Starting = 1,
Holding = 2,
Shrinking = 3,
EFortSafeZoneState_MAX = 4
};
class AFortSafeZoneIndicator : public AActor
{
public:
static inline void (*OnSafeZoneStateChangeOriginal)(AFortSafeZoneIndicator* SafeZoneIndicator, EFortSafeZoneState NewState, bool bInitial);
float& GetSafeZoneStartShrinkTime()
{
static auto SafeZoneStartShrinkTimeOffset = GetOffset("SafeZoneStartShrinkTime");
@@ -18,4 +29,6 @@ public:
}
void SkipShrinkSafeZone();
static void OnSafeZoneStateChangeHook(AFortSafeZoneIndicator* SafeZoneIndicator, EFortSafeZoneState NewState, bool bInitial);
};