Remove Win32 callback types from UI helper scenes

This commit is contained in:
notmatthewbeshay 2026-03-10 22:45:16 +11:00
parent c50aa9c152
commit b9b2e51bc8
4 changed files with 7 additions and 7 deletions

View file

@ -391,7 +391,7 @@ int IUIScene_PauseMenu::ExitWorldThreadProc( void* lpParameter )
}
// This function performs the meat of exiting from a level. It should be called from a thread other than the main thread.
void IUIScene_PauseMenu::_ExitWorld(LPVOID lpParameter)
void IUIScene_PauseMenu::_ExitWorld(void *lpParameter)
{
Minecraft *pMinecraft=Minecraft::GetInstance();
@ -688,4 +688,4 @@ int IUIScene_PauseMenu::DisableAutosaveDialogReturned(void *pParam,int iPad,C4JS
app.SetAction(iPad,eAppAction_SaveGame);
}
return 0;
}
}

View file

@ -17,9 +17,9 @@ public:
static int SaveWorldThreadProc( void* lpParameter );
static int ExitWorldThreadProc( void* lpParameter );
static void _ExitWorld(LPVOID lpParameter); // Call only from a thread
static void _ExitWorld(void *lpParameter); // Call only from a thread
protected:
virtual void ShowScene(bool show) = 0;
virtual void SetIgnoreInput(bool ignoreInput) = 0;
};
};

View file

@ -1729,7 +1729,7 @@ int UIScene_SkinSelectMenu::UnlockSkinReturned(void *pParam,int iPad,C4JStorage:
return 0;
}
int UIScene_SkinSelectMenu::RenableInput(LPVOID lpVoid, int, int)
int UIScene_SkinSelectMenu::RenableInput(void *lpVoid, int, int)
{
((UIScene_SkinSelectMenu*) lpVoid)->m_bIgnoreInput = false;
return 0;
@ -1795,4 +1795,4 @@ void UIScene_SkinSelectMenu::HandleDLCLicenseChange()
// update the lock flag
handleSkinIndexChanged();
}
#endif
#endif

View file

@ -170,7 +170,7 @@ private:
void showNotOnlineDialog(int iPad);
static int UnlockSkinReturned(void *pParam,int iPad,C4JStorage::EMessageResult result);
static int RenableInput(LPVOID lpVoid, int, int);
static int RenableInput(void *lpVoid, int, int);
void AddFavoriteSkin(int iPad,int iSkinID);
void InputActionOK(unsigned int iPad);