aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Xbox
diff options
context:
space:
mode:
authorvoid_17 <heroerror3@gmail.com>2026-03-02 17:37:16 +0700
committervoid_17 <heroerror3@gmail.com>2026-03-02 17:37:16 +0700
commit119bff351450ea16ffda550b6e0f67379b29f708 (patch)
treed9f28714afd516bc2450f33b0a77c5e05ff4de90 /Minecraft.Client/Xbox
parent8a2a62ea1d47364f802cf9aae97668bc4a7007b5 (diff)
Revert "shared_ptr -> std::shared_ptr"
This reverts commit 7074f35e4ba831e358117842b99ee35b87f85ae5.
Diffstat (limited to 'Minecraft.Client/Xbox')
-rw-r--r--Minecraft.Client/Xbox/Audio/SoundEngine.cpp8
-rw-r--r--Minecraft.Client/Xbox/Audio/SoundEngine.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/Minecraft.Client/Xbox/Audio/SoundEngine.cpp b/Minecraft.Client/Xbox/Audio/SoundEngine.cpp
index e7e2dded..b088150c 100644
--- a/Minecraft.Client/Xbox/Audio/SoundEngine.cpp
+++ b/Minecraft.Client/Xbox/Audio/SoundEngine.cpp
@@ -327,7 +327,7 @@ void SoundEngine::CreateStreamingWavebank(const char *pchName, IXACT3WaveBank **
HANDLE file = CreateFile(pchName, GENERIC_READ, 0, NULL, OPEN_ALWAYS, FILE_FLAG_OVERLAPPED | FILE_FLAG_NO_BUFFERING, NULL);
if( file == INVALID_HANDLE_VALUE )
- {
+ {
app.FatalLoadError();
assert(false);
return;
@@ -638,7 +638,7 @@ void SoundEngine::playUI(int iSound, float, float)
void SoundEngine::playStreaming(const wstring& name, float x, float y, float z, float vol, float pitch, bool bMusicDelay)
{
IXACT3SoundBank *pSoundBank=NULL;
-
+
bool bSoundBank2=false;
MemSect(34);
if(m_MusicInfo.pCue!=NULL)
@@ -747,7 +747,7 @@ void SoundEngine::playStreaming(const wstring& name, float x, float y, float z,
MemSect(0);
return;
}
-
+
if(GetIsPlayingStreamingCDMusic())
{
@@ -984,7 +984,7 @@ void SoundEngine::update3DPosition(SoundEngine::soundInfo *pInfo, bool bPlaceEmi
XACT3DApply( &m_DSPSettings, pInfo->pCue);
}
-void SoundEngine::tick(std::shared_ptr<Mob> *players, float a)
+void SoundEngine::tick(shared_ptr<Mob> *players, float a)
{
if( m_pXACT3Engine == NULL ) return;
diff --git a/Minecraft.Client/Xbox/Audio/SoundEngine.h b/Minecraft.Client/Xbox/Audio/SoundEngine.h
index 4dc398b5..e2f22869 100644
--- a/Minecraft.Client/Xbox/Audio/SoundEngine.h
+++ b/Minecraft.Client/Xbox/Audio/SoundEngine.h
@@ -86,7 +86,7 @@ public:
virtual void updateSystemMusicPlaying(bool isPlaying);
virtual void updateSoundEffectVolume(float fVal);
virtual void init(Options *);
- virtual void tick(std::shared_ptr<Mob> *players, float a); // 4J - updated to take array of local players rather than single one
+ virtual void tick(shared_ptr<Mob> *players, float a); // 4J - updated to take array of local players rather than single one
virtual void add(const wstring& name, File *file);
virtual void addMusic(const wstring& name, File *file);
virtual void addStreaming(const wstring& name, File *file);
@@ -107,4 +107,4 @@ private:
#ifndef __PS3__
static void XACTNotificationCallback( const XACT_NOTIFICATION* pNotification );
#endif // __PS3__
-}; \ No newline at end of file
+}; \ No newline at end of file