mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
fix: assets loading and text input issues
This commit is contained in:
parent
0644d9bcde
commit
e4c0a3a35b
|
|
@ -22,6 +22,7 @@
|
||||||
#include "../Minecraft.World/Blocks/TileEntities/DispenserTileEntity.h"
|
#include "../Minecraft.World/Blocks/TileEntities/DispenserTileEntity.h"
|
||||||
#include "../Minecraft.World/Blocks/TileEntities/SignTileEntity.h"
|
#include "../Minecraft.World/Blocks/TileEntities/SignTileEntity.h"
|
||||||
#include "../Minecraft.World/Blocks/TileEntities/HopperTileEntity.h"
|
#include "../Minecraft.World/Blocks/TileEntities/HopperTileEntity.h"
|
||||||
|
#include "../Minecraft.World/Util/PathHelper.h"
|
||||||
#include "../Minecraft.Client/GameState/StatsCounter.h"
|
#include "../Minecraft.Client/GameState/StatsCounter.h"
|
||||||
#include "../Minecraft.Client/GameState/GameMode.h"
|
#include "../Minecraft.Client/GameState/GameMode.h"
|
||||||
#include "../Minecraft.Client/Platform/Xbox/Social/SocialManager.h"
|
#include "../Minecraft.Client/Platform/Xbox/Social/SocialManager.h"
|
||||||
|
|
@ -4618,7 +4619,7 @@ void CMinecraftApp::loadMediaArchive() {
|
||||||
m_mediaArchive = new ArchiveFile(File(mediapath));
|
m_mediaArchive = new ArchiveFile(File(mediapath));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#if 0
|
#if 0
|
||||||
std::string path = "Common\\media.arc";
|
std::string path = "Common\\media.arc";
|
||||||
HANDLE hFile = CreateFile( path.c_str(),
|
HANDLE hFile = CreateFile( path.c_str(),
|
||||||
|
|
|
||||||
|
|
@ -898,7 +898,7 @@ IDS_PRO_NOTONLINE_TEXT, uiIDA, 1, ProfileManager.GetPrimaryPad()); return;
|
||||||
bool pccFriendsAllowed = true;
|
bool pccFriendsAllowed = true;
|
||||||
bool bContentRestricted = false;
|
bool bContentRestricted = false;
|
||||||
|
|
||||||
GetAllowedPlayerCreatedContentFlags(ProfileManager.GetPrimaryPad(),
|
ProfileManager.AllowedPlayerCreatedContent(ProfileManager.GetPrimaryPad(),
|
||||||
false, &pccAllowed,
|
false, &pccAllowed,
|
||||||
&pccFriendsAllowed);
|
&pccFriendsAllowed);
|
||||||
#if defined(__PS3__) || defined(__PSVITA__)
|
#if defined(__PS3__) || defined(__PSVITA__)
|
||||||
|
|
@ -1343,7 +1343,7 @@ int UIScene_CreateWorldMenu::StartGame_SignInReturned(void* pParam,
|
||||||
bool pccAllowed = true;
|
bool pccAllowed = true;
|
||||||
bool pccFriendsAllowed = true;
|
bool pccFriendsAllowed = true;
|
||||||
|
|
||||||
GetAllowedPlayerCreatedContentFlags(ProfileManager.GetPrimaryPad(),
|
ProfileManager.AllowedPlayerCreatedContent(ProfileManager.GetPrimaryPad(),
|
||||||
false, &pccAllowed,
|
false, &pccAllowed,
|
||||||
&pccFriendsAllowed);
|
&pccFriendsAllowed);
|
||||||
if (!pccAllowed && !pccFriendsAllowed) noUGC = true;
|
if (!pccAllowed && !pccFriendsAllowed) noUGC = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue