mirror of
https://github.com/halpz/re3.git
synced 2025-07-25 14:22:47 +00:00
Merge remote-tracking branch 'origin/miami' into VC/ControllerMenu
* origin/miami: fix clouds Use our synonyms for attack anims again Detect joystick menu for XInput reorganize shaders; use modulate flag; update librw fix generic.txd crash Use original animation names from VCS # Conflicts: # src/core/MenuScreensCustom.cpp
This commit is contained in:
@ -265,8 +265,8 @@ CClouds::Render(void)
|
||||
|
||||
for(i = 0; i < 37; i++){
|
||||
RwV3d pos = { 2.0f*CoorsOffsetX[i], 2.0f*CoorsOffsetY[i], 40.0f*CoorsOffsetZ[i] + 40.0f };
|
||||
worldpos.x = campos.x*rot_cos + campos.y*rot_sin + pos.x;
|
||||
worldpos.y = campos.x*rot_sin + campos.y*rot_cos + pos.y;
|
||||
worldpos.x = pos.x*rot_cos + pos.y*rot_sin + campos.x;
|
||||
worldpos.y = pos.x*rot_sin + pos.y*rot_cos + campos.y;
|
||||
worldpos.z = pos.z;
|
||||
if(bCloudOnScreen[i] && CSprite::CalcScreenCoors(worldpos, &screenpos, &szx, &szy, false)){
|
||||
if(sundist < SCREEN_WIDTH/3){
|
||||
|
@ -242,7 +242,7 @@ void CWaterCannon::PushPeds(void)
|
||||
ped->m_vecMoveSpeed.x *= (0.2f / pedSpeed2D);
|
||||
ped->m_vecMoveSpeed.y *= (0.2f / pedSpeed2D);
|
||||
}
|
||||
ped->SetFall(2000, (AnimationId)(localDir + ANIM_KO_SKID_FRONT), 0);
|
||||
ped->SetFall(2000, (AnimationId)(localDir + ANIM_STD_HIGHIMPACT_FRONT), 0);
|
||||
CParticle::AddParticle(PARTICLE_STEAM_NY_SLOWMOTION, ped->GetPosition(), ped->m_vecMoveSpeed * 0.3f, 0, 0.5f);
|
||||
CParticle::AddParticle(PARTICLE_CAR_SPLASH, ped->GetPosition(), ped->m_vecMoveSpeed * -0.3f + CVector(0.f, 0.f, 0.5f), 0, 0.5f,
|
||||
CGeneral::GetRandomNumberInRange(0.f, 10.f), CGeneral::GetRandomNumberInRange(0.f, 90.f), 1);
|
||||
|
Reference in New Issue
Block a user