Skip to content

Commit

Permalink
fix: fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Dec 16, 2023
1 parent 44dde16 commit 9214fe7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion include/RE/I/InterfaceStrings.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ namespace RE
static_assert(sizeof(InterfaceStrings) == 0x278);
# else
static_assert(sizeof(InterfaceStrings) == 0x260);
# endif
# else
static_assert(sizeof(InterfaceStrings) == 0x290);
static_assert(sizeof(InterfaceStrings) == 0x2A8);
# endif
}
6 changes: 5 additions & 1 deletion include/RE/T/TES.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ namespace RE
std::uint8_t unk133; // 133
std::uint32_t unk134; // 134
std::uint64_t unk138; // 138
#ifndef SKYRIM_SUPPORT_AE
#ifdef SKYRIM_SUPPORT_AE
std::uint64_t unk140; // 140 - actual offset change is somewhere near showLandBorder
#endif
TESWorldSpace* worldSpace; // 140
Expand Down Expand Up @@ -165,9 +165,13 @@ namespace RE
private:
KEEP_FOR_RE()
};
#ifndef SKYRIMVR
#ifndef SKYRIM_SUPPORT_AE
static_assert(sizeof(TES) == 0x2B8);
#else
static_assert(sizeof(TES) == 0x2C0);
#endif
#else
static_assert(sizeof(TES) == 0x2B8);
#endif
}

0 comments on commit 9214fe7

Please sign in to comment.