Skip to content

Commit e633fe7

Browse files
committed
refactor: RE::UE to top-level UE namespace
1 parent 0481d8b commit e633fe7

64 files changed

Lines changed: 268 additions & 263 deletions

Some content is hidden

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

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,5 +147,6 @@ install(
147147
"include/RE"
148148
"include/REL"
149149
"include/REX"
150+
"include/UE"
150151
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
151152
)

include/RE/IDs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace RE::ID
3535
inline constexpr REL::Offset RTDynamicCast{ 0x6C23656 };
3636
}
3737

38-
namespace RE::UE::ID
38+
namespace UE::ID
3939
{
4040
namespace UEngine
4141
{

include/RE/Oblivion.h

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,8 @@
77
#include "RE/B/BSTCaseInsensitiveStringMap.h"
88
#include "RE/B/BSTList.h"
99
#include "RE/B/BaseFormComponent.h"
10-
#include "RE/B/BaseKeyFuncs.h"
11-
#include "RE/D/DefaultKeyFuncs.h"
12-
#include "RE/F/FDefaultBitArrayAllocator.h"
13-
#include "RE/F/FDefaultSetAllocator.h"
14-
#include "RE/F/FDefaultSparseArrayAllocator.h"
15-
#include "RE/F/FExec.h"
16-
#include "RE/F/FName.h"
17-
#include "RE/F/FNameEntryId.h"
18-
#include "RE/F/FNetworkNotify.h"
1910
#include "RE/F/FORM.h"
2011
#include "RE/F/FORM_ENUM_STRING.h"
21-
#include "RE/F/FObjectPostSaveContext.h"
22-
#include "RE/F/FObjectPostSaveRootContext.h"
23-
#include "RE/F/FObjectPreSaveContext.h"
24-
#include "RE/F/FObjectPreSaveRootContext.h"
25-
#include "RE/F/FObjectPtr.h"
26-
#include "RE/F/FPathGridPointData.h"
27-
#include "RE/F/FPathGridPointDataArray.h"
28-
#include "RE/F/FSetElementId.h"
29-
#include "RE/F/FString.h"
30-
#include "RE/F/FStructuredArchiveRecord.h"
31-
#include "RE/F/FURL.h"
3212
#include "RE/F/FormTypes.h"
3313
#include "RE/G/GameSettingCollection.h"
3414
#include "RE/M/MemoryManager.h"
@@ -49,43 +29,8 @@
4929
#include "RE/S/SettingCollection.h"
5030
#include "RE/S/SettingCollectionMap.h"
5131
#include "RE/S/SettingT.h"
52-
#include "RE/S/SharedPointerInternals.h"
53-
#include "RE/T/TAlignedBytes.h"
54-
#include "RE/T/TArray.h"
55-
#include "RE/T/TBitArray.h"
56-
#include "RE/T/TDefaultMapHashableKeyFuncs.h"
57-
#include "RE/T/TDefaultMapKeyFuncs.h"
5832
#include "RE/T/TESBoundAnimObject.h"
5933
#include "RE/T/TESBoundObject.h"
6034
#include "RE/T/TESForm.h"
6135
#include "RE/T/TESObject.h"
6236
#include "RE/T/TESObjectList.h"
63-
#include "RE/T/TIntegerSequence.h"
64-
#include "RE/T/TMap.h"
65-
#include "RE/T/TMapBase.h"
66-
#include "RE/T/TObjectPtr.h"
67-
#include "RE/T/TRotator.h"
68-
#include "RE/T/TSet.h"
69-
#include "RE/T/TSetAllocator.h"
70-
#include "RE/T/TSetElement.h"
71-
#include "RE/T/TSetElementBase.h"
72-
#include "RE/T/TSharedPtr.h"
73-
#include "RE/T/TSizedDefaultAllocator.h"
74-
#include "RE/T/TSizedHeapAllocator.h"
75-
#include "RE/T/TSizedInlineAllocator.h"
76-
#include "RE/T/TSortableMapBase.h"
77-
#include "RE/T/TSparseArray.h"
78-
#include "RE/T/TSparseArrayAllocator.h"
79-
#include "RE/T/TSparseArrayElementOrFreeListLink.h"
80-
#include "RE/T/TSubclassOf.h"
81-
#include "RE/T/TTuple.h"
82-
#include "RE/T/TTypeCompatibleBytes.h"
83-
#include "RE/T/TVector.h"
84-
#include "RE/U/UBlueprintFunctionLibrary.h"
85-
#include "RE/U/UCheatManager.h"
86-
#include "RE/U/UEngine.h"
87-
#include "RE/U/UGameplayStatics.h"
88-
#include "RE/U/UObject.h"
89-
#include "RE/U/UObjectBase.h"
90-
#include "RE/U/UObjectBaseUtility.h"
91-
#include "RE/U/UWorld.h"

include/RE/T/TSet.h

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
namespace RE::UE
3+
namespace UE
44
{
55
template <class T, class U, std::size_t N>
66
class BaseKeyFuncs
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#pragma once
22

3-
#include "RE/B/BaseKeyFuncs.h"
3+
#include "UE/B/BaseKeyFuncs.h"
44

5-
namespace RE::UE
5+
namespace UE
66
{
77
template <class T, std::size_t N>
88
class DefaultKeyFuncs :
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#pragma once
22

3-
#include "RE/T/TSizedDefaultAllocator.h"
4-
#include "RE/T/TSizedInlineAllocator.h"
3+
#include "UE/T/TSizedDefaultAllocator.h"
4+
#include "UE/T/TSizedInlineAllocator.h"
55

6-
namespace RE::UE
6+
namespace UE
77
{
88
class FDefaultBitArrayAllocator :
99
public TSizedInlineAllocator<4, 32, TSizedDefaultAllocator<32>>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#pragma once
22

3-
#include "RE/F/FDefaultBitArrayAllocator.h"
4-
#include "RE/T/TSetAllocator.h"
5-
#include "RE/T/TSizedDefaultAllocator.h"
6-
#include "RE/T/TSizedInlineAllocator.h"
7-
#include "RE/T/TSparseArrayAllocator.h"
3+
#include "UE/F/FDefaultBitArrayAllocator.h"
4+
#include "UE/T/TSetAllocator.h"
5+
#include "UE/T/TSizedDefaultAllocator.h"
6+
#include "UE/T/TSizedInlineAllocator.h"
7+
#include "UE/T/TSparseArrayAllocator.h"
88

9-
namespace RE::UE
9+
namespace UE
1010
{
1111
class FDefaultSetAllocator :
1212
public TSetAllocator<TSparseArrayAllocator<TSizedDefaultAllocator<32>, FDefaultBitArrayAllocator>, TSizedInlineAllocator<1, 32, TSizedDefaultAllocator<32>>, 2, 8, 4>

include/RE/F/FDefaultSparseArrayAllocator.h renamed to include/UE/F/FDefaultSparseArrayAllocator.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#pragma once
22

3-
#include "RE/F/FDefaultBitArrayAllocator.h"
4-
#include "RE/T/TSizedDefaultAllocator.h"
5-
#include "RE/T/TSparseArrayAllocator.h"
3+
#include "UE/F/FDefaultBitArrayAllocator.h"
4+
#include "UE/T/TSizedDefaultAllocator.h"
5+
#include "UE/T/TSparseArrayAllocator.h"
66

7-
namespace RE::UE
7+
namespace UE
88
{
99
class FDefaultSparseArrayAllocator :
1010
public TSparseArrayAllocator<TSizedDefaultAllocator<32>, FDefaultBitArrayAllocator>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
namespace RE::UE
3+
namespace UE
44
{
55
class FOutputDevice;
66
class UWorld;

0 commit comments

Comments
 (0)