Skip to content

Commit

Permalink
Fix includes to support Unreal projects; remove old unreal plugin work
Browse files Browse the repository at this point in the history
  • Loading branch information
heyx3 committed Jan 9, 2025
1 parent 5f7a79c commit c174ad0
Show file tree
Hide file tree
Showing 93 changed files with 30 additions and 2,531 deletions.
2 changes: 1 addition & 1 deletion WFC++.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<ClInclude Include="WFC++\include\Tiled\TilePermutator.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="WFC++\src\Helpers\Vector2i.cpp" />
<ClCompile Include="WFC++\src\Simple\InputData.cpp" />
<ClCompile Include="WFC++\src\Simple\Pattern.cpp" />
<ClCompile Include="WFC++\src\Simple\State.cpp" />
Expand All @@ -58,7 +59,6 @@
<ClCompile Include="WFC++\src\Tiled\InputData.cpp" />
<ClCompile Include="WFC++\src\Tiled\State.cpp" />
<ClCompile Include="WFC++\src\Tiled\TilePermutator.cpp" />
<ClCompile Include="WFC++\src\Vector2i.cpp" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{38A88B72-ACE0-400E-AC82-677C89622B69}</ProjectGuid>
Expand Down
6 changes: 3 additions & 3 deletions WFC++.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="WFC++\src\Vector2i.cpp">
<Filter>Code\Helpers</Filter>
</ClCompile>
<ClCompile Include="WFC++\src\Simple\Pattern.cpp">
<Filter>Code\Simple</Filter>
</ClCompile>
Expand Down Expand Up @@ -130,5 +127,8 @@
<ClCompile Include="WFC++\src\Tiled3D\StandardRunner.cpp">
<Filter>Code\Tiled3D</Filter>
</ClCompile>
<ClCompile Include="WFC++\src\Helpers\Vector2i.cpp">
<Filter>Code\Helpers</Filter>
</ClCompile>
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion WFC++/include/Helpers/Vector2i.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <iterator>
#include <math.h>

#include "Platform.h"
#include "../Platform.h"
#include "EnumFlags.h"
#include "WFCMath.h"

Expand Down
2 changes: 1 addition & 1 deletion WFC++/include/Helpers/Vector3i.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <iterator>
#include <math.h>

#include "Platform.h"
#include "../Platform.h"
#include "EnumFlags.h"
#include "Vector2i.h"

Expand Down
2 changes: 1 addition & 1 deletion WFC++/include/Helpers/Vector4i.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <iterator>
#include <math.h>

#include "Platform.h"
#include "../Platform.h"
#include "EnumFlags.h"
#include "Vector3i.h"

Expand Down
6 changes: 3 additions & 3 deletions WFC++/include/Helpers/WFCppStreamPrinting.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
//But if you want to be able to print Tile3D structures to somewhere like cout,
// include this file.

#include "Simple/State.h"
#include "Tiled/State.h"
#include "Tiled3D/Grid.h"
#include "../Simple/State.h"
#include "../Tiled/State.h"
#include "../Tiled3D/Grid.h"

#include <iomanip>
#include <format>
Expand Down
2 changes: 1 addition & 1 deletion WFC++/include/Simple/InputData.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "HelperClasses.h"
#include "../HelperClasses.h"
#include "Pattern.h"


Expand Down
10 changes: 5 additions & 5 deletions WFC++/include/Tiled3D/Transform3D.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
#include <utility>
#include <array>

#include "Platform.h"
#include "../Platform.h"

#include "Helpers/Vector2i.h"
#include "Helpers/Vector3i.h"
#include "Helpers/Vector4i.h"
#include "Helpers/WFCMath.h"
#include "../Helpers/Vector2i.h"
#include "../Helpers/Vector3i.h"
#include "../Helpers/Vector4i.h"
#include "../Helpers/WFCMath.h"

namespace WFC
{
Expand Down
2 changes: 1 addition & 1 deletion WFC++/src/Vector2i.cpp → WFC++/src/Helpers/Vector2i.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "Helpers/Vector2i.h"
#include "../../include/Helpers/Vector2i.h"

using namespace WFC;

Expand Down
2 changes: 1 addition & 1 deletion WFC++/src/Simple/InputData.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "Simple/InputData.h"
#include "../../include/Simple/InputData.h"

using namespace WFC;
using namespace WFC::Simple;
Expand Down
6 changes: 3 additions & 3 deletions WFC++/src/Simple/Pattern.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "Simple/Pattern.h"
#include "Simple/InputData.h"
#include "Simple/State.h"
#include "../../include/Simple/Pattern.h"
#include "../../include/Simple/InputData.h"
#include "../../include/Simple/State.h"

using namespace WFC;
using namespace WFC::Simple;
Expand Down
2 changes: 1 addition & 1 deletion WFC++/src/Simple/State.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "Simple/State.h"
#include "../../include/Simple/State.h"

#include <unordered_set>

Expand Down
2 changes: 1 addition & 1 deletion WFC++/src/Tiled/InputData.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "Tiled/InputData.h"
#include "../../include/Tiled/InputData.h"

#include <algorithm>

Expand Down
2 changes: 1 addition & 1 deletion WFC++/src/Tiled/State.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "Tiled/State.h"
#include "../../include/Tiled/State.h"

#include <algorithm>

Expand Down
2 changes: 1 addition & 1 deletion WFC++/src/Tiled/TilePermutator.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "Tiled/TilePermutator.h"
#include "../../include/Tiled/TilePermutator.h"

using namespace WFC;
using namespace WFC::Tiled;
Expand Down
2 changes: 1 addition & 1 deletion WFC++/src/Tiled3D/Grid.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "Tiled3D/Grid.h"
#include "../../include/Tiled3D/Grid.h"

#include <algorithm>

Expand Down
2 changes: 1 addition & 1 deletion WFC++/src/Tiled3D/StandardRunner.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "Tiled3D/StandardRunner.h"
#include "../../include/Tiled3D/StandardRunner.h"

using namespace WFC;
using namespace WFC::Math;
Expand Down
2 changes: 1 addition & 1 deletion WFC++/src/Tiled3D/TilePermutator.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "Tiled3D/TilePermutator.h"
#include "../../include/Tiled3D/TilePermutator.h"
#include <algorithm>

using namespace WFC;
Expand Down
4 changes: 2 additions & 2 deletions WFC++/src/Tiled3D/Transform3D.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "Tiled3D/Transform3D.h"
#include "../../include/Tiled3D/Transform3D.h"

#include <algorithm>

#include "Helpers/Vector2i.h"
#include "../../include/Helpers/Vector2i.h"


using namespace WFC;
Expand Down
Empty file removed WFCunreal/Config/DefaultEditor.ini
Empty file.
20 changes: 0 additions & 20 deletions WFCunreal/Config/DefaultEngine.ini

This file was deleted.

3 changes: 0 additions & 3 deletions WFCunreal/Config/DefaultGame.ini

This file was deleted.

Binary file removed WFCunreal/Content/Assets/Concrete/Concrete.uasset
Binary file not shown.
Binary file removed WFCunreal/Content/Assets/Concrete/ConcreteALBED.png
Binary file not shown.
Binary file not shown.
Binary file removed WFCunreal/Content/Assets/Concrete/ConcreteBUMP.png
Binary file not shown.
Binary file not shown.
Binary file removed WFCunreal/Content/Assets/Concrete/ConcreteNORM.png
Binary file not shown.
Binary file not shown.
Binary file removed WFCunreal/Content/Assets/Fence/Fence.uasset
Binary file not shown.
Binary file removed WFCunreal/Content/Assets/Fence/FenceALBED.png
Binary file not shown.
Binary file removed WFCunreal/Content/Assets/Fence/FenceALBED.uasset
Binary file not shown.
Binary file removed WFCunreal/Content/Assets/Fence/FenceNORM.png
Binary file not shown.
Binary file removed WFCunreal/Content/Assets/Fence/FenceNORM.uasset
Binary file not shown.
Binary file not shown.
Binary file removed WFCunreal/Content/Set_Wires/Materials/Wire.uasset
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed WFCunreal/Content/Set_Wires/Meshes/WireEnd.uasset
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed WFCunreal/Content/Set_Wires/Wires.uasset
Binary file not shown.
Binary file removed WFCunreal/Content/Set_Wires/WiresGenerator.umap
Binary file not shown.
Binary file not shown.
Binary file removed WFCunreal/Content/SimpleGenerator.uasset
Binary file not shown.
Binary file removed WFCunreal/Content/WFC_HelperMacros.uasset
Binary file not shown.
15 changes: 0 additions & 15 deletions WFCunreal/Source/WfcppDemo.Target.cs

This file was deleted.

24 changes: 0 additions & 24 deletions WFCunreal/Source/WfcppDemo/WfcppDemo.Build.cs

This file was deleted.

6 changes: 0 additions & 6 deletions WFCunreal/Source/WfcppDemo/WfcppDemo.cpp

This file was deleted.

6 changes: 0 additions & 6 deletions WFCunreal/Source/WfcppDemo/WfcppDemo.h

This file was deleted.

5 changes: 0 additions & 5 deletions WFCunreal/Source/WfcppDemo/WfcppDemoGameModeBase.cpp

This file was deleted.

17 changes: 0 additions & 17 deletions WFCunreal/Source/WfcppDemo/WfcppDemoGameModeBase.h

This file was deleted.

14 changes: 0 additions & 14 deletions WFCunreal/Source/WfcppDemoEditor.Target.cs

This file was deleted.

This file was deleted.

Loading

0 comments on commit c174ad0

Please sign in to comment.