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 Oct 19, 2024
1 parent e10d71d commit 0f3969d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions CommonLibF4/include/RE/Bethesda/BSGraphics.h
Original file line number Diff line number Diff line change
Expand Up @@ -633,9 +633,9 @@ namespace RE
}

// members
RenderTargetProperties renderTargetData[100]; // 000
DepthStencilTargetProperties depthStencilTargetData[12]; // C80
CubeMapRenderTargetProperties cubeMapRenderTargetData[1]; // DA0
RenderTargetProperties renderTargetData[100]; // 000
DepthStencilTargetProperties depthStencilTargetData[12]; // C80
CubeMapRenderTargetProperties cubeMapRenderTargetData[1]; // DA0
std::byte padDC4[0x30];
std::uint32_t renderTargetID[100]; // DC4
std::uint32_t depthStencilTargetID[12]; // F54
Expand Down
4 changes: 2 additions & 2 deletions CommonLibF4/include/RE/Bethesda/IMenu.h
Original file line number Diff line number Diff line change
Expand Up @@ -630,14 +630,14 @@ namespace RE

void CreateAndSetFiltersToColor(const NiColor& a_color, float a_brightness)
{
using func_t = void (BSGFxShaderFXTarget::*)(const NiColor&, float);
using func_t = void (BSGFxShaderFXTarget::*)(const NiColor&, float);
static REL::Relocation<func_t> func{ REL::ID(2287028) };
func(this, a_color, a_brightness);
}

void CreateAndSetFiltersToColor(std::uint8_t a_r, std::uint8_t a_g, std::uint8_t a_b, float a_brightness)
{
using func_t = void (BSGFxShaderFXTarget::*)(std::uint8_t, std::uint8_t, std::uint8_t, float);
using func_t = void (BSGFxShaderFXTarget::*)(std::uint8_t, std::uint8_t, std::uint8_t, float);
static REL::Relocation<func_t> func{ REL::ID(783104) };
func(this, a_r, a_g, a_b, a_brightness);
}
Expand Down
8 changes: 4 additions & 4 deletions CommonLibF4/include/RE/Bethesda/ImageSpaceModifier.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,27 +78,27 @@ namespace RE
static ImageSpaceModifierInstanceForm* Trigger(TESImageSpaceModifier* a_mod, float a_strength, NiAVObject* a_target)
{
using func_t = ImageSpaceModifierInstanceForm* (*)(TESImageSpaceModifier*, float, NiAVObject*);
static REL::Relocation<func_t> func{ REL::ID(2199906) };
static REL::Relocation<func_t> func{ REL::ID(2199906) };
return func(a_mod, a_strength, a_target);
}

static ImageSpaceModifierInstanceForm* Trigger(const BSFixedString& a_name)
{
using func_t = ImageSpaceModifierInstanceForm* (*)(const BSFixedString&);
static REL::Relocation<func_t> func{ REL::ID(2199907) };
static REL::Relocation<func_t> func{ REL::ID(2199907) };
return func(a_name);
}

static void Stop(TESImageSpaceModifier* a_mod)
{
using func_t = void (*)(TESImageSpaceModifier*);
using func_t = void (*)(TESImageSpaceModifier*);
static REL::Relocation<func_t> func{ REL::ID(2199909) };
return func(a_mod);
}

static void Stop(const BSFixedString& a_name)
{
using func_t = void (*)(const BSFixedString&);
using func_t = void (*)(const BSFixedString&);
static REL::Relocation<func_t> func{ REL::ID(2199910) };
return func(a_name);
}
Expand Down
4 changes: 2 additions & 2 deletions CommonLibF4/include/RE/Bethesda/TESForms.h
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ namespace RE
template <class... Args>

[[nodiscard]] bool Is(Args... a_args) const noexcept //
requires(std::same_as<Args, ENUM_FORM_ID> && ...)
requires(std::same_as<Args, ENUM_FORM_ID>&&...)
{
return (Is(a_args) || ...);
}
Expand All @@ -856,7 +856,7 @@ namespace RE
template <class... Args>

[[nodiscard]] bool IsNot(Args... a_args) const noexcept //
requires(std::same_as<Args, ENUM_FORM_ID> && ...)
requires(std::same_as<Args, ENUM_FORM_ID>&&...)
{
return (IsNot(a_args) && ...);
}
Expand Down

0 comments on commit 0f3969d

Please sign in to comment.