Skip to content

Commit 44a0f96

Browse files
committed
feat: updated TESForm::RecordFlags from xOBSE
1 parent a703e6f commit 44a0f96

1 file changed

Lines changed: 9 additions & 40 deletions

File tree

include/RE/T/TESForm.h

Lines changed: 9 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -22,62 +22,31 @@ namespace RE
2222
inline static constexpr auto VTABLE = VTABLE::TESForm;
2323
inline static constexpr auto FORMTYPE = FormType::None;
2424

25-
// taken from SSE, needs correcting
2625
struct RecordFlags
2726
{
2827
enum RecordFlag : std::uint32_t
2928
{
30-
kDestructible = 1 << 0,
3129
kMaster = 1 << 0,
32-
kUnlocked = 1 << 0,
33-
3430
kAltered = 1 << 1,
35-
kPlayable = 1 << 2,
31+
kLoaded = 1 << 2,
3632
kInitialized = 1 << 3,
37-
kNonOccluder = 1 << 4,
33+
kOptimized = 1 << 4,
3834
kDeleted = 1 << 5,
39-
4035
kBorderRegion = 1 << 6,
41-
kGlobalConstant = 1 << 6,
42-
kHasSpokenFlag = 1 << 6,
43-
kKnown = 1 << 6,
44-
kInPlaceableWater = 1 << 6,
45-
4636
kFireOff = 1 << 7,
47-
kMustUpdate = 1 << 8,
48-
kOnLocalMap = 1 << 9,
49-
kPersistent = 1 << 10,
50-
37+
kCastShadows = 1 << 9,
38+
kEssential = 1 << 10,
39+
kQuestItem = 1 << 10,
5140
kDisabled = 1 << 11,
52-
kUsedAsMovingPlatform = 1 << 11,
53-
5441
kIgnored = 1 << 12,
55-
56-
kEmpty = 1 << 13,
57-
kResetDestruction = 1 << 13,
58-
5942
kTemporary = 1 << 14,
6043
kMustBeVisibleDistant = 1 << 15,
61-
kRandomAnim = 1 << 16,
6244
kDangerous = 1 << 17,
63-
kHasCurrents = 1 << 19,
45+
kOffLimits = 1 << 17,
46+
kCompressed = 1 << 18,
47+
kCantWait = 1 << 19,
48+
kStartsDead = 1 << 19,
6449
kIgnoreFriendlyHits = 1 << 20,
65-
kStillLoading = 1 << 21,
66-
kFormRetainsID = 1 << 22,
67-
kDestroyed = 1 << 23,
68-
69-
kUnk24 = 1 << 24,
70-
71-
kNoAIAcquire = 1 << 25,
72-
kObstacle = 1 << 25,
73-
74-
kVATSTargetOverride = 1 << 26,
75-
kDisableFade = 1 << 27,
76-
77-
kReflectedByAutoWater = 1 << 28,
78-
kShowOnWorldMap = 1 << 28,
79-
80-
kChildCanUse = 1 << 29
8150
};
8251
};
8352

0 commit comments

Comments
 (0)