mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-04 00:04:09 +00:00
Island loading and PS2 alpha test added to options
This commit is contained in:
parent
a728a542be
commit
732681db08
14 changed files with 417 additions and 104 deletions
|
@ -562,17 +562,23 @@ RestoreForStartLoad()
|
|||
ReadDataFromBufferPointer(_buf, TheCamera.GetMatrix().GetPosition().x);
|
||||
ReadDataFromBufferPointer(_buf, TheCamera.GetMatrix().GetPosition().y);
|
||||
ReadDataFromBufferPointer(_buf, TheCamera.GetMatrix().GetPosition().z);
|
||||
#ifndef NO_ISLAND_LOADING
|
||||
CStreaming::RemoveUnusedBigBuildings(CGame::currLevel);
|
||||
CStreaming::RemoveUnusedBuildings(CGame::currLevel);
|
||||
#ifdef NO_ISLAND_LOADING
|
||||
if (CMenuManager::m_PrefsIslandLoading == CMenuManager::ISLAND_LOADING_LOW)
|
||||
#endif
|
||||
{
|
||||
CStreaming::RemoveUnusedBigBuildings(CGame::currLevel);
|
||||
CStreaming::RemoveUnusedBuildings(CGame::currLevel);
|
||||
}
|
||||
CCollision::SortOutCollisionAfterLoad();
|
||||
#ifndef NO_ISLAND_LOADING
|
||||
CStreaming::RequestBigBuildings(CGame::currLevel);
|
||||
CStreaming::LoadAllRequestedModels(false);
|
||||
CStreaming::HaveAllBigBuildingsLoaded(CGame::currLevel);
|
||||
CGame::TidyUpMemory(true, false);
|
||||
#ifdef NO_ISLAND_LOADING
|
||||
if (CMenuManager::m_PrefsIslandLoading == CMenuManager::ISLAND_LOADING_LOW)
|
||||
#endif
|
||||
{
|
||||
CStreaming::RequestBigBuildings(CGame::currLevel);
|
||||
CStreaming::LoadAllRequestedModels(false);
|
||||
CStreaming::HaveAllBigBuildingsLoaded(CGame::currLevel);
|
||||
CGame::TidyUpMemory(true, false);
|
||||
}
|
||||
if (CloseFile(file)) {
|
||||
return true;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue