Add method to toggle visual effects
This commit is contained in:
@@ -4,6 +4,13 @@
|
||||
#include "Engine_classes.hpp"
|
||||
|
||||
// Visual effects toggle
|
||||
void SetAllEffectsToBeToggled() {
|
||||
gPendingDOF = true;
|
||||
gPendingCA = true;
|
||||
gPendingVignetting = true;
|
||||
gPendingFog = true;
|
||||
}
|
||||
|
||||
void ApplyVisualEffect(GameFixes fix, bool enabled) {
|
||||
SDK::UWorld* world = SDK::UWorld::GetWorld();
|
||||
SDK::APawn* pawn = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user