From d6f734cf4e0ec105316792664907c8c865528086 Mon Sep 17 00:00:00 2001 From: Spectral Platypus Date: Sat, 16 Dec 2023 14:12:12 -0500 Subject: [PATCH 1/2] Toggle Border changes AE --- include/RE/T/TES.h | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/include/RE/T/TES.h b/include/RE/T/TES.h index 75bbf3b73..16cf140c9 100644 --- a/include/RE/T/TES.h +++ b/include/RE/T/TES.h @@ -101,17 +101,23 @@ namespace RE BSSimpleList> activeImageSpaceModifiers; // 108 std::uint64_t unk118; // 118 std::uint64_t unk120; // 120 +#ifdef SKYRIM_SUPPORT_AE + std::uint32_t unk128; // 128 + std::uint32_t landBorderMode; // 12C + std::uint32_t borderColorAGBR; // 130 +#else std::uint8_t unk128; // 128 bool showLANDborders; // 129 std::uint8_t unk12A; // 12A - std::uint8_t unk12B; // 12B - std::uint8_t unk12C; // 12C - std::uint8_t unk12D; // 12D - std::uint8_t unk12E; // 12E - std::uint8_t unk12F; // 12F - std::uint16_t unk130; // 130 - std::uint8_t unk132; // 132 - std::uint8_t unk133; // 133 + std::uint8_t unk12B; // 12B + std::uint8_t unk12C; // 12C + std::uint8_t unk12D; // 12D + std::uint8_t unk12E; // 12E + std::uint8_t unk12F; // 12F + std::uint16_t unk130; // 130 + std::uint8_t unk132; // 132 + std::uint8_t unk133; // 133 +#endif std::uint32_t unk134; // 134 std::uint64_t unk138; // 138 #ifdef SKYRIM_SUPPORT_AE From 33b7008c24874f07952b431713806f232a187f95 Mon Sep 17 00:00:00 2001 From: SpectralPlatypus Date: Sat, 16 Dec 2023 19:12:42 +0000 Subject: [PATCH 2/2] maintenance --- include/RE/T/TES.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/include/RE/T/TES.h b/include/RE/T/TES.h index 16cf140c9..73387d824 100644 --- a/include/RE/T/TES.h +++ b/include/RE/T/TES.h @@ -102,24 +102,24 @@ namespace RE std::uint64_t unk118; // 118 std::uint64_t unk120; // 120 #ifdef SKYRIM_SUPPORT_AE - std::uint32_t unk128; // 128 - std::uint32_t landBorderMode; // 12C - std::uint32_t borderColorAGBR; // 130 + std::uint32_t unk128; // 128 + std::uint32_t landBorderMode; // 12C + std::uint32_t borderColorAGBR; // 130 #else - std::uint8_t unk128; // 128 - bool showLANDborders; // 129 - std::uint8_t unk12A; // 12A - std::uint8_t unk12B; // 12B - std::uint8_t unk12C; // 12C - std::uint8_t unk12D; // 12D - std::uint8_t unk12E; // 12E - std::uint8_t unk12F; // 12F - std::uint16_t unk130; // 130 - std::uint8_t unk132; // 132 - std::uint8_t unk133; // 133 + std::uint8_t unk128; // 128 + bool showLANDborders; // 129 + std::uint8_t unk12A; // 12A + std::uint8_t unk12B; // 12B + std::uint8_t unk12C; // 12C + std::uint8_t unk12D; // 12D + std::uint8_t unk12E; // 12E + std::uint8_t unk12F; // 12F + std::uint16_t unk130; // 130 + std::uint8_t unk132; // 132 + std::uint8_t unk133; // 133 #endif - std::uint32_t unk134; // 134 - std::uint64_t unk138; // 138 + std::uint32_t unk134; // 134 + std::uint64_t unk138; // 138 #ifdef SKYRIM_SUPPORT_AE std::uint64_t unk140; // 140 - actual offset change is somewhere near showLandBorder #endif