|
|
|
@ -971,19 +971,6 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
|
PopulateRenderLists(); |
|
|
|
|
|
|
|
|
|
auto RenderPlayer=[&](vf2d pos,vf2d scale){ |
|
|
|
|
SetWorldColor(PixelLerp(DARK_BLUE,BLACK,sin(geom2d::pi*GetRunTime()*2))); |
|
|
|
|
if(GetCurrentMapData().provideOptimization&&!LoadingScreen::loading){ |
|
|
|
|
StageMaskPolygon poly{ |
|
|
|
|
{ |
|
|
|
|
view.ScreenToWorld(GetMousePos()-vf2d{50,50}), |
|
|
|
|
view.ScreenToWorld(GetMousePos()+vf2d{100,-20}), |
|
|
|
|
view.ScreenToWorld(GetMousePos()+vf2d{200,200}), |
|
|
|
|
view.ScreenToWorld(GetMousePos()+vf2d{-50,150}), |
|
|
|
|
view.ScreenToWorld(GetMousePos()+vf2d{-120,90}), |
|
|
|
|
},"safeIndicatorGradient.png",PixelLerp(VERY_DARK_BLUE,BLACK,sin(geom2d::pi*GetRunTime()*2)) |
|
|
|
|
}; |
|
|
|
|
poly.Draw(); |
|
|
|
|
} |
|
|
|
|
if(player->IsInvisible())return; |
|
|
|
|
vf2d playerScale=vf2d(player->GetSizeMult(),player->GetSizeMult()); |
|
|
|
|
int count=0; |
|
|
|
|