Skip to content

Commit fc11c0e

Browse files
shad0wshayd3github-actions[bot]
authored andcommitted
maintenance
1 parent 80363d5 commit fc11c0e

7 files changed

Lines changed: 39 additions & 29 deletions

File tree

include/RE/M/MenuConsole.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace RE
1919

2020
void PrintLine(const char* a_string, va_list a_args)
2121
{
22-
using func_t = void(MenuConsole::*)(const char*, va_list);
22+
using func_t = void (MenuConsole::*)(const char*, va_list);
2323
static REL::Relocation<func_t> func{ ID::MenuConsole::PrintLine };
2424
return func(this, a_string, a_args);
2525
}
@@ -33,15 +33,15 @@ namespace RE
3333
}
3434

3535
// members
36-
ScriptCompiler* consoleCompiler;
36+
ScriptCompiler* consoleCompiler;
3737
NiTList<BSString> strings;
3838
NiTList<BSString> inputs;
39-
std::int32_t inputsPos;
40-
std::int32_t numStrings;
41-
std::int32_t lastString;
42-
bool lastMenuMode;
43-
std::uint8_t visible;
44-
bool isActive;
39+
std::int32_t inputsPos;
40+
std::int32_t numStrings;
41+
std::int32_t lastString;
42+
bool lastMenuMode;
43+
std::uint8_t visible;
44+
bool isActive;
4545
};
4646
static_assert(sizeof(MenuConsole) == 0x58);
4747
}

include/RE/N/NiTList.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace RE
77
{
8-
template <class T>
8+
template <class T>
99
class NiTList :
1010
public NiTPointerListBase<NiTDefaultAllocator<T>, T>
1111
{

include/RE/N/NiTListBase.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace RE
77
{
8-
template <class Allocator, class T>
8+
template <class Allocator, class T>
99
class NiTListBase
1010
{
1111
public:
@@ -18,13 +18,13 @@ namespace RE
1818
static_assert(sizeof(AntiBloatAllocator) == 0x04);
1919

2020
// add
21-
virtual ~NiTListBase(); // 00
22-
virtual NiTListItem<T>* NewItem() = 0; // 01
23-
virtual void DeleteItem(NiTListItem<T>*) = 0; // 02
21+
virtual ~NiTListBase(); // 00
22+
virtual NiTListItem<T>* NewItem() = 0; // 01
23+
virtual void DeleteItem(NiTListItem<T>*) = 0; // 02
2424

2525
// members
26-
NiTListItem<T>* head; // 08
27-
NiTListItem<T>* tail; // 10
26+
NiTListItem<T>* head; // 08
27+
NiTListItem<T>* tail; // 10
2828
NiTListBase::AntiBloatAllocator allocator; // 18
2929
};
3030
static_assert(sizeof(NiTListBase<NiTDefaultAllocator<void*>, void*>) == 0x20);

include/RE/N/NiTListItem.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
namespace RE
44
{
5-
template <class T>
6-
class NiTListItem
7-
{
8-
public:
9-
// members
10-
NiTListItem<T>* next; // 00
11-
NiTListItem<T>* prev; // 08
12-
T element; // 10
13-
};
14-
static_assert(sizeof(NiTListItem<void*>) == 0x18);
5+
template <class T>
6+
class NiTListItem
7+
{
8+
public:
9+
// members
10+
NiTListItem<T>* next; // 00
11+
NiTListItem<T>* prev; // 08
12+
T element; // 10
13+
};
14+
static_assert(sizeof(NiTListItem<void*>) == 0x18);
1515
}

include/RE/N/NiTPointerListBase.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66

77
namespace RE
88
{
9-
template <class Allocator, class T>
9+
template <class Allocator, class T>
1010
class NiTPointerListBase :
1111
public NiTListBase<Allocator, T>
1212
{
1313
public:
1414
// override
15-
virtual ~NiTPointerListBase(); // 00
16-
virtual NiTListItem<T>* NewItem() override; // 01
17-
virtual void DeleteItem(NiTListItem<T>*) override; // 02
15+
virtual ~NiTPointerListBase(); // 00
16+
virtual NiTListItem<T>* NewItem() override; // 01
17+
virtual void DeleteItem(NiTListItem<T>*) override; // 02
1818
};
1919
static_assert(sizeof(NiTPointerListBase<NiTDefaultAllocator<void*>, void*>) == 0x20);
2020
}

include/RE/Oblivion.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,16 @@
1212
#include "RE/F/FormTypes.h"
1313
#include "RE/G/GameSettingCollection.h"
1414
#include "RE/M/MemoryManager.h"
15+
#include "RE/M/MenuConsole.h"
1516
#include "RE/N/NiRTTI.h"
1617
#include "RE/N/NiTDefaultAllocator.h"
18+
#include "RE/N/NiTList.h"
19+
#include "RE/N/NiTListBase.h"
20+
#include "RE/N/NiTListItem.h"
1721
#include "RE/N/NiTMap.h"
1822
#include "RE/N/NiTMapBase.h"
1923
#include "RE/N/NiTPointerAllocator.h"
24+
#include "RE/N/NiTPointerListBase.h"
2025
#include "RE/N/NiTPointerMap.h"
2126
#include "RE/N/NiTStringMap.h"
2227
#include "RE/RTTI.h"

res/cmake/sourcelist.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,16 @@ set(SOURCES
1616
include/RE/G/GameSettingCollection.h
1717
include/RE/IDs.h
1818
include/RE/M/MemoryManager.h
19+
include/RE/M/MenuConsole.h
1920
include/RE/N/NiRTTI.h
2021
include/RE/N/NiTDefaultAllocator.h
22+
include/RE/N/NiTList.h
23+
include/RE/N/NiTListBase.h
24+
include/RE/N/NiTListItem.h
2125
include/RE/N/NiTMap.h
2226
include/RE/N/NiTMapBase.h
2327
include/RE/N/NiTPointerAllocator.h
28+
include/RE/N/NiTPointerListBase.h
2429
include/RE/N/NiTPointerMap.h
2530
include/RE/N/NiTStringMap.h
2631
include/RE/NiRTTI_IDs.h

0 commit comments

Comments
 (0)