Skip to content

Commit

Permalink
maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
shad0wshayd3 authored and github-actions[bot] committed May 27, 2024
1 parent 6282bee commit eef2ef9
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 18 deletions.
1 change: 0 additions & 1 deletion CommonLibF4/include/RE/Bethesda/BSGraphicsUtility.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ namespace RE::BSGraphics::Utility
using func_t = decltype(&PackVertexData);
static REL::Relocation<func_t> func{ REL::ID(2277106) };
return func(a_numVertices, a_positions, a_texCoords0, a_texCoords1, a_normals, a_binormals, a_tangents, a_colors, a_skinBoneWeights, a_skinBoneIndices, a_landscapeData1, a_landscapeData2, a_eyeData, a_buffer, a_bufferSize, a_vertexMap, a_dynamicFlags, a_tangentXBuffer, a_tangentXBufferStride);

}

inline void UnpackVertexData(
Expand Down
26 changes: 13 additions & 13 deletions CommonLibF4/include/RE/Bethesda/TESBoundObjects.h
Original file line number Diff line number Diff line change
Expand Up @@ -908,19 +908,19 @@ namespace RE
};

// members
std::uint32_t limit; // 00
float radius; // 04
float lifetime; // 08
float imageSpaceRadius; // 0C
float targetInterval; // 10
stl::enumeration<BGSHazardFlags, std::uint32_t> flags; // 14
SpellItem* spell; // 18
TESObjectLIGH* light; // 20
BGSImpactDataSet* impactDataSet; // 28
BGSSoundDescriptorForm* sound; // 30
float fullEffectRadius; // 38
float taperWeight; // 3C
float taperCurve; // 40
std::uint32_t limit; // 00
float radius; // 04
float lifetime; // 08
float imageSpaceRadius; // 0C
float targetInterval; // 10
stl::enumeration<BGSHazardFlags, std::uint32_t> flags; // 14
SpellItem* spell; // 18
TESObjectLIGH* light; // 20
BGSImpactDataSet* impactDataSet; // 28
BGSSoundDescriptorForm* sound; // 30
float fullEffectRadius; // 38
float taperWeight; // 3C
float taperCurve; // 40
};
static_assert(sizeof(BGSHazardData) == 0x48);

Expand Down
1 change: 0 additions & 1 deletion CommonLibF4/include/RE/Scaleform/Kernel/SF_Array.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,5 @@ namespace RE::Scaleform
public ArrayBase<ArrayDataCC<T, AllocatorLH<T, SID>, SizePolicy>>
{
public:

};
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace RE::Scaleform::Render
{
public:
constexpr ScreenToWorld() = default;

// members
float sx{ std::numeric_limits<float>::max() }; // 00
float sy{ std::numeric_limits<float>::max() }; // 04
Expand Down
4 changes: 2 additions & 2 deletions CommonLibF4/src/REL/IAT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ namespace REL
return nullptr;
}

const auto ntHeader = stl::adjust_pointer<REX::W32::IMAGE_NT_HEADERS64>(dosHeader, dosHeader->lfanew);
const auto ntHeader = stl::adjust_pointer<REX::W32::IMAGE_NT_HEADERS64>(dosHeader, dosHeader->lfanew);
const auto& dataDir = ntHeader->optionalHeader.dataDirectory[REX::W32::IMAGE_DIRECTORY_ENTRY_IMPORT];
const auto importDesc = stl::adjust_pointer<REX::W32::IMAGE_IMPORT_DESCRIPTOR>(dosHeader, dataDir.virtualAddress);
const auto importDesc = stl::adjust_pointer<REX::W32::IMAGE_IMPORT_DESCRIPTOR>(dosHeader, dataDir.virtualAddress);

for (auto import = importDesc; import->characteristics != 0; ++import) {
auto name = stl::adjust_pointer<const char>(dosHeader, import->name);
Expand Down

0 comments on commit eef2ef9

Please sign in to comment.