Skip to content

Commit 1c2eeee

Browse files
authored
feat: naming refactor (#13)
1 parent ec683e0 commit 1c2eeee

File tree

87 files changed

+3422
-3438
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+3422
-3438
lines changed

unreal-cpp-net-fps/BuildSystemImpls.ps1

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,41 +8,37 @@ param (
88
[Parameter(Mandatory)] $ProjectDir
99
)
1010

11-
if (${env:UE-ZenSubprocessDataPath})
12-
{
11+
if (${env:UE-ZenSubprocessDataPath}) {
1312
Write-Host "Detected live coding enabled"
1413
Write-Host "Skipping system impl re-build"
1514
exit 0
1615
}
1716

1817
$ErrorActionPreference = 'Stop'
1918

20-
if(-not $env:EMSDK)
21-
{
22-
if (Test-Path -Path "C:\emsdk\emsdk_env.ps1" -PathType Leaf)
23-
{
19+
if (-not $env:EMSDK) {
20+
if (Test-Path -Path "C:\emsdk\emsdk_env.ps1" -PathType Leaf) {
2421
(. C:\emsdk\emsdk_env.ps1) 2> $null
2522
}
2623

27-
if(-not $env:EMSDK)
28-
{
24+
if (-not $env:EMSDK) {
2925
throw "Unable to find the Emscripten SDK installed on your system"
3026
}
3127
}
3228

3329
$EcsactFiles = @(
34-
"$ProjectDir/Source/EcsactUnrealFps/EcsactUnrealFps.ecsact"
30+
"$ProjectDir/Source/Floppybots/Floppybots.ecsact"
3531
)
3632

3733
$Sources = @(
3834
"$ProjectDir/SystemImpls/EcsactSystemImpls.cpp"
3935
)
4036

41-
$GeneratedOutDir ="$ProjectDir/SystemImpls/generated"
37+
$GeneratedOutDir = "$ProjectDir/SystemImpls/generated"
4238

4339
# TODO: don't hard set generated sources
4440
$GeneratedSources = @(
45-
"$ProjectDir/SystemImpls/generated/EcsactUnrealFps.ecsact.systems.cc"
41+
"$ProjectDir/SystemImpls/generated/Floppybots.ecsact.systems.cc"
4642
)
4743

4844
$EcsactInc = (ecsact config include_dir)
@@ -74,8 +70,7 @@ emcc -std=c++20 --no-entry -I"$EcsactInc" -I"SystemImpls/generated" `
7470
$Sources `
7571
$GeneratedSources
7672

77-
if(-not $?)
78-
{
73+
if (-not $?) {
7974
throw "emcc exited with code ${LastExitCode}"
8075
}
8176

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
[UnrealEd.SimpleMap]
2-
SimpleMapName=/Game/FirstPerson/Maps/FirstPersonExampleMap
3-
4-
[EditoronlyBP]
5-
bAllowClassAndBlueprintPinMatching=true
6-
bReplaceBlueprintWithClass= true
7-
bDontLoadBlueprintOutsideEditor= true
8-
bBlueprintIsNotBlueprintType= true
9-
10-
[/Script/AdvancedPreviewScene.SharedProfiles]
11-
1+
[UnrealEd.SimpleMap]
2+
SimpleMapName=/Game/FirstPerson/Maps/FirstPersonExampleMap
3+
4+
[EditoronlyBP]
5+
bAllowClassAndBlueprintPinMatching=true
6+
bReplaceBlueprintWithClass= true
7+
bDontLoadBlueprintOutsideEditor= true
8+
bBlueprintIsNotBlueprintType= true
9+
10+
[/Script/AdvancedPreviewScene.SharedProfiles]
11+

unreal-cpp-net-fps/Config/DefaultEngine.ini

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,7 @@ DefaultGraphicsPerformance=Maximum
7272
AppliedDefaultGraphicsPerformance=Maximum
7373

7474
[/Script/Engine.Engine]
75-
+ActiveGameNameRedirects=(OldGameName="TP_FirstPerson",NewGameName="/Script/EcsactUnrealFps")
76-
+ActiveGameNameRedirects=(OldGameName="/Script/TP_FirstPerson",NewGameName="/Script/EcsactUnrealFps")
77-
+ActiveClassRedirects=(OldClassName="TP_FirstPersonProjectile",NewClassName="EcsactUnrealFpsProjectile")
78-
+ActiveClassRedirects=(OldClassName="TP_FirstPersonPlayerController",NewClassName="EcsactUnrealFpsPlayerController")
79-
+ActiveClassRedirects=(OldClassName="TP_FirstPersonGameMode",NewClassName="EcsactUnrealFpsGameMode")
80-
+ActiveClassRedirects=(OldClassName="TP_FirstPersonCharacter",NewClassName="EcsactUnrealFpsCharacter")
81-
75+
8276
[/Script/AndroidFileServerEditor.AndroidFileServerRuntimeSettings]
8377
bEnablePlugin=True
8478
bAllowNetworkConnection=True
Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
[/Script/MassRepresentation.MassRepresentationProcessor]
2-
3-
bAutoRegisterWithProcessingPhases=False
4-
5-
6-
7-
[/Script/MassRepresentation.MassVisualizationLODProcessor]
8-
9-
bAutoRegisterWithProcessingPhases=False
10-
11-
12-
13-
[/Script/MassLOD.MassLODCollectorProcessor]
14-
15-
bAutoRegisterWithProcessingPhases=True
16-
17-
[/Script/MassRepresentation.MassVisualizationProcessor]
18-
bAutoRegisterWithProcessingPhases=False
19-
20-
[/Script/EcsactUnrealFps.EnemyVisualProcessor]
21-
bAutoRegisterWithProcessingPhases=True
22-
23-
[/Script/EcsactUnrealFps.EnemyRepresentationProcessor]
24-
bAutoRegisterWithProcessingPhases=True
25-
1+
[/Script/MassRepresentation.MassRepresentationProcessor]
2+
3+
bAutoRegisterWithProcessingPhases=False
4+
5+
6+
7+
[/Script/MassRepresentation.MassVisualizationLODProcessor]
8+
9+
bAutoRegisterWithProcessingPhases=False
10+
11+
12+
13+
[/Script/MassLOD.MassLODCollectorProcessor]
14+
15+
bAutoRegisterWithProcessingPhases=True
16+
17+
[/Script/MassRepresentation.MassVisualizationProcessor]
18+
bAutoRegisterWithProcessingPhases=False
19+
20+
[/Script/Floppybots.EnemyVisualProcessor]
21+
bAutoRegisterWithProcessingPhases=True
22+
23+
[/Script/Floppybots.EnemyRepresentationProcessor]
24+
bAutoRegisterWithProcessingPhases=True
25+
-683 Bytes
Binary file not shown.
-227 Bytes
Binary file not shown.
-100 Bytes
Binary file not shown.
-316 Bytes
Binary file not shown.
Binary file not shown.
-110 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)