diff --git a/cmake/sourcelist.cmake b/cmake/sourcelist.cmake index 3b62697f8..88c09ccb5 100644 --- a/cmake/sourcelist.cmake +++ b/cmake/sourcelist.cmake @@ -191,6 +191,7 @@ set(SOURCES include/RE/B/BGSStoryManagerTreeForm.h include/RE/B/BGSStoryTeller.h include/RE/B/BGSTalkingActivator.h + include/RE/B/BGSTerrainManager.h include/RE/B/BGSTextureModel.h include/RE/B/BGSTextureSet.h include/RE/B/BGSTypedItem.h diff --git a/include/RE/B/BGSTerrainManager.h b/include/RE/B/BGSTerrainManager.h new file mode 100644 index 000000000..cc462d909 --- /dev/null +++ b/include/RE/B/BGSTerrainManager.h @@ -0,0 +1,42 @@ +#pragma once + +namespace RE +{ + class BGSTerrainManager + { + public: + std::uint64_t unk00; // 00 + std::uint64_t unk08; // 08 + std::uint64_t unk10; // 10 + std::uint64_t unk18; // 18 + std::uint64_t unk20; // 20 + std::uint64_t unk28; // 28 + std::uint8_t unk30; // 30 + std::uint8_t unk31; // 31 + bool lodTreesHidden; // 32 + std::uint8_t unk33; // 33 + std::uint8_t unk34; // 34 + std::uint8_t unk35; // 35 + std::uint8_t unk36; // 36 + std::uint8_t unk37; // 37 + std::uint64_t unk38; // 38 + std::uint64_t unk40; // 40 + std::uint64_t unk48; // 48 + std::uint64_t unk50; // 50 + std::uint64_t unk58; // 58 + std::uint64_t unk60; // 60 + std::uint64_t unk68; // 68 + std::uint64_t unk70; // 70 + std::uint64_t unk78; // 78 + std::uint64_t unk80; // 80 + std::uint64_t unk88; // 88 + std::uint64_t unk90; // 90 + std::uint64_t unk98; // 98 + std::uint64_t unkA0; // A0 + std::uint64_t unkA8; // A8 + std::uint64_t unkB0; // B0 + std::uint64_t unkB8; // B8 + std::uint64_t unkC0; // C0 + }; + static_assert(sizeof(BGSTerrainManager) == 0xC8); +} diff --git a/include/RE/M/MapMenu.h b/include/RE/M/MapMenu.h index d284457d6..34bc99a2d 100644 --- a/include/RE/M/MapMenu.h +++ b/include/RE/M/MapMenu.h @@ -50,29 +50,26 @@ namespace RE } // members - BSTSmartPointer moveHandler; // 00040 - BSTSmartPointer lookHandler; // 00048 - BSTSmartPointer zoomHandler; // 00050 - ObjectRefHandle mapMarker; // 00058 - LocalMapMenu localMapMenu; // 00060 - RefHandle unk30460; // 30460 - std::uint32_t unk30464; // 30464 - std::uint32_t unk30468; // 30468 - std::uint32_t unk3046C; // 3046C - BSTArray unk30470; // 30470 - BSTArray unk30488; // 30488 - MapCamera camera; // 304A0 - std::uint64_t unk30530; // 30530 - TESWorldSpace* worldSpace; // 30538 - GFxValue unk30540; // 30540 - std::uint64_t unk30558; // 30558 - std::uint64_t unk30560; // 30560 - std::uint64_t unk30568; // 30568 - std::uint32_t unk30570; // 30570 - BSSoundHandle unk30574; // 30574 - std::uint64_t unk30580; // 30580 - std::uint64_t unk30588; // 30588 - std::uint64_t unk30590; // 30590 + BSTSmartPointer moveHandler; // 00040 + BSTSmartPointer lookHandler; // 00048 + BSTSmartPointer zoomHandler; // 00050 + ObjectRefHandle mapMarker; // 00058 + LocalMapMenu localMapMenu; // 00060 + RefHandle unk30460; // 30460 + NiPoint3 playerMarkerPosition; // 30464 + BSTArray unk30470; // 30470 + BSTArray unk30488; // 30488 + MapCamera camera; // 304A0 + std::uint64_t unk30530; // 30530 + TESWorldSpace* worldSpace; // 30538 + GFxValue unk30540; // 30540 + std::uint32_t unk30558; // 30558 + NiPoint3 unk3055C; // 3055C + NiPoint3 unk30568; // 30568 + BSSoundHandle unk30574; // 30574 + std::uint64_t unk30580; // 30580 + std::uint64_t unk30588; // 30588 + std::uint64_t unk30590; // 30590 }; static_assert(sizeof(MapMenu) == 0x30598); } diff --git a/include/RE/Skyrim.h b/include/RE/Skyrim.h index ce4db14df..6e0bddf22 100644 --- a/include/RE/Skyrim.h +++ b/include/RE/Skyrim.h @@ -194,6 +194,7 @@ #include "RE/B/BGSStoryManagerTreeForm.h" #include "RE/B/BGSStoryTeller.h" #include "RE/B/BGSTalkingActivator.h" +#include "RE/B/BGSTerrainManager.h" #include "RE/B/BGSTextureModel.h" #include "RE/B/BGSTextureSet.h" #include "RE/B/BGSTypedItem.h"