add lcemp networking + ps3 support
YES I KNOW ITS GARBAGE, THATS WHY ITS NOT ON MAIN ILL FIX IT UP IN FUTURE COMMITS THEN MERGE TO MAIN
This commit is contained in:
@@ -10,7 +10,9 @@
|
||||
#include "..\..\Minecraft.World\LevelSettings.h"
|
||||
#include "..\..\Minecraft.World\BiomeSource.h"
|
||||
#include "..\..\Minecraft.World\LevelType.h"
|
||||
#ifndef DISABLE_PSN
|
||||
#include "..\..\PS3\Network\SonyCommerce_PS3.h"
|
||||
#endif
|
||||
#include "..\..\Minecraft.World\StringHelpers.h"
|
||||
#include "PS3Extras\ShutdownManager.h"
|
||||
#include "PS3\Network\SonyRemoteStorage_PS3.h"
|
||||
@@ -560,6 +562,7 @@ void CConsoleMinecraftApp::TemporaryCreateGameStart()
|
||||
|
||||
void CConsoleMinecraftApp::CommerceInit()
|
||||
{
|
||||
#ifndef DISABLE_PSN
|
||||
m_bCommerceCategoriesRetrieved=false;
|
||||
m_bCommerceProductListRetrieved=false;
|
||||
m_bCommerceInitialised=false;
|
||||
@@ -572,10 +575,12 @@ void CConsoleMinecraftApp::CommerceInit()
|
||||
m_iCurrentCategory=0;
|
||||
m_iCurrentProduct=0;
|
||||
memset(m_pchSkuID,0,48);
|
||||
#endif
|
||||
}
|
||||
|
||||
void CConsoleMinecraftApp::CommerceTick()
|
||||
{
|
||||
#ifndef DISABLE_PSN
|
||||
// only tick this if the primary user is signed in to the PSN
|
||||
if(ProfileManager.IsSignedInLive(0))
|
||||
{
|
||||
@@ -695,6 +700,7 @@ void CConsoleMinecraftApp::CommerceTick()
|
||||
}
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
// was the primary player signed in and is now signed out?
|
||||
if(m_eCommerce_State!=eCommerce_State_Offline)
|
||||
|
||||
Reference in New Issue
Block a user