Skip to content

Commit ff2a8dd

Browse files
shad0wshayd3github-actions[bot]
authored andcommitted
maintenance
1 parent 1323ad2 commit ff2a8dd

281 files changed

Lines changed: 1316 additions & 1341 deletions

File tree

Some content is hidden

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

include/RE/A/AIDATA_GAME.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ namespace RE
66
{
77
public:
88
// members
9-
std::uint32_t aggression : 2; // 00:00
10-
std::uint32_t confidence : 3; // 00:02
11-
std::uint32_t energy : 8; // 00:05
12-
std::uint32_t morality : 2; // 00:13
13-
std::uint32_t unused : 3; // 00:15
14-
std::uint32_t assistance : 2; // 00:18
15-
std::uint32_t useAggroRadius : 1; // 00:20
9+
std::uint32_t aggression: 2; // 00:00
10+
std::uint32_t confidence: 3; // 00:02
11+
std::uint32_t energy: 8; // 00:05
12+
std::uint32_t morality: 2; // 00:13
13+
std::uint32_t unused: 3; // 00:15
14+
std::uint32_t assistance: 2; // 00:18
15+
std::uint32_t useAggroRadius: 1; // 00:20
1616
std::uint16_t aggroRadius[3]; // 04
17-
std::uint32_t noSlowApproach : 1; // 0A:00
17+
std::uint32_t noSlowApproach: 1; // 0A:00
1818
};
1919
static_assert(sizeof(AIDATA_GAME) == 0x10);
2020
}

include/RE/A/AIProcess.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,29 +109,29 @@ namespace RE
109109
}
110110

111111
// members
112-
MiddleLowProcessData* middleLow; // 00
113-
MiddleHighProcessData* middleHigh; // 08
114-
HighProcessData* high; // 10
112+
MiddleLowProcessData* middleLow; // 00
113+
MiddleHighProcessData* middleHigh; // 08
114+
HighProcessData* high; // 10
115115
ActorPackage currentPackage; // 18
116116
float hourLastProcessed; // 48
117117
float timeAdjustmentsMade; // 4C
118118
std::uint32_t dateLastProcessed; // 50
119-
CachedValues* cachedValues; // 58
119+
CachedValues* cachedValues; // 58
120120
std::int32_t numberItemsActivate; // 60
121121
BSSimpleList<ObjectstoAcquire*> objectList; // 68
122122
BSSimpleList<TESObjectREFR*> genericLocationsList; // 78
123-
ObjectstoAcquire* acquireObject; // 88
124-
ObjectstoAcquire* savedAcquireObject; // 90
123+
ObjectstoAcquire* acquireObject; // 88
124+
ObjectstoAcquire* savedAcquireObject; // 90
125125
float essentialDownTimer; // 98
126126
float deathTime; // 9C
127127
float trackedDamage; // A0
128-
TESBoundObject* itemBeingUsed; // A8
128+
TESBoundObject* itemBeingUsed; // A8
129129
AITimer combatDelayTimer; // B0
130130
ObjectRefHandle followTarget; // B8
131131
ObjectRefHandle target; // BC
132132
ObjectRefHandle genericLocation; // C0
133133
ObjectRefHandle genericSecondLocation; // C4
134-
BGSListForm* targetFormList; // C8
134+
BGSListForm* targetFormList; // C8
135135
std::uint32_t currentSpeakingTopicID; // D0
136136
ObjectRefHandle patrolLocation; // D4
137137
ObjectRefHandle idleTarget; // D8

include/RE/A/ActiveEffect.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ namespace RE
4949
BSSoundHandle persistentSound; // 30
5050
ActorHandle caster; // 38
5151
NiPointer<NiNode> sourceNode; // 40
52-
MagicItem* spell; // 48
53-
EffectItem* effect; // 50
54-
MagicTarget* target; // 58
55-
TESBoundObject* source; // 60
56-
BSSimpleList<ReferenceEffect*>* hitEffects; // 68
57-
MagicItem* displacementSpell; // 70
52+
MagicItem* spell; // 48
53+
EffectItem* effect; // 50
54+
MagicTarget* target; // 58
55+
TESBoundObject* source; // 60
56+
BSSimpleList<ReferenceEffect*>* hitEffects; // 68
57+
MagicItem* displacementSpell; // 70
5858
float elapsedSeconds; // 74
5959
float duration; // 78
6060
float magnitude; // 7C

include/RE/A/ActiveEffectReferenceEffectController.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ namespace RE
1414
float GetElapsedTime() override; // 02 - return { effect->elapsedSeconds; }
1515
float GetScale() override; // 03
1616
void SwitchAttachedRoot(NiNode* a_root, NiNode* a_attachRoot) override; // 04 - return { effect->SwitchAttachedRoot(a_root, a_attachRoot); }
17-
const NiPoint3& GetSourcePosition() override; // 05
17+
const NiPoint3& GetSourcePosition() override; // 05
1818
bool GetUseSourcePosition() override; // 06
1919
bool GetNoInitialFlare() override; // 07
2020
bool GetEffectPersists() override; // 08
2121
bool GetGoryVisuals() override; // 09
2222
void RemoveHitEffect(ReferenceEffect* a_refEffect) override; // 0A
23-
TESObjectREFR* GetTargetReference() override; // 0B
24-
BGSArtObject* GetHitEffectArt() override; // 0C
23+
TESObjectREFR* GetTargetReference() override; // 0B
24+
BGSArtObject* GetHitEffectArt() override; // 0C
2525
TESEffectShader* GetHitEffectShader() override; // 0D
2626
bool GetManagerHandlesSaveLoad() override; // 0E - { return false; }
2727
bool EffectShouldFaceTarget() override; // 17
28-
TESObjectREFR* GetFacingTarget() override; // 18
28+
TESObjectREFR* GetFacingTarget() override; // 18
2929
void SetWindPoint(const NiPoint3& a_point) override; // 1E - { windPoint = a_point; }
30-
const NiPoint3& GetWindPoint() override; // 1F - { return windPoint; }
30+
const NiPoint3& GetWindPoint() override; // 1F - { return windPoint; }
3131
bool GetAllowNo3D() override; // 20
3232
void SaveGame(BGSSaveGameBuffer* a_buf) override; // 21
3333
void LoadGame(BGSLoadGameBuffer* a_buf) override; // 22
3434

3535
// members
36-
ActiveEffect* effect; // 08
36+
ActiveEffect* effect; // 08
3737
NiPoint3 windPoint; // 10
3838
ObjectRefHandle target; // 18
3939
};

include/RE/A/Actor.h

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,12 @@ namespace RE
115115
virtual bool ReloadWeapon(const BGSObjectInstanceT<TESObjectWEAP>& a_weapon, BGSEquipIndex a_equipIndex); // 0EF
116116
virtual std::uint32_t UseAmmo(const BGSObjectInstanceT<TESObjectWEAP>& a_weapon, BGSEquipIndex a_equipIndex, std::uint32_t a_shotCount); // 0F0
117117
virtual bool CalculateCachedOwnerIsInCombatantFaction() const; // 0F1
118-
virtual CombatGroup* GetCombatGroup() const; // 0F2
118+
virtual CombatGroup* GetCombatGroup() const; // 0F2
119119
virtual void SetCombatGroup(CombatGroup* a_group); // 0F3
120120
virtual bool CheckValidTarget(TESObjectREFR& a_ref) const; // 0F4
121121
virtual bool InitiateDialogue(Actor* a_target, PackageLocation* a_packLoc, PackageLocation* a_packSecondLoc); // 0F5
122122
virtual void EndDialogue(); // 0F6
123-
virtual Actor* SetUpTalkingActivatorActor(Actor* a_target, Actor*& a_talkingactivator); // 0F7
123+
virtual Actor* SetUpTalkingActivatorActor(Actor* a_target, Actor*& a_talkingactivator); // 0F7
124124
virtual void InitiateFlee(TESObjectREFR* a_fleeRef, bool a_runonce, bool a_knows, bool a_combatMode, TESObjectCELL* a_cell, TESObjectREFR* a_ref, float a_fleeFromDist, float a_fleeToDist); // 0F8
125125
virtual void InitiateGetUpPackage(); // 0F9
126126
virtual void PutCreatedPackage(TESPackage* a_pack, bool a_tempPack, bool a_isACreatedPackage, bool a_allowFromFurniture); // 0FA
@@ -151,7 +151,7 @@ namespace RE
151151
virtual NiPoint3 CalculateLOSLocation(ACTOR_LOS_LOCATION a_location) const; // 113
152152
virtual void CreateMovementController(); // 114
153153
virtual bool ShouldPivotToFaceCamera() const { return false; } // 115
154-
virtual BGSKeyword* GetSpeakingAnimArchType() { return speakingAnimArchType; } // 116
154+
virtual BGSKeyword* GetSpeakingAnimArchType() { return speakingAnimArchType; } // 116
155155
virtual void KillImpl(Actor* a_attacker, float a_damage, bool a_sendEvent, bool a_ragdollInstant); // 117
156156
virtual void DoReparentWeapon(const TESObjectWEAP* a_weapon, BGSEquipIndex a_equipIndex, bool a_weaponDrawn); // 118
157157
virtual bool DrinkPotion(AlchemyItem* a_potion, std::uint32_t a_stackID); // 119
@@ -493,17 +493,17 @@ namespace RE
493493
float updateTargetTimer; // 2D4
494494
NiPoint3 editorLocCoord; // 2D8
495495
NiPoint3 editorLocRot; // 2E4
496-
TESForm* editorLocForm; // 2F0
497-
BGSLocation* editorLocation; // 2F8
498-
AIProcess* currentProcess; // 300
499-
ActorMover* actorMover; // 308
500-
BGSKeyword* speakingAnimArchType; // 310
496+
TESForm* editorLocForm; // 2F0
497+
BGSLocation* editorLocation; // 2F8
498+
AIProcess* currentProcess; // 300
499+
ActorMover* actorMover; // 308
500+
BGSKeyword* speakingAnimArchType; // 310
501501
BSTSmartPointer<MovementControllerNPC> movementController; // 318
502-
TESPackage* initialPackage; // 320
503-
CombatController* combatController; // 328
504-
TESFaction* vendorFaction; // 330
502+
TESPackage* initialPackage; // 320
503+
CombatController* combatController; // 328
504+
TESFaction* vendorFaction; // 330
505505
ActorValueStorage avStorage; // 338
506-
BGSDialogueBranch* exclusiveBranch; // 370
506+
BGSDialogueBranch* exclusiveBranch; // 370
507507
REX::EnumSet<ACTOR_CRITICAL_STAGE, std::int32_t> criticalStage; // 378
508508
ObjectRefHandle dialogueItemTarget; // 37C
509509
ActorHandle currentCombatTarget; // 380
@@ -519,12 +519,12 @@ namespace RE
519519
std::uint32_t intimidateBribeDayStamp; // 3A8
520520
float equippedWeight; // 3AC
521521
BSTSmallArray<SpellItem*> addedSpells; // 3B0
522-
ActorMagicCaster* magicCasters[4]; // 3C8
523-
MagicItem* selectedSpell[4]; // 3E8
524-
CastPowerItem* castPowerItems; // 408
525-
TESForm* selectedPower; // 410
526-
TESRace* race; // 418
527-
Perks* perks; // 420
522+
ActorMagicCaster* magicCasters[4]; // 3C8
523+
MagicItem* selectedSpell[4]; // 3E8
524+
CastPowerItem* castPowerItems; // 408
525+
TESForm* selectedPower; // 410
526+
TESRace* race; // 418
527+
Perks* perks; // 420
528528
BSTSmartPointer<BipedAnim> biped; // 428
529529
BSNonReentrantSpinLock addingToOrRemovingFromScene; // 430
530530
BSReadWriteLock perkArrayLock; // 434
@@ -538,8 +538,8 @@ namespace RE
538538
std::uint32_t lastSeenTime; // 478
539539
float armorRating; // 47C
540540
float armorBaseFactorSum; // 480
541-
std::uint32_t visFlags : 4; // 484:00
542-
std::int8_t raceSwitchPending : 1; // 488:0
541+
std::uint32_t visFlags: 4; // 484:00
542+
std::int8_t raceSwitchPending: 1; // 488:0
543543
std::int8_t soundCallBackSet; // 489
544544
bool trespassing; // 48A
545545
};

include/RE/A/ActorEquipManager.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ namespace RE
1414
}
1515

1616
bool EquipObject(
17-
Actor* a_actor,
17+
Actor* a_actor,
1818
const BGSObjectInstance& a_object,
1919
std::uint32_t a_stackID,
2020
std::uint32_t a_number,
21-
const BGSEquipSlot* a_slot,
21+
const BGSEquipSlot* a_slot,
2222
bool a_queueEquip,
2323
bool a_forceEquip,
2424
bool a_playSounds,
@@ -31,16 +31,16 @@ namespace RE
3131
}
3232

3333
bool UnequipObject(
34-
Actor* a_actor,
34+
Actor* a_actor,
3535
const BGSObjectInstance* a_object,
3636
std::uint32_t a_number,
37-
const BGSEquipSlot* a_slot,
37+
const BGSEquipSlot* a_slot,
3838
std::uint32_t a_stackID,
3939
bool a_queueEquip,
4040
bool a_forceEquip,
4141
bool a_playSounds,
4242
bool a_applyNow,
43-
const BGSEquipSlot* a_slotBeingReplaced)
43+
const BGSEquipSlot* a_slotBeingReplaced)
4444
{
4545
using func_t = decltype(&ActorEquipManager::UnequipObject);
4646
static REL::Relocation<func_t> func{ REL::ID(2231395) };

include/RE/A/ActorPackage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace RE
77
public:
88
// members
99
BSSpinLock packageLock; // 00
10-
TESPackage* package; // 08
10+
TESPackage* package; // 08
1111
ActorPackageData* data; // 10
1212
ObjectRefHandle target; // 18
1313
std::int32_t currentProcedureIndex; // 1C

0 commit comments

Comments
 (0)