mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-05 08:25:54 +00:00
fixes
This commit is contained in:
parent
647ddfa05e
commit
3e4f7b7bdf
|
@ -2239,7 +2239,6 @@ void CTheScripts::Init()
|
|||
StoreVehicleWasRandom = true;
|
||||
OnAMissionFlag = 0;
|
||||
LastMissionPassedTime = (uint32)-1;
|
||||
NextFreeCollectiveIndex = 0;
|
||||
LastRandomPedId = -1;
|
||||
for (int i = 0; i < MAX_NUM_USED_OBJECTS; i++){
|
||||
memset(&UsedObjectArray[i].name, 0, sizeof(UsedObjectArray[i].name));
|
||||
|
@ -16138,7 +16137,7 @@ void CTheScripts::ReadMultiScriptFileOffsetsFromScript()
|
|||
MainScriptSize = Read4BytesFromScript(&ip);
|
||||
LargestMissionScriptSize = Read4BytesFromScript(&ip);
|
||||
NumberOfMissionScripts = Read2BytesFromScript(&ip);
|
||||
ip += 2;
|
||||
NumberOfExclusiveMissionScripts = Read2BytesFromScript(&ip);
|
||||
for (int i = 0; i < NumberOfMissionScripts; i++) {
|
||||
MultiScriptArray[i] = Read4BytesFromScript(&ip);
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ struct intro_script_rectangle
|
|||
VALIDATE_SIZE(intro_script_rectangle, 0x18);
|
||||
|
||||
enum {
|
||||
SCRIPT_TEXT_MAX_LENGTH = 500
|
||||
SCRIPT_TEXT_MAX_LENGTH = 100
|
||||
};
|
||||
|
||||
struct intro_text_line
|
||||
|
@ -227,7 +227,11 @@ enum {
|
|||
};
|
||||
|
||||
enum {
|
||||
#ifdef PS2
|
||||
SIZE_MAIN_SCRIPT = 205512,
|
||||
#else
|
||||
SIZE_MAIN_SCRIPT = 225512,
|
||||
#endif
|
||||
SIZE_MISSION_SCRIPT = 35000,
|
||||
SIZE_SCRIPT_SPACE = SIZE_MAIN_SCRIPT + SIZE_MISSION_SCRIPT
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue