Skip to content

Commit

Permalink
Merge pull request #131 from Mozz3d/patch-2
Browse files Browse the repository at this point in the history
Fix animAnimationBufferCompressed.hpp include
  • Loading branch information
psiberx authored Jul 3, 2024
2 parents 1249843 + 7aa291e commit 665cf36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions include/RED4ext/Scripting/Natives/AnimKeyFrames.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ struct KeyFrameRaw : KeyFrameHeader
};
RED4EXT_ASSERT_SIZE(KeyFrameRaw, 0x10);

struct KeyFrameConst // 14 Bytes?
struct KeyFrameConst
{
uint16_t bitWiseData; // 00 Most likely a bitfield
uint16_t boneIndex : 13;
uint16_t channel : 2;
uint16_t rotationWSign : 1;

float x; // 02
float y; // 06
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#include <RED4ext/NativeTypes.hpp>
#include <RED4ext/Range.hpp>
#include <RED4ext/Scripting/Natives/AnimBufferState.hpp>
#include <RED4ext/Scripting/Natives/AnimKeyFrames.hpp>
#include <RED4ext/Scripting/Natives/Generated/anim/AnimDataAddress.hpp>
#include <RED4ext/Scripting/Natives/Generated/anim/IAnimationBuffer.hpp>
#include <RED4ext/Scripting/Natives/KeyFrames.hpp>
#include <cstdint>

namespace RED4ext
Expand Down

0 comments on commit 665cf36

Please sign in to comment.