Skip to content

Commit 23e5d40

Browse files
Merge pull request #729 from tiltedphoques/tweak/yeetFallout
yeet fallout together
2 parents d6ce567 + f336088 commit 23e5d40

File tree

295 files changed

+902
-25475
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

295 files changed

+902
-25475
lines changed

Code/client/Events/ActivateEvent.h

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,6 @@ struct TESBoundObject;
99
*/
1010
struct ActivateEvent
1111
{
12-
#if TP_FALLOUT4
13-
ActivateEvent(TESObjectREFR* apObject, Actor* apActivator, TESBoundObject* apObjectToGet, int32_t aCount, bool aDefaultProcessing, bool aFromScript, bool aIsLooping, bool aActivateFlag = false)
14-
: pObject(apObject)
15-
, pActivator(apActivator)
16-
, pObjectToGet(apObjectToGet)
17-
, Count(aCount)
18-
, DefaultProcessing(aDefaultProcessing)
19-
, FromScript(aFromScript)
20-
, IsLooping(aIsLooping)
21-
, ActivateFlag(aActivateFlag)
22-
{
23-
}
24-
#elif TP_SKYRIM64
2512
ActivateEvent(TESObjectREFR* apObject, Actor* apActivator, TESBoundObject* apObjectToGet, int32_t aCount, bool aDefaultProcessing, uint8_t aUnk1, TESObjectREFR::OpenState aPreActivationOpenState, bool aActivateFlag = false)
2613
: pObject(apObject)
2714
, pActivator(apActivator)
@@ -33,20 +20,13 @@ struct ActivateEvent
3320
, ActivateFlag(aActivateFlag)
3421
{
3522
}
36-
#endif
3723

3824
TESObjectREFR* pObject;
3925
Actor* pActivator;
4026
TESBoundObject* pObjectToGet;
4127
int32_t Count;
4228
bool DefaultProcessing;
43-
#if TP_FALLOUT4
44-
bool FromScript;
45-
bool IsLooping;
46-
#elif TP_SKYRIM64
4729
uint8_t Unk1;
48-
#endif
49-
5030
TESObjectREFR::OpenState PreActivationOpenState;
5131
bool ActivateFlag;
5232
};

Code/client/Events/ProjectileLaunchedEvent.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,6 @@ struct ProjectileLaunchedEvent
2424
bool AutoAim;
2525
bool DeferInitialization;
2626
bool ForceConeOfFire;
27-
28-
#if TP_FALLOUT4
29-
float ConeOfFireRadiusMult;
30-
bool Tracer;
31-
bool IntentionalMiss;
32-
bool Allow3D;
33-
bool Penetrates;
34-
bool IgnoreNearCollisions;
35-
#else
3627
bool UnkBool1;
3728
bool UnkBool2;
38-
#endif
3929
};

Code/client/FalloutVM.cpp

Lines changed: 0 additions & 63 deletions
This file was deleted.

Code/client/Games/Animation.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,11 @@ uint8_t TP_MAKE_THISCALL(HookPerformAction, ActorMediator, TESActionData* apActi
5959
return res;
6060
}
6161

62-
#if TP_FALLOUT4
63-
// Let the ActionInstantInitializeGraphToBaseState event go through
64-
if (apAction->action->formID == 0x5704c)
65-
return TiltedPhoques::ThisCall(RealPerformAction, apThis, apAction);
66-
#endif
67-
6862
return 0;
6963
}
7064

7165
ActorMediator* ActorMediator::Get() noexcept
7266
{
73-
POINTER_FALLOUT4(ActorMediator*, s_actorMediator, 1358859);
7467
POINTER_SKYRIMSE(ActorMediator*, s_actorMediator, 403567);
7568

7669
return *(s_actorMediator.Get());
@@ -116,17 +109,14 @@ bool ActorMediator::ForceAction(TESActionData* apAction) noexcept
116109
POINTER_SKYRIMSE(TAnimationStep, PerformComplexAction, 38953);
117110
POINTER_SKYRIMSE(void*, qword_142F271B8, 403566);
118111

119-
POINTER_FALLOUT4(TAnimationStep, PerformComplexAction, 1445653);
120112
uint8_t result = 0;
121113

122114
auto pActor = static_cast<Actor*>(apAction->actor);
123115
if (!pActor || pActor->animationGraphHolder.IsReady())
124116
{
125117
result = TiltedPhoques::ThisCall(PerformComplexAction, this, apAction);
126118

127-
#if TP_SKYRIM64
128119
ApplyAnimationVariables(*qword_142F271B8.Get(), apAction);
129-
#endif
130120
}
131121

132122
return result;
@@ -175,7 +165,6 @@ BGSActionData::BGSActionData(uint32_t aParam1, Actor* apActor, BGSAction* apActi
175165
TESActionData::TESActionData(uint32_t aParam1, Actor* apActor, BGSAction* apAction, TESObjectREFR* apTarget)
176166
: BGSActionData(aParam1, apActor, apAction, apTarget)
177167
{
178-
POINTER_FALLOUT4(void*, s_vtbl, 780201);
179168
POINTER_SKYRIMSE(void*, s_vtbl, 188603);
180169

181170
someFlag = false;
@@ -192,7 +181,6 @@ TESActionData::~TESActionData()
192181
static TiltedPhoques::Initializer s_animationHook(
193182
[]()
194183
{
195-
POINTER_FALLOUT4(TPerformAction, performAction, 502377);
196184
POINTER_SKYRIMSE(TPerformAction, performAction, 38949);
197185

198186
RealPerformAction = performAction.Get();

Code/client/Games/Animation/IAnimationGraphManagerHolder.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ struct IAnimationGraphManagerHolder
99

1010
virtual bool SendAnimationEvent(BSFixedString* apAnimEvent);
1111

12-
#if TP_FALLOUT4
13-
virtual void sub_2a();
14-
virtual void sub_2c();
15-
#endif
16-
1712
virtual bool GetBSAnimationGraph(BSAnimationGraphManager** aPtr) const;
1813
virtual uint32_t sub_3();
1914
virtual uint32_t sub_4();
@@ -29,10 +24,6 @@ struct IAnimationGraphManagerHolder
2924
virtual uint32_t sub_E();
3025
virtual uint32_t sub_F();
3126

32-
#if TP_FALLOUT4
33-
virtual uint32_t sub_12();
34-
#endif
35-
3627
virtual bool GetVariableFloat(BSFixedString* apVariable, float* apReturn);
3728
virtual bool GetVariableInt(BSFixedString* apVariable, uint32_t* apReturn);
3829
virtual bool GetVariableBool(BSFixedString* apVariable, bool* apReturn);

Code/client/Games/BGSCreatedObjectManager.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
BGSCreatedObjectManager* BGSCreatedObjectManager::Get() noexcept
44
{
55
POINTER_SKYRIMSE(BGSCreatedObjectManager*, pObjManager, 400320);
6-
POINTER_FALLOUT4(BGSCreatedObjectManager*, pObjManager, 1000679);
76
return *pObjManager.Get();
87
}

Code/client/Games/Fallout4/AI/AIProcess.h

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)