mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-23 11:42:27 +00:00
Remove WinAPI primitives from common app helpers
This commit is contained in:
@@ -5285,8 +5285,8 @@ int CMinecraftApp::DLCMountedCallback(void *pParam,int iPad,std::uint32_t dwErr,
|
||||
m_Time.qwAppTime.QuadPart += qwDeltaTime.QuadPart;
|
||||
m_Time.qwTime.QuadPart = qwNewTime.QuadPart;
|
||||
|
||||
m_Time.fElapsedTime = m_Time.fSecsPerTick * ((FLOAT)(qwDeltaTime.QuadPart));
|
||||
m_Time.fAppTime = m_Time.fSecsPerTick * ((FLOAT)(m_Time.qwAppTime.QuadPart));
|
||||
m_Time.fElapsedTime = m_Time.fSecsPerTick * static_cast<float>(qwDeltaTime.QuadPart);
|
||||
m_Time.fAppTime = m_Time.fSecsPerTick * static_cast<float>(m_Time.qwAppTime.QuadPart);
|
||||
}
|
||||
|
||||
|
||||
@@ -6099,7 +6099,7 @@ std::wstring CMinecraftApp::FormatHTMLString(int iPad, const std::wstring &desc,
|
||||
#endif // _XBOX
|
||||
|
||||
// Fix for #8903 - UI: Localization: KOR/JPN/CHT: Button Icons are rendered with padding space, which looks no good
|
||||
DWORD dwLanguage = XGetLanguage( );
|
||||
std::uint32_t dwLanguage = XGetLanguage( );
|
||||
switch(dwLanguage)
|
||||
{
|
||||
case XC_LANGUAGE_KOREAN:
|
||||
|
||||
@@ -291,7 +291,7 @@ public:
|
||||
static void NotificationsCallback(void *pParam,std::uint32_t dwNotification, unsigned int uiParam);
|
||||
|
||||
// for the ethernet being disconnected
|
||||
static void LiveLinkChangeCallback(void *pParam,BOOL bConnected);
|
||||
static void LiveLinkChangeCallback(void *pParam, bool bConnected);
|
||||
bool GetLiveLinkRequired() {return m_bLiveLinkRequired;}
|
||||
void SetLiveLinkRequired(bool required) {m_bLiveLinkRequired=required;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user