Skip to content

Commit b75853e

Browse files
committed
fix: vr specific changes with merge
1 parent 7585854 commit b75853e

31 files changed

+65
-41
lines changed

include/RE/A/Actor.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ namespace RE
124124

125125
class Actor :
126126
public TESObjectREFR, // 000
127-
public MagicTarget, // 0A0
128-
public ActorValueOwner, // 0B8
129-
public ActorState, // 0C0
130-
public BSTEventSink<BSTransformDeltaEvent>, // 0D0
131-
public BSTEventSink<bhkCharacterMoveFinishEvent>, // 0D8
132-
public IPostAnimationChannelUpdateFunctor // 0E0
127+
public MagicTarget, // 098
128+
public ActorValueOwner, // 0B0
129+
public ActorState, // 0B8
130+
public BSTEventSink<BSTransformDeltaEvent>, // 0C8
131+
public BSTEventSink<bhkCharacterMoveFinishEvent>, // 0D0
132+
public IPostAnimationChannelUpdateFunctor // 0D8
133133
{
134134
private:
135135
using EntryPoint = BGSEntryPointPerkEntry::EntryPoint;

include/RE/B/BGSEntryPoint.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ namespace RE
143143
static EntryPoint* GetEntryPoint(ENTRY_POINT a_entryPoint)
144144
{
145145
if (a_entryPoint < ENTRY_POINT::kTotal) {
146-
REL::Relocation<EntryPoint*> entryPoints{ RELOCATION_ID(675707, 368994) }; //TODO: Verify SSE ID against VR
146+
static REL::Relocation<EntryPoint*> entryPoints{ RELOCATION_ID(675707, 368994) }; //TODO: Verify SSE ID against VR
147147
return &entryPoints.get()[a_entryPoint];
148148
}
149149

include/RE/B/BGSEntryPointFunction.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ namespace RE
6565
static std::uint32_t GetArgumentCount(ENTRY_POINT_FUNCTION_TYPE a_entryPointFunctionType)
6666
{
6767
if (a_entryPointFunctionType < ENTRY_POINT_FUNCTION_TYPE::kTotal) {
68-
REL::Relocation<std::uint32_t*> entryPointFunctionTypeArgumentCount{ REL::ID(369210) };
68+
static REL::Relocation<std::uint32_t*> entryPointFunctionTypeArgumentCount{ REL::ID(369210) };
6969
return entryPointFunctionTypeArgumentCount.get()[a_entryPointFunctionType];
7070
}
7171

@@ -75,7 +75,7 @@ namespace RE
7575
static EntryPointFunction* GetEntryPointFunction(ENTRY_POINT_FUNCTION a_entryPointFunction)
7676
{
7777
if (a_entryPointFunction < ENTRY_POINT_FUNCTION::kTotal) {
78-
REL::Relocation<EntryPointFunction*> entryPointFunctions{ REL::ID(369178) };
78+
static REL::Relocation<EntryPointFunction*> entryPointFunctions{ REL::ID(369178) };
7979
return &entryPointFunctions.get()[a_entryPointFunction];
8080
}
8181

include/RE/B/BSCompoundFrustum.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ namespace RE
2121
uint32_t unkBC; // BC
2222
uint32_t unkC0; // C0
2323
uint16_t unkC4; // C4
24+
private:
25+
KEEP_FOR_RE()
2426
};
2527
static_assert(sizeof(BSCompoundFrustum) == 0xC8);
2628
}

include/RE/B/BSOcclusionBox.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ namespace RE
4646
uint64_t unk1D0; // 1D0
4747
uint64_t unk1D8; // 1D8
4848
uint64_t unk1E0; // 1E0
49+
private:
50+
KEEP_FOR_RE()
4951
};
5052
static_assert(sizeof(BSOcclusionBox) == 0x1E8);
5153
}

include/RE/B/BSOcclusionPlane.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ namespace RE
2424
// members
2525
NiPoint2 size; // 48
2626
BSCompoundFrustum frustum; // 50
27+
private:
28+
KEEP_FOR_RE()
2729
};
2830
static_assert(sizeof(BSOcclusionPlane) == 0x118);
2931
}

include/RE/B/BSOcclusionShape.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ namespace RE
2828
NiMatrix3 rotation; // 1C
2929
float unk40; // 40
3030
bool unk44; // 44
31+
private:
32+
KEEP_FOR_RE()
3133
};
3234
static_assert(sizeof(BSOcclusionShape) == 0x48);
3335
}

include/RE/B/BSParabolicCullingProcess.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ namespace RE
3030
NiPoint3 lightPosition; // 30218
3131
float lightRadius; // 30224
3232
NiPointer<NiCamera> lightCamera; // 30228
33+
private:
34+
KEEP_FOR_RE()
3335
};
3436
static_assert(sizeof(BSParabolicCullingProcess) == 0x30230);
3537
}

include/RE/B/BSPortal.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ namespace RE
2424
BSMultiBoundRoom* entranceRoom; // 118
2525
BSMultiBoundRoom* exitRoom; // 120
2626
NiPointer<BSPortalSharedNode> portalSharedNode; // 128
27+
private:
28+
KEEP_FOR_RE()
2729
};
2830
static_assert(sizeof(BSPortal) == 0x130);
2931
}

include/RE/B/BSPortalGraphEntry.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ namespace RE
2727
BSCompoundFrustum compoundFrustum; // 68
2828
uint64_t unk130; // 130
2929
uint32_t cellId; // 138
30+
private:
31+
KEEP_FOR_RE()
3032
};
3133
static_assert(sizeof(BSPortalGraphEntry) == 0x140);
3234
}

0 commit comments

Comments
 (0)