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

Fix compile with 4.24 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
5 changes: 3 additions & 2 deletions Source/BuoyancySystem/BuoyancySystem.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ public class BuoyancySystem : ModuleRules
{
public BuoyancySystem(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
PublicIncludePaths.AddRange(
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PrivatePCHHeaderFile = "Private/BuoyancySystemPrivatePCH.h";
PublicIncludePaths.AddRange(
new string[] {
"BuoyancySystem/Public"
// ... add public include paths required here ...
Expand Down
3 changes: 1 addition & 2 deletions Source/BuoyancySystem/Private/BoatVehicle.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Fill out your copyright notice in the Description page of Project Settings.

#include "BuoyancySystemPrivatePCH.h"
#include "WheeledVehicleMovementComponent.h"
#include "BoatVehicle.h"
#include "WheeledVehicleMovementComponent.h"

ABoatVehicle::ABoatVehicle()
{
Expand Down
4 changes: 1 addition & 3 deletions Source/BuoyancySystem/Private/BuoyancyManager.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// Copyright 2016 Schemepunk Studios

#include "BuoyancySystemPrivatePCH.h"
#include "Runtime/Engine/Classes/Kismet/KismetMaterialLibrary.h"
#include "BuoyancyManager.h"

#include "Runtime/Engine/Classes/Kismet/KismetMaterialLibrary.h"

// Sets default values for this component's properties
UBuoyancyManager::UBuoyancyManager()
Expand Down
2 changes: 0 additions & 2 deletions Source/BuoyancySystem/Private/BuoyancySystem.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.

#include "BuoyancySystemPrivatePCH.h"

#define LOCTEXT_NAMESPACE "FBuoyancySystemModule"

void FBuoyancySystemModule::StartupModule()
Expand Down
3 changes: 1 addition & 2 deletions Source/BuoyancySystem/Private/BuoyantComponent.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// Copyright 2016 Schemepunk Studios

#include "BuoyancySystemPrivatePCH.h"
#include "BuoyantComponent.h"
#include "GameFramework/GameState.h"
#include "DrawDebugHelpers.h"
#include "BuoyantComponent.h"

UBuoyant::UBuoyant(const class FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings.

#include "BuoyancySystemPrivatePCH.h"
#include "BowShipVehicleWheel.h"

UBowShipVehicleWheel::UBowShipVehicleWheel()
Expand Down
1 change: 0 additions & 1 deletion Source/BuoyancySystem/Private/Systems/EngineSystem.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings.

#include "BuoyancySystemPrivatePCH.h"
#include "EngineSystem.h"

UEngineSystem::UEngineSystem()
Expand Down
4 changes: 2 additions & 2 deletions Source/BuoyancySystem/Private/Systems/ShipSystem.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright 2016 Schemepunk Studios

#include "BuoyancySystemPrivatePCH.h"
#include "BoatVehicle.h"
#include "ShipSystem.h"
#include "BoatVehicle.h"


void UShipSystem::BeginPlay()
{
Expand Down
1 change: 0 additions & 1 deletion Source/BuoyancySystem/Private/Systems/ShipVehicleWheel.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings.

#include "BuoyancySystemPrivatePCH.h"
#include "ShipVehicleWheel.h"

UShipVehicleWheel::UShipVehicleWheel()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings.

#include "BuoyancySystemPrivatePCH.h"
#include "SternShipVehicleWheel.h"


Expand Down