mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-08 13:57:14 +00:00
Remove Win32 callback types from UI helper scenes
This commit is contained in:
parent
c50aa9c152
commit
b9b2e51bc8
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue