mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-27 13:33:45 +00:00
Remove Win32 state types from player skin preview
This commit is contained in:
parent
305d5f0812
commit
12bc5aa597
|
|
@ -16,7 +16,7 @@
|
|||
UIControl_PlayerSkinPreview::UIControl_PlayerSkinPreview()
|
||||
{
|
||||
UIControl::setControlType(UIControl::ePlayerSkinPreview);
|
||||
m_bDirty = FALSE;
|
||||
m_bDirty = false;
|
||||
m_fScale = 1.0f;
|
||||
m_fAlpha = 1.0f;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include "UIControl.h"
|
||||
#include "../../Minecraft.Client/Textures/Textures.h"
|
||||
|
||||
|
|
@ -23,7 +25,7 @@ private:
|
|||
e_SkinPreviewAnimation_Count,
|
||||
};
|
||||
|
||||
BOOL m_bDirty;
|
||||
bool m_bDirty;
|
||||
float m_fScale,m_fAlpha;
|
||||
|
||||
std::wstring m_customTextureUrl;
|
||||
|
|
@ -43,7 +45,7 @@ private:
|
|||
float m_walkAnimPos;
|
||||
|
||||
bool m_bAutoRotate, m_bRotatingLeft;
|
||||
BYTE m_rotateTick;
|
||||
std::uint8_t m_rotateTick;
|
||||
float m_fTargetRotation, m_fOriginalRotation;
|
||||
int m_framesAnimatingRotation;
|
||||
bool m_bAnimatingToFacing;
|
||||
|
|
@ -87,4 +89,4 @@ private:
|
|||
void render(EntityRenderer *renderer, double x, double y, double z, float rot, float a);
|
||||
bool bindTexture(const std::wstring& urlTexture, int backupTexture);
|
||||
bool bindTexture(const std::wstring& urlTexture, const std::wstring& backupTexture);
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue