Skip to content

Commit 4cde620

Browse files
committed
address/version update for 1.9.51
1 parent 886fb37 commit 4cde620

33 files changed

+7393
-7379
lines changed

cmake/versioning.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
set(SFSE_VERSION_MAJOR 0)
22
set(SFSE_VERSION_MINOR 2)
3-
set(SFSE_VERSION_PATCH 1)
3+
set(SFSE_VERSION_PATCH 2)
44

55
set(RUNTIME_VERSION_MAJOR 1)
6-
set(RUNTIME_VERSION_MINOR 8)
7-
set(RUNTIME_VERSION_PATCH 88)
6+
set(RUNTIME_VERSION_MINOR 9)
7+
set(RUNTIME_VERSION_PATCH 51)
88
set(RUNTIME_VERSION_TYPE 0)
99

1010
math(

sfse/GameChargen.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ class ChargenDataModel : public IDataModel, public BSTSingletonSDM<ChargenDataMo
1717

1818
static ChargenDataModel* GetSingleton()
1919
{
20-
RelocPtr<ChargenDataModel*> singleton(0x059784B8);
20+
RelocPtr<ChargenDataModel*> singleton(0x0598E938);
2121
return *singleton;
2222
}
2323

2424
// Contains main UI data model wrappers, decode these later
2525
// This function will pull data from the TESNPC into this wrapper
26-
DEFINE_MEMBER_FN_2(Update, void, 0x01895CC4, TESNPC*, void** unk2); // Unk2 looks like somekind of restore point, is usually CharGenMenu+0x2D0
26+
DEFINE_MEMBER_FN_1(Update, void, 0x01895FA4, TESNPC*); // unk2 removed in 1.9.51
2727
};
2828
}
2929

sfse/GameConsole.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "sfse/GameConsole.h"
22
#include <stdarg.h>
33

4-
RelocPtr <ConsoleLog*> g_console(0x05978050);
4+
RelocPtr <ConsoleLog*> g_console(0x0598E4D0);
55

66
void Console_Print(const char* fmt, ...)
77
{

sfse/GameConsole.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
class ConsoleLog
77
{
88
public:
9-
DEFINE_MEMBER_FN_2(VPrint, void, 0x02894E68, const char* fmt, va_list args);
9+
DEFINE_MEMBER_FN_2(VPrint, void, 0x028A1408, const char* fmt, va_list args);
1010
};
1111

1212
extern RelocPtr <ConsoleLog*> g_console;

sfse/GameData.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#include "sfse/GameData.h"
22

3-
RelocPtr<MaterialDatabase> g_materialDatabase(0x05549E90 - 0x08);
3+
RelocPtr<MaterialDatabase> g_materialDatabase(0x0555ED30 - 0x08);

sfse/GameData.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class TESDataHandler :
132132

133133
static TESDataHandler* GetSingleton()
134134
{
135-
RelocPtr<TESDataHandler*> singleton(0x05545EE8);
135+
RelocPtr<TESDataHandler*> singleton(0x0555AD78);
136136
return *singleton;
137137
}
138138
};
@@ -146,4 +146,4 @@ struct MaterialDatabase
146146
BSTHashMap<BSFixedString, void*> fullMap; // This is probably a set, every value is 0
147147
};
148148

149-
extern RelocPtr<MaterialDatabase> g_materialDatabase;
149+
extern RelocPtr<MaterialDatabase> g_materialDatabase;

sfse/GameEvents.h

Lines changed: 699 additions & 699 deletions
Large diffs are not rendered by default.

sfse/GameForms.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#include "sfse/GameForms.h"
22

3-
RelocAddr<TESForm::_GetFormByNumericID> TESForm::GetFormByNumericID(0x014D9B00);
4-
RelocAddr<TESForm::_GetFormByEditorID> TESForm::GetFormByEditorID(0x014D9C5C);
3+
RelocAddr<TESForm::_GetFormByNumericID> TESForm::GetFormByNumericID(0x014D97D0);
4+
RelocAddr<TESForm::_GetFormByEditorID> TESForm::GetFormByEditorID(0x014D992C);

sfse/GameMemory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "sfse/GameMemory.h"
22

3-
RelocAddr<_GetMemoryManager> GetMemoryManager(0x00547CE4);
3+
RelocAddr<_GetMemoryManager> GetMemoryManager(0x00547FD4);
44

55
void* Heap_Allocate(size_t size)
66
{

sfse/GameMemory.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ static_assert(offsetof(ScrapHeap, currentThreadId) == 0x4B8);
1515
class MemoryManager
1616
{
1717
public:
18-
DEFINE_MEMBER_FN_3(Allocate, void*, 0x00547D04, size_t size, size_t alignment, bool aligned);
19-
DEFINE_MEMBER_FN_2(Free, void, 0x0055C164, void* buf, bool aligned);
20-
DEFINE_MEMBER_FN_0(GetThreadScrapHeap, ScrapHeap*, 0x00839100);
18+
DEFINE_MEMBER_FN_3(Allocate, void*, 0x00547FF4, size_t size, size_t alignment, bool aligned);
19+
DEFINE_MEMBER_FN_2(Free, void, 0x0054FDE4, void* buf, bool aligned);
20+
DEFINE_MEMBER_FN_0(GetThreadScrapHeap, ScrapHeap*, 0x00834900);
2121
};
2222

2323
using _GetMemoryManager = MemoryManager * (*)();

0 commit comments

Comments
 (0)