mirror of
https://github.com/halpz/re3.git
synced 2025-06-27 22:26:16 +00:00
Merge remote-tracking branch 'origin/master' into miami
# Conflicts: # premake5.lua # src/audio/AudioLogic.cpp # src/audio/AudioManager.h # src/audio/MusicManager.cpp # src/audio/sampman.h # src/audio/sampman_oal.cpp # src/control/CarCtrl.cpp # src/control/Replay.cpp # src/control/Script.cpp # src/core/Camera.cpp # src/core/Frontend.cpp # src/core/Frontend.h # src/core/Game.cpp # src/core/MenuScreens.cpp # src/core/config.h # src/core/main.cpp # src/core/re3.cpp # src/math/Matrix.cpp # src/math/Matrix.h # src/math/Vector2D.h # src/peds/Ped.cpp # src/render/Credits.cpp # src/render/Hud.cpp # src/render/Skidmarks.cpp # src/weapons/Weapon.cpp
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
cSampleManager SampleManager;
|
||||
bool _bSampmanInitialised = false;
|
||||
|
||||
uint32 BankStartOffset[MAX_SAMPLEBANKS];
|
||||
uint32 BankStartOffset[MAX_SFX_BANKS];
|
||||
uint32 nNumMP3s;
|
||||
|
||||
cSampleManager::cSampleManager(void)
|
||||
@ -136,20 +136,20 @@ cSampleManager::SetMonoMode(uint8 nMode)
|
||||
bool
|
||||
cSampleManager::LoadSampleBank(uint8 nBank)
|
||||
{
|
||||
ASSERT( nBank < MAX_SAMPLEBANKS );
|
||||
ASSERT( nBank < MAX_SFX_BANKS );
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
cSampleManager::UnloadSampleBank(uint8 nBank)
|
||||
{
|
||||
ASSERT( nBank < MAX_SAMPLEBANKS );
|
||||
ASSERT( nBank < MAX_SFX_BANKS );
|
||||
}
|
||||
|
||||
bool
|
||||
cSampleManager::IsSampleBankLoaded(uint8 nBank)
|
||||
{
|
||||
ASSERT( nBank < MAX_SAMPLEBANKS );
|
||||
ASSERT( nBank < MAX_SFX_BANKS );
|
||||
|
||||
return false;
|
||||
}
|
||||
@ -179,7 +179,7 @@ cSampleManager::LoadPedComment(uint32 nComment)
|
||||
int32
|
||||
cSampleManager::GetBankContainingSound(uint32 offset)
|
||||
{
|
||||
return SAMPLEBANK_INVALID;
|
||||
return INVALID_SFX_BANK;
|
||||
}
|
||||
|
||||
int32
|
||||
|
@ -2523,8 +2523,10 @@ WinMain(HINSTANCE instance,
|
||||
{
|
||||
if ( gGameState == GS_PLAYING_GAME )
|
||||
CGame::ShutDown();
|
||||
#ifndef MASTER
|
||||
else if ( gGameState == GS_ANIMVIEWER )
|
||||
CAnimViewer::Shutdown();
|
||||
#endif
|
||||
|
||||
CTimer::Stop();
|
||||
|
||||
@ -2548,8 +2550,10 @@ WinMain(HINSTANCE instance,
|
||||
|
||||
if ( gGameState == GS_PLAYING_GAME )
|
||||
CGame::ShutDown();
|
||||
#ifndef MASTER
|
||||
else if ( gGameState == GS_ANIMVIEWER )
|
||||
CAnimViewer::Shutdown();
|
||||
#endif
|
||||
|
||||
DMAudio.Terminate();
|
||||
|
||||
|
Reference in New Issue
Block a user