mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-06-08 20:22:55 +00:00
Remove Win32 preview state types from skin select menu
This commit is contained in:
parent
86c900239b
commit
4506a204f9
|
|
@ -744,15 +744,15 @@ void UIScene_SkinSelectMenu::customDraw(IggyCustomDrawCallbackRegion *region)
|
|||
|
||||
void UIScene_SkinSelectMenu::handleSkinIndexChanged()
|
||||
{
|
||||
BOOL showPrevious = FALSE, showNext = FALSE;
|
||||
DWORD previousIndex = 0, nextIndex = 0;
|
||||
bool showPrevious = false, showNext = false;
|
||||
int previousIndex = 0, nextIndex = 0;
|
||||
std::wstring skinName = L"";
|
||||
std::wstring skinOrigin = L"";
|
||||
bool bSkinIsFree=false;
|
||||
bool bLicensed=false;
|
||||
DLCSkinFile *skinFile=NULL;
|
||||
DLCPack *Pack=NULL;
|
||||
BYTE sidePreviewControlsL,sidePreviewControlsR;
|
||||
int sidePreviewControlsL, sidePreviewControlsR;
|
||||
m_bNoSkinsToShow=false;
|
||||
|
||||
TEXTURE_NAME backupTexture = TN_MOB_CHAR;
|
||||
|
|
@ -887,8 +887,8 @@ void UIScene_SkinSelectMenu::handleSkinIndexChanged()
|
|||
m_characters[eCharacter_Current].SetTexture(m_selectedSkinPath, backupTexture);
|
||||
m_characters[eCharacter_Current].SetCapeTexture(m_selectedCapePath);
|
||||
|
||||
showNext = TRUE;
|
||||
showPrevious = TRUE;
|
||||
showNext = true;
|
||||
showPrevious = true;
|
||||
nextIndex = getNextSkinIndex(m_skinIndex);
|
||||
previousIndex = getPreviousSkinIndex(m_skinIndex);
|
||||
|
||||
|
|
@ -935,7 +935,7 @@ void UIScene_SkinSelectMenu::handleSkinIndexChanged()
|
|||
sidePreviewControlsL=sidePreviewControlsR=sidePreviewControls;
|
||||
}
|
||||
|
||||
for(BYTE i = 0; i < sidePreviewControlsR; ++i)
|
||||
for(int i = 0; i < sidePreviewControlsR; ++i)
|
||||
{
|
||||
if(showNext)
|
||||
{
|
||||
|
|
@ -1006,7 +1006,7 @@ void UIScene_SkinSelectMenu::handleSkinIndexChanged()
|
|||
|
||||
|
||||
|
||||
for(BYTE i = 0; i < sidePreviewControlsL; ++i)
|
||||
for(int i = 0; i < sidePreviewControlsL; ++i)
|
||||
{
|
||||
if(showPrevious)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ private:
|
|||
static const WCHAR *wchDefaultNamesA[eDefaultSkins_Count];
|
||||
|
||||
// 4J Stu - How many to show on each side of the main control
|
||||
static const BYTE sidePreviewControls = 4;
|
||||
static const int sidePreviewControls = 4;
|
||||
|
||||
#ifdef __PSVITA__
|
||||
enum ETouchInput
|
||||
|
|
|
|||
Loading…
Reference in a new issue