mirror of
https://github.com/halpz/re3.git
synced 2025-10-07 03:51:44 +00:00
merge
This commit is contained in:
@@ -178,9 +178,8 @@ static const int32 gOneShotCol[] = {SFX_COL_TARMAC_1,
|
||||
void
|
||||
cAudioManager::SetUpOneShotCollisionSound(const cAudioCollision &col)
|
||||
{
|
||||
|
||||
int16 s1;
|
||||
int16 s2;
|
||||
uint16 s1;
|
||||
uint16 s2;
|
||||
|
||||
int32 emittingVol;
|
||||
float ratio;
|
||||
|
@@ -47,9 +47,6 @@
|
||||
#define CHANNEL_PLAYER_VEHICLE_ENGINE m_nActiveSamples
|
||||
#endif
|
||||
|
||||
enum PLAY_STATUS { PLAY_STATUS_STOPPED = 0, PLAY_STATUS_PLAYING, PLAY_STATUS_FINISHED };
|
||||
enum LOADING_STATUS { LOADING_STATUS_NOT_LOADED = 0, LOADING_STATUS_LOADED, LOADING_STATUS_FAILED };
|
||||
|
||||
void
|
||||
cAudioManager::PreInitialiseGameSpecificSetup()
|
||||
{
|
||||
@@ -4092,7 +4089,7 @@ cAudioManager::SetupJumboRumbleSound(uint8 emittingVol)
|
||||
m_sQueueSample.m_nCounter = 6;
|
||||
m_sQueueSample.m_nSampleIndex = SFX_JUMBO_RUMBLE;
|
||||
m_sQueueSample.m_nFrequency += 200;
|
||||
m_sQueueSample.m_nOffset = MAX_VOLUME;
|
||||
m_sQueueSample.m_nOffset = 127;
|
||||
AddSampleToRequestedQueue();
|
||||
}
|
||||
return TRUE;
|
||||
|
@@ -192,6 +192,9 @@ enum {
|
||||
MAX_REFLECTIONS,
|
||||
};
|
||||
|
||||
enum PLAY_STATUS { PLAY_STATUS_STOPPED = 0, PLAY_STATUS_PLAYING, PLAY_STATUS_FINISHED };
|
||||
enum LOADING_STATUS { LOADING_STATUS_NOT_LOADED = 0, LOADING_STATUS_LOADED, LOADING_STATUS_FAILED };
|
||||
|
||||
class cAudioManager
|
||||
{
|
||||
public:
|
||||
@@ -214,8 +217,10 @@ public:
|
||||
tAudioEntity m_asAudioEntities[NUM_AUDIOENTITIES];
|
||||
int32 m_anAudioEntityIndices[NUM_AUDIOENTITIES];
|
||||
int32 m_nAudioEntitiesTotal;
|
||||
#ifdef GTA_PC
|
||||
CVector m_avecReflectionsPos[NUM_AUDIO_REFLECTIONS];
|
||||
float m_afReflectionsDistances[NUM_AUDIO_REFLECTIONS];
|
||||
#endif
|
||||
cAudioScriptObjectManager m_sAudioScriptObjectManager;
|
||||
|
||||
// miami
|
||||
|
@@ -38,7 +38,7 @@ struct ALDEVICEINFO {
|
||||
{
|
||||
delete[] strDeviceName;
|
||||
strDeviceName = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
void SetName(const char *name)
|
||||
{
|
||||
|
@@ -178,7 +178,7 @@ add_providers()
|
||||
SampleManager.Set3DProviderName(n, providers[n].name);
|
||||
n++;
|
||||
}
|
||||
|
||||
|
||||
if ( alGetEnumValue("AL_EFFECT_EAXREVERB") != 0
|
||||
|| pDeviceList->IsExtensionSupported(i, ADEXT_EAX2)
|
||||
|| pDeviceList->IsExtensionSupported(i, ADEXT_EAX3)
|
||||
@@ -1014,8 +1014,7 @@ cSampleManager::Initialise(void)
|
||||
aStream[0]->Close();
|
||||
|
||||
nStreamLength[i] = tatalms;
|
||||
}
|
||||
else
|
||||
} else
|
||||
USERERROR("Can't open '%s'\n", StreamedNameTable[i]);
|
||||
}
|
||||
#ifdef AUDIO_CACHE
|
||||
|
Reference in New Issue
Block a user