mirror of
https://github.com/halpz/re3.git
synced 2025-05-11 09:46:38 +03:00
AnimViewer!
This commit is contained in:
parent
e5d089db88
commit
5bea16c7cc
26 changed files with 582 additions and 20 deletions
|
@ -26,6 +26,7 @@
|
|||
#include "CutsceneMgr.h"
|
||||
#include "CdStream.h"
|
||||
#include "Streaming.h"
|
||||
#include "main.h"
|
||||
|
||||
bool &CStreaming::ms_disableStreaming = *(bool*)0x95CD6E;
|
||||
bool &CStreaming::ms_bLoadingBigModel = *(bool*)0x95CDB0;
|
||||
|
@ -2427,6 +2428,19 @@ CStreaming::MemoryCardLoad(uint8 *buffer, uint32 length)
|
|||
ms_aInfoForModel[i].m_flags = buffer[i];
|
||||
}
|
||||
|
||||
void
|
||||
CStreaming::UpdateForAnimViewer(void)
|
||||
{
|
||||
if (CStreaming::ms_channelError == -1) {
|
||||
CStreaming::AddModelsToRequestList(CVector(0.0f, 0.0f, 0.0f));
|
||||
CStreaming::LoadRequestedModels();
|
||||
sprintf(gString, "Requested %d, memory size %dK\n", CStreaming::ms_numModelsRequested, 2 * CStreaming::ms_memoryUsed);
|
||||
}
|
||||
else {
|
||||
CStreaming::RetryLoadFile(CStreaming::ms_channelError);
|
||||
}
|
||||
}
|
||||
|
||||
STARTPATCHES
|
||||
InjectHook(0x406430, CStreaming::Init, PATCH_JUMP);
|
||||
InjectHook(0x406C80, CStreaming::Shutdown, PATCH_JUMP);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue