Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InfiniteNudge: Fix building with C++20 #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions InfiniteNudge/Source/InfiniteNudge/Public/InfiniteNudgeModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,14 @@ class FInfiniteNudgeModule : public FDefaultGameModuleImpl {

virtual bool IsGameModule() const override { return true; }

FVector NudgeTowardsWorldDirection(AFGHologram* self, const FVector& Direction);
static FVector NudgeTowardsWorldDirection(AFGHologram* self, const FVector& Direction);

void NudgeHologram(const AFGHologram* self, const FVector& NudgeInput, const FHitResult& HitResult);
void NudgeGenericHologram(const AFGGenericBuildableHologram* self, const FVector& NudgeInput, const FHitResult& HitResult);
FVector AddNudgeOffset(AFGHologram* self, const FVector& Direction);
static void NudgeHologram(const AFGHologram* self, const FVector& NudgeInput, const FHitResult& HitResult);
static void NudgeGenericHologram(const AFGGenericBuildableHologram* self, const FVector& NudgeInput, const FHitResult& HitResult);
static FVector AddNudgeOffset(AFGHologram* self, const FVector& Direction);

void RotateLockedHologram(AFGHologram* self, int32 delta);
void ScaleHologram(AFGHologram* self);
static void RotateLockedHologram(AFGHologram* self, int32 delta);
static void ScaleHologram(AFGHologram* self);

void DebugChecker();

float savedNudgeDistance;
static void DebugChecker();
};