mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-15 20:08:31 +00:00
fixed most stuff theres still linker issues
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#endif
|
||||
|
||||
// take out Orbis until they are done
|
||||
#if defined _XBOX
|
||||
#if defined _XBOX || defined(__linux__)
|
||||
|
||||
SoundEngine::SoundEngine() {}
|
||||
void SoundEngine::init(Options *pOptions)
|
||||
@@ -52,6 +52,13 @@ void SoundEngine::addStreaming(const wstring& name, File *file) {}
|
||||
char *SoundEngine::ConvertSoundPathToName(const wstring& name, bool bConvertSpaces) { return NULL; }
|
||||
bool SoundEngine::isStreamingWavebankReady() { return true; }
|
||||
void SoundEngine::playMusicTick() {};
|
||||
void SoundEngine::SetStreamingSounds(int, int, int, int, int, int, int) {}
|
||||
void SoundEngine::updateSystemMusicPlaying(bool) {}
|
||||
#ifdef __linux__
|
||||
char SoundEngine::m_szSoundPath[]={"Sound/"};
|
||||
char SoundEngine::m_szMusicPath[]={"music/"};
|
||||
char SoundEngine::m_szRedistName[]={"redist64"};
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
@@ -95,6 +102,8 @@ char SoundEngine::m_szRedistName[]={"redist"};
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef __linux__
|
||||
|
||||
F32 AILCALLBACK custom_falloff_function (HSAMPLE S,
|
||||
F32 distance,
|
||||
F32 rolloff_factor,
|
||||
@@ -1666,3 +1675,5 @@ F32 AILCALLBACK custom_falloff_function (HSAMPLE S,
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user