mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-24 22:50:46 +00:00
refactor: unglob std::unordered_map
This commit is contained in:
@@ -405,7 +405,7 @@ public:
|
||||
void SetDLCProductCode(const char* szProductCode);
|
||||
void SetProductUpgradeKey(const char* szKey);
|
||||
bool CheckForTrialUpgradeKey(void( *Func)(LPVOID, bool),LPVOID lpParam);
|
||||
void SetDLCInfoMap(unordered_map<wstring, SONYDLC *>* pSONYDLCMap);
|
||||
void SetDLCInfoMap(std::unordered_map<wstring, SONYDLC *>* pSONYDLCMap);
|
||||
};
|
||||
|
||||
extern C4JStorage StorageManager;
|
||||
|
||||
@@ -288,7 +288,7 @@ int CConsoleMinecraftApp::GetLocalTMSFileIndex(WCHAR *wchTMSFile,bool bFilenameI
|
||||
int CConsoleMinecraftApp::LoadLocalDLCImages()
|
||||
{
|
||||
// 4J-PB - Any local graphic files for the Minecraft Store?
|
||||
unordered_map<wstring, SONYDLC *>*pDLCInfoA=app.GetSonyDLCMap();
|
||||
std::unordered_map<wstring, SONYDLC *>*pDLCInfoA=app.GetSonyDLCMap();
|
||||
for( AUTO_VAR(it, pDLCInfoA->begin()); it != pDLCInfoA->end(); it++ )
|
||||
{
|
||||
SONYDLC * pDLCInfo=(*it).second;
|
||||
@@ -301,7 +301,7 @@ int CConsoleMinecraftApp::LoadLocalDLCImages()
|
||||
void CConsoleMinecraftApp::FreeLocalDLCImages()
|
||||
{
|
||||
// 4J-PB - Any local graphic files for the Minecraft Store?
|
||||
unordered_map<wstring, SONYDLC *>*pDLCInfoA=app.GetSonyDLCMap();
|
||||
std::unordered_map<wstring, SONYDLC *>*pDLCInfoA=app.GetSonyDLCMap();
|
||||
for( AUTO_VAR(it, pDLCInfoA->begin()); it != pDLCInfoA->end(); it++ )
|
||||
{
|
||||
SONYDLC * pDLCInfo=(*it).second;
|
||||
|
||||
@@ -161,7 +161,7 @@ public:
|
||||
bool DLCAlreadyPurchased(char *pchTitle);
|
||||
char *GetSkuIDFromProductList();
|
||||
void GetDLCSkuIDFromProductList(char *,char *);
|
||||
unordered_map<wstring, SONYDLC *>* GetSonyDLCMap() { return &m_SONYDLCMap; }
|
||||
std::unordered_map<wstring, SONYDLC *>* GetSonyDLCMap() { return &m_SONYDLCMap; }
|
||||
static void CommerceInitCallback(LPVOID lpParam,int err);
|
||||
static void CommerceGetCategoriesCallback(LPVOID lpParam,int err);
|
||||
static void CommerceGetProductListCallback(LPVOID lpParam,int err);
|
||||
@@ -210,7 +210,7 @@ private:
|
||||
// SonyCommerce::ProductInfoDetailed m_ProductInfoDetailed;
|
||||
|
||||
PRODUCTCODES ProductCodes;
|
||||
unordered_map<wstring, SONYDLC *> m_SONYDLCMap;
|
||||
std::unordered_map<wstring, SONYDLC *> m_SONYDLCMap;
|
||||
|
||||
|
||||
bool m_bVoiceChatAndUGCRestricted;
|
||||
|
||||
@@ -1509,7 +1509,7 @@ void FreeRichPresenceStrings()
|
||||
#ifdef MEMORY_TRACKING
|
||||
|
||||
int totalAllocGen = 0;
|
||||
unordered_map<int,int> allocCounts;
|
||||
std::unordered_map<int,int> allocCounts;
|
||||
bool trackEnable = false;
|
||||
bool trackStarted = false;
|
||||
volatile size_t sizeCheckMin = 1160;
|
||||
|
||||
Reference in New Issue
Block a user