Remove test code for stage overlay mask implementation. Release Build 9574.

mac-build
sigonasr2 6 months ago
parent e4fddc0c6d
commit d9b8c2bc77
  1. 13
      Adventures in Lestoria/AdventuresInLestoria.cpp
  2. 2
      Adventures in Lestoria/Version.h
  3. BIN
      x64/Release/Adventures in Lestoria.exe

@ -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;

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 1
#define VERSION_MINOR 2
#define VERSION_PATCH 3
#define VERSION_BUILD 9572
#define VERSION_BUILD 9574
#define stringify(a) stringify_(a)
#define stringify_(a) #a

Loading…
Cancel
Save