Skip to content

Commit

Permalink
Very basic BGSTerrainManager RE
Browse files Browse the repository at this point in the history
  • Loading branch information
Vermunds authored and powerof3 committed Feb 5, 2024
1 parent cdc067f commit 0baaa08
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/sourcelist.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
42 changes: 42 additions & 0 deletions include/RE/B/BGSTerrainManager.h
Original file line number Diff line number Diff line change
@@ -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);
}
1 change: 1 addition & 0 deletions include/RE/Skyrim.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,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"
Expand Down

0 comments on commit 0baaa08

Please sign in to comment.