mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 08:47:58 +03:00
Decompiled input
This commit is contained in:
parent
9a78144600
commit
6bff6caed2
122 changed files with 743 additions and 301 deletions
|
@ -312,10 +312,6 @@ bool __cdecl readGameFlowChunks(ChunkId* chunkId, int maxSize, int arg)
|
|||
|
||||
bool __cdecl LoadScript()
|
||||
{
|
||||
// Initialise an empty legacy GAMEFLOW object for avoiding exceptions in the few functions left that use it
|
||||
LegacyGameFlow = (GAMEFLOW*)malloc(sizeof(GAMEFLOW));
|
||||
ZeroMemory(LegacyGameFlow, sizeof(GAMEFLOW));
|
||||
|
||||
// Load the new script file
|
||||
FileStream stream("Script.dat", true, false);
|
||||
g_ScriptChunkIO = new ChunkReader(0x4D355254, &stream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue