mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 21:33:39 +00:00
Remove DWORD texture pack IDs from app path helpers
This commit is contained in:
parent
52b462fffd
commit
fc1e696409
|
|
@ -9395,7 +9395,7 @@ void CMinecraftApp::SetTickTMSDLCFiles(bool bVal)
|
|||
m_bTickTMSDLCFiles=bVal;
|
||||
}
|
||||
|
||||
std::wstring CMinecraftApp::getFilePath(DWORD packId, std::wstring filename, bool bAddDataFolder)
|
||||
std::wstring CMinecraftApp::getFilePath(std::uint32_t packId, std::wstring filename, bool bAddDataFolder)
|
||||
{
|
||||
#ifdef _XBOX
|
||||
std::wstring path = getRootPath(packId, true, bAddDataFolder) + filename;
|
||||
|
|
@ -9431,7 +9431,7 @@ std::wstring titleUpdateTexturePackRoot = L"GAME:\\res\\TitleUpdate\\DLC\\";
|
|||
#endif
|
||||
#endif
|
||||
|
||||
std::wstring CMinecraftApp::getRootPath(DWORD packId, bool allowOverride, bool bAddDataFolder)
|
||||
std::wstring CMinecraftApp::getRootPath(std::uint32_t packId, bool allowOverride, bool bAddDataFolder)
|
||||
{
|
||||
std::wstring path = L"TPACK:";
|
||||
#ifdef _XBOX
|
||||
|
|
|
|||
|
|
@ -878,13 +878,13 @@ public:
|
|||
|
||||
void SetTickTMSDLCFiles(bool bVal);
|
||||
|
||||
std::wstring getFilePath(DWORD packId, std::wstring filename, bool bAddDataFolder);
|
||||
std::wstring getFilePath(std::uint32_t packId, std::wstring filename, bool bAddDataFolder);
|
||||
|
||||
private:
|
||||
std::unordered_map<int, std::wstring>m_localeA;
|
||||
std::unordered_map<std::wstring, int>m_eMCLangA;
|
||||
std::unordered_map<std::wstring, int>m_xcLangA;
|
||||
std::wstring getRootPath(DWORD packId, bool allowOverride, bool bAddDataFolder);
|
||||
std::wstring getRootPath(std::uint32_t packId, bool allowOverride, bool bAddDataFolder);
|
||||
public:
|
||||
|
||||
#ifdef _XBOX
|
||||
|
|
|
|||
Loading…
Reference in a new issue