Skip to content

Commit

Permalink
Merge pull request #140 from qudix/devex
Browse files Browse the repository at this point in the history
feat: misc
  • Loading branch information
powerof3 authored Oct 16, 2024
2 parents 23f69d5 + fcbf923 commit 2367679
Show file tree
Hide file tree
Showing 273 changed files with 4,457 additions and 4,024 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ target_link_libraries(
binary_io::binary_io
spdlog::spdlog
Advapi32.lib
bcrypt.lib
D3D11.lib
d3dcompiler.lib
Dbghelp.lib
Expand Down
12 changes: 2 additions & 10 deletions cmake/sourcelist.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1681,6 +1681,7 @@ set(SOURCES
include/REX/W32/DXGI_5.h
include/REX/W32/DXGI_6.h
include/REX/W32/KERNEL32.h
include/REX/W32/NT.h
include/REX/W32/OLE32.h
include/REX/W32/SHELL32.h
include/REX/W32/USER32.h
Expand Down Expand Up @@ -2033,16 +2034,7 @@ set(SOURCES
src/REL/Module.cpp
src/REL/Relocation.cpp
src/REL/Version.cpp
src/REX/W32/ADVAPI32.cpp
src/REX/W32/D3D11.cpp
src/REX/W32/D3DCOMPILER.cpp
src/REX/W32/DBGHELP.cpp
src/REX/W32/DXGI.cpp
src/REX/W32/KERNEL32.cpp
src/REX/W32/OLE32.cpp
src/REX/W32/SHELL32.cpp
src/REX/W32/USER32.cpp
src/REX/W32/VERSION.cpp
src/REX/W32.cpp
src/SKSE/API.cpp
src/SKSE/IAT.cpp
src/SKSE/Impl/PCH.cpp
Expand Down
100 changes: 50 additions & 50 deletions include/RE/A/AIProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,20 @@ namespace RE
kOwnerIsInCombatantFaction = 1 << 3
};

float cachedRadius; // 00
float cachedWidth; // 04
float cachedLength; // 08
float cachedForwardLength; // 0C
float cachedDPS; // 10
float cachedEyeLevel; // 14
float cachedWalkSpeed; // 18
float cachedRunSpeed; // 1C
float cachedJogSpeed; // 20
float cachedFastWalkSpeed; // 24
stl::enumeration<BooleanValue, std::uint32_t> booleanValues; // 28
stl::enumeration<Flags, std::uint32_t> flags; // 2C
BSTArray<CachedValueData> actorValueCache; // 30
BSTArray<CachedValueData> maxActorValueCache; // 48
float cachedRadius; // 00
float cachedWidth; // 04
float cachedLength; // 08
float cachedForwardLength; // 0C
float cachedDPS; // 10
float cachedEyeLevel; // 14
float cachedWalkSpeed; // 18
float cachedRunSpeed; // 1C
float cachedJogSpeed; // 20
float cachedFastWalkSpeed; // 24
REX::EnumSet<BooleanValue, std::uint32_t> booleanValues; // 28
REX::EnumSet<Flags, std::uint32_t> flags; // 2C
BSTArray<CachedValueData> actorValueCache; // 30
BSTArray<CachedValueData> maxActorValueCache; // 48
};
static_assert(sizeof(CachedValues) == 0x60);

Expand Down Expand Up @@ -197,42 +197,42 @@ namespace RE
void UpdateRegenDelay(ActorValue a_actorValue, float a_regenDelay);

// members
MiddleLowProcessData* middleLow; // 000
MiddleHighProcessData* middleHigh; // 008
HighProcessData* high; // 010
ActorPackage currentPackage; // 018
float hourLastProcessed; // 048
float dateLastProcessed; // 04C
CachedValues* cachedValues; // 050
std::int32_t numberItemsActivate; // 058
std::uint32_t pad05C; // 05C
BSSimpleList<ObjectstoAcquire*> objects; // 060
BSSimpleList<TESObjectREFR*> genericLocations; // 070
ObjectstoAcquire* acquireObject; // 080
ObjectstoAcquire* savedAcquireObject; // 088
float essentialDownTimer; // 090
float deathTime; // 094
float trackedDamage; // 098
std::uint32_t pad09C; // 09C
BSTArray<EquippedObject> equippedForms; // 0A0
Data0B8 unk0B8; // 0B8
TESForm* equippedObjects[Hand::kTotal]; // 0F0
std::uint64_t unk100; // 100
std::uint64_t unk108; // 108
RefHandle followTarget; // 110
RefHandle target; // 114
RefHandle arrestTarget; // 118
std::uint64_t unk120; // 120
std::uint64_t unk128; // 128
std::uint32_t unk130; // 130
std::uint16_t unk134; // 134
stl::enumeration<LowProcessFlags, std::uint8_t> lowProcessFlags; // 136
stl::enumeration<PROCESS_TYPE, std::uint8_t> processLevel; // 137
bool skippedTimeStampForPathing; // 138
bool ignoringCombat; // 139
bool endAlarmOnActor; // 13A
bool escortingPlayer; // 13B
std::uint32_t pad13C; // 13C
MiddleLowProcessData* middleLow; // 000
MiddleHighProcessData* middleHigh; // 008
HighProcessData* high; // 010
ActorPackage currentPackage; // 018
float hourLastProcessed; // 048
float dateLastProcessed; // 04C
CachedValues* cachedValues; // 050
std::int32_t numberItemsActivate; // 058
std::uint32_t pad05C; // 05C
BSSimpleList<ObjectstoAcquire*> objects; // 060
BSSimpleList<TESObjectREFR*> genericLocations; // 070
ObjectstoAcquire* acquireObject; // 080
ObjectstoAcquire* savedAcquireObject; // 088
float essentialDownTimer; // 090
float deathTime; // 094
float trackedDamage; // 098
std::uint32_t pad09C; // 09C
BSTArray<EquippedObject> equippedForms; // 0A0
Data0B8 unk0B8; // 0B8
TESForm* equippedObjects[Hand::kTotal]; // 0F0
std::uint64_t unk100; // 100
std::uint64_t unk108; // 108
RefHandle followTarget; // 110
RefHandle target; // 114
RefHandle arrestTarget; // 118
std::uint64_t unk120; // 120
std::uint64_t unk128; // 128
std::uint32_t unk130; // 130
std::uint16_t unk134; // 134
REX::EnumSet<LowProcessFlags, std::uint8_t> lowProcessFlags; // 136
REX::EnumSet<PROCESS_TYPE, std::uint8_t> processLevel; // 137
bool skippedTimeStampForPathing; // 138
bool ignoringCombat; // 139
bool endAlarmOnActor; // 13A
bool escortingPlayer; // 13B
std::uint32_t pad13C; // 13C

protected:
void Update3DModel_Impl(Actor* a_actor);
Expand Down
38 changes: 19 additions & 19 deletions include/RE/A/ActiveEffect.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,25 +96,25 @@ namespace RE
Actor* GetTargetActor();
const Actor* GetTargetActor() const;

ActiveEffectReferenceEffectController hitEffectController; // 08
BSSoundHandle persistentSound; // 28
ActorHandle caster; // 34
NiPointer<NiNode> sourceNode; // 38
MagicItem* spell; // 40
Effect* effect; // 48
MagicTarget* target; // 50
TESBoundObject* source; // 58
BSSimpleList<ReferenceEffect*>* hitEffects; // 60
MagicItem* displacementSpell; // 68
float elapsedSeconds; // 70
float duration; // 74
float magnitude; // 78
stl::enumeration<Flag, std::uint32_t> flags; // 7C
stl::enumeration<ConditionStatus, std::uint32_t> conditionStatus; // 80
std::uint16_t usUniqueID; // 84
std::uint16_t pad86; // 86
MagicSystem::CastingSource castingSource; // 88
std::uint32_t pad8C; // 8C
ActiveEffectReferenceEffectController hitEffectController; // 08
BSSoundHandle persistentSound; // 28
ActorHandle caster; // 34
NiPointer<NiNode> sourceNode; // 38
MagicItem* spell; // 40
Effect* effect; // 48
MagicTarget* target; // 50
TESBoundObject* source; // 58
BSSimpleList<ReferenceEffect*>* hitEffects; // 60
MagicItem* displacementSpell; // 68
float elapsedSeconds; // 70
float duration; // 74
float magnitude; // 78
REX::EnumSet<Flag, std::uint32_t> flags; // 7C
REX::EnumSet<ConditionStatus, std::uint32_t> conditionStatus; // 80
std::uint16_t usUniqueID; // 84
std::uint16_t pad86; // 86
MagicSystem::CastingSource castingSource; // 88
std::uint32_t pad8C; // 8C
};
static_assert(sizeof(ActiveEffect) == 0x90);
}
Loading

0 comments on commit 2367679

Please sign in to comment.