Remove test code for stage overlay mask implementation. Release Build 9574.
This commit is contained in:
parent
e4fddc0c6d
commit
d9b8c2bc77
@ -971,19 +971,6 @@ void AiL::RenderWorld(float fElapsedTime){
|
|||||||
PopulateRenderLists();
|
PopulateRenderLists();
|
||||||
|
|
||||||
auto RenderPlayer=[&](vf2d pos,vf2d scale){
|
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;
|
if(player->IsInvisible())return;
|
||||||
vf2d playerScale=vf2d(player->GetSizeMult(),player->GetSizeMult());
|
vf2d playerScale=vf2d(player->GetSizeMult(),player->GetSizeMult());
|
||||||
int count=0;
|
int count=0;
|
||||||
|
@ -39,7 +39,7 @@ All rights reserved.
|
|||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 2
|
#define VERSION_MINOR 2
|
||||||
#define VERSION_PATCH 3
|
#define VERSION_PATCH 3
|
||||||
#define VERSION_BUILD 9572
|
#define VERSION_BUILD 9574
|
||||||
|
|
||||||
#define stringify(a) stringify_(a)
|
#define stringify(a) stringify_(a)
|
||||||
#define stringify_(a) #a
|
#define stringify_(a) #a
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user