Changed V7 to No V7
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
using UnrealBuildTool;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class IntegrationV7Target : TargetRules
|
||||
public class IntegrationTarget : TargetRules
|
||||
{
|
||||
public IntegrationV7Target( TargetInfo Target) : base(Target)
|
||||
public IntegrationTarget( TargetInfo Target) : base(Target)
|
||||
{
|
||||
Type = TargetType.Game;
|
||||
DefaultBuildSettings = BuildSettingsVersion.V2;
|
||||
IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_1;
|
||||
ExtraModuleNames.Add("IntegrationV7");
|
||||
ExtraModuleNames.Add("Integration");
|
||||
}
|
||||
}
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
using UnrealBuildTool;
|
||||
|
||||
public class IntegrationV7 : ModuleRules
|
||||
public class Integration : ModuleRules
|
||||
{
|
||||
public IntegrationV7(ReadOnlyTargetRules Target) : base(Target)
|
||||
public Integration(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
#include "IntegrationV7.h"
|
||||
#include "Integration.h"
|
||||
#include "Modules/ModuleManager.h"
|
||||
|
||||
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, IntegrationV7, "IntegrationV7" );
|
||||
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Integration, "Integration" );
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
#include "IntegrationV7GameModeBase.h"
|
||||
#include "IntegrationGameModeBase.h"
|
||||
#include "drvutil.hpp"
|
||||
#include "engineutil.hpp"
|
||||
#include <string>
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
|
||||
|
||||
EngineWrapper AIntegrationV7GameModeBase::Luprex;
|
||||
EngineWrapper AIntegrationGameModeBase::Luprex;
|
||||
|
||||
//// Main loop.
|
||||
//while (!engw.get_stop_driver(&engw)) {
|
||||
@@ -21,7 +21,7 @@ EngineWrapper AIntegrationV7GameModeBase::Luprex;
|
||||
// engw.play_invoke_event_update(&engw, drvutil::get_monotonic_clock());
|
||||
//}
|
||||
|
||||
AIntegrationV7GameModeBase::AIntegrationV7GameModeBase() {
|
||||
AIntegrationGameModeBase::AIntegrationGameModeBase() {
|
||||
//PrimaryActorTick.bCanEverTick = true; // Probably wrong
|
||||
//PrimaryActorTick.bTickEvenWhenPaused = true; // Probably wrong
|
||||
//PrimaryActorTick.TickGroup = TG_PrePhysics; // Probably wrong
|
||||
@@ -29,7 +29,7 @@ AIntegrationV7GameModeBase::AIntegrationV7GameModeBase() {
|
||||
SetActorTickInterval(1.0f); // Probably wrong
|
||||
}
|
||||
|
||||
void AIntegrationV7GameModeBase::HandleConsoleOutput() {
|
||||
void AIntegrationGameModeBase::HandleConsoleOutput() {
|
||||
uint32_t ndata; const char* data;
|
||||
Luprex.get_outgoing(&Luprex, 0, &ndata, &data);
|
||||
if (ndata == 0) return;
|
||||
@@ -41,7 +41,7 @@ void AIntegrationV7GameModeBase::HandleConsoleOutput() {
|
||||
ConsoleOutput.Append(fs);
|
||||
}
|
||||
|
||||
void AIntegrationV7GameModeBase::Tick(float DeltaSeconds) {
|
||||
void AIntegrationGameModeBase::Tick(float DeltaSeconds) {
|
||||
Super::Tick(DeltaSeconds);
|
||||
if (!luprex_initialized()) {
|
||||
return;
|
||||
@@ -61,7 +61,7 @@ void AIntegrationV7GameModeBase::Tick(float DeltaSeconds) {
|
||||
}
|
||||
}
|
||||
|
||||
void AIntegrationV7GameModeBase::ConsoleSendInput(const FString& fs) {
|
||||
void AIntegrationGameModeBase::ConsoleSendInput(const FString& fs) {
|
||||
if (Luprex.engine) {
|
||||
const TCHAR* fstchar = *fs;
|
||||
if (sizeof(TCHAR) == 2) {
|
||||
@@ -74,7 +74,7 @@ void AIntegrationV7GameModeBase::ConsoleSendInput(const FString& fs) {
|
||||
}
|
||||
}
|
||||
|
||||
void AIntegrationV7GameModeBase::BeginPlay() {
|
||||
void AIntegrationGameModeBase::BeginPlay() {
|
||||
Super::BeginPlay();
|
||||
if (!luprex_initialized()) {
|
||||
engineutil::init_wrapper(&Luprex);
|
||||
@@ -6,18 +6,18 @@
|
||||
#include "GameFramework/GameModeBase.h"
|
||||
#include "enginewrapper.hpp"
|
||||
#include "engineutil.hpp"
|
||||
#include "IntegrationV7GameModeBase.generated.h"
|
||||
#include "IntegrationGameModeBase.generated.h"
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
UCLASS()
|
||||
class INTEGRATIONV7_API AIntegrationV7GameModeBase : public AGameModeBase
|
||||
class INTEGRATION_API AIntegrationGameModeBase : public AGameModeBase
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
AIntegrationV7GameModeBase();
|
||||
AIntegrationGameModeBase();
|
||||
virtual void BeginPlay() override;
|
||||
virtual void Tick(float) override;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
*
|
||||
*/
|
||||
UCLASS()
|
||||
class INTEGRATIONV7_API AMyLuprexGameStateBase : public AGameStateBase
|
||||
class INTEGRATION_API AMyLuprexGameStateBase : public AGameStateBase
|
||||
{
|
||||
GENERATED_BODY()
|
||||
public:
|
||||
@@ -3,13 +3,13 @@
|
||||
using UnrealBuildTool;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class IntegrationV7EditorTarget : TargetRules
|
||||
public class IntegrationEditorTarget : TargetRules
|
||||
{
|
||||
public IntegrationV7EditorTarget( TargetInfo Target) : base(Target)
|
||||
public IntegrationEditorTarget( TargetInfo Target) : base(Target)
|
||||
{
|
||||
Type = TargetType.Editor;
|
||||
DefaultBuildSettings = BuildSettingsVersion.V2;
|
||||
IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_1;
|
||||
ExtraModuleNames.Add("IntegrationV7");
|
||||
ExtraModuleNames.Add("Integration");
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
|
||||
#include "GameInstanceV7.h"
|
||||
|
||||
|
||||
static void printq(const char* msg) {
|
||||
if (GEngine)
|
||||
GEngine->AddOnScreenDebugMessage(-1, 15.0f, FColor::Yellow, FString(msg));
|
||||
}
|
||||
|
||||
void UGameInstanceV7::Init() {
|
||||
printq("In GameInstance Init");
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "Engine/GameInstance.h"
|
||||
#include "GameInstanceV7.generated.h"
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
UCLASS()
|
||||
class INTEGRATIONV7_API UGameInstanceV7 : public UGameInstance
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
virtual void Init();
|
||||
};
|
||||
Reference in New Issue
Block a user