mirror of
https://github.com/halpz/re3.git
synced 2025-04-30 11:27:58 +03:00
garages part 1
This commit is contained in:
parent
8703758a7b
commit
268f92bfbe
13 changed files with 795 additions and 50 deletions
|
@ -4629,7 +4629,7 @@ int8 CRunningScript::ProcessCommands500To599(int32 command)
|
|||
infZ = *(float*)&ScriptParams[5];
|
||||
supZ = *(float*)&ScriptParams[2];
|
||||
}
|
||||
ScriptParams[0] = CGarages::AddOne(infX, infY, infZ, supX, supY, supZ, ScriptParams[6], 0);
|
||||
ScriptParams[0] = CGarages::AddOne(infX, infY, infZ, supX, supY, supZ, (eGarageType)ScriptParams[6], 0);
|
||||
StoreParameters(&m_nIp, 1);
|
||||
return 0;
|
||||
}
|
||||
|
@ -4654,7 +4654,7 @@ int8 CRunningScript::ProcessCommands500To599(int32 command)
|
|||
infZ = *(float*)&ScriptParams[5];
|
||||
supZ = *(float*)&ScriptParams[2];
|
||||
}
|
||||
ScriptParams[0] = CGarages::AddOne(infX, infY, infZ, supX, supY, supZ, ScriptParams[6], ScriptParams[7]);
|
||||
ScriptParams[0] = CGarages::AddOne(infX, infY, infZ, supX, supY, supZ, (eGarageType)ScriptParams[6], ScriptParams[7]);
|
||||
StoreParameters(&m_nIp, 1);
|
||||
return 0;
|
||||
}
|
||||
|
@ -7130,13 +7130,13 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
|
|||
case COMMAND_OPEN_GARAGE:
|
||||
{
|
||||
CollectParameters(&m_nIp, 1);
|
||||
CGarages::Garages[ScriptParams[0]].OpenThisGarage();
|
||||
CGarages::aGarages[ScriptParams[0]].OpenThisGarage();
|
||||
return 0;
|
||||
}
|
||||
case COMMAND_CLOSE_GARAGE:
|
||||
{
|
||||
CollectParameters(&m_nIp, 1);
|
||||
CGarages::Garages[ScriptParams[0]].CloseThisGarage();
|
||||
CGarages::aGarages[ScriptParams[0]].CloseThisGarage();
|
||||
return 0;
|
||||
}
|
||||
case COMMAND_WARP_CHAR_FROM_CAR_TO_COORD:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue