diff --git a/Adventures in Lestoria/Minimap.cpp b/Adventures in Lestoria/Minimap.cpp index d7282f1c..c52fb1ea 100644 --- a/Adventures in Lestoria/Minimap.cpp +++ b/Adventures in Lestoria/Minimap.cpp @@ -141,9 +141,25 @@ void Minimap::Reset(){ for(const ZoneData&zone:game->GetZones().at("EndZone")){ vf2d ringPos=zone.zone.pos/game->GetCurrentMapData().TileSize; vf2d ringSize=zone.zone.size/game->GetCurrentMapData().TileSize; + vf2d ringCenter=ringPos+ringSize/2; for(int y=0;y<=ringSize.y;y++){ for(int x=0;x<=ringSize.x;x++){ - minimap.Sprite()->SetPixel(ringPos+vi2d{x,y},GREEN); + float ringRadiusX=ringSize.x/2; + float ringRadiusY=ringSize.y/2; + float distanceFromCenterX=abs(ringCenter.x-(ringPos.x+x)); + float distanceFromCenterY=abs(ringCenter.y-(ringPos.y+y)); + + if(distanceFromCenterXGetPixel(ringPos+vi2d{x+shadowX,y+shadowY})!=GREEN){ + minimap.Sprite()->SetPixel(ringPos+vi2d{x+shadowX,y+shadowY},BLACK); + } + } + } + minimap.Sprite()->SetPixel(ringPos+vi2d{x,y},GREEN); + } } } } diff --git a/Adventures in Lestoria/TODO.txt b/Adventures in Lestoria/TODO.txt index 550e005c..09691f72 100644 --- a/Adventures in Lestoria/TODO.txt +++ b/Adventures in Lestoria/TODO.txt @@ -13,4 +13,6 @@ Upon completion of a stage in time trial mode if the player beat their previous Settings menu doesn't scroll back up properly while the scrollbar does? Traveling merchants of different colors/looks. Steel Weapons appear in the demo for Chapter 2. -Look into removing OVERRIDE from rumble settings. It looks like it was used to purposefully disable rumble, but looks very unnecessary. \ No newline at end of file +Look into removing OVERRIDE from rumble settings. It looks like it was used to purposefully disable rumble, but looks very unnecessary. + +Move old maps from master branch into demo branch (has boundary changes) \ No newline at end of file diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index 6f1adf74..e1be2e15 100644 --- a/Adventures in Lestoria/Version.h +++ b/Adventures in Lestoria/Version.h @@ -39,7 +39,7 @@ All rights reserved. #define VERSION_MAJOR 1 #define VERSION_MINOR 1 #define VERSION_PATCH 0 -#define VERSION_BUILD 8901 +#define VERSION_BUILD 8904 #define stringify(a) stringify_(a) #define stringify_(a) #a diff --git a/x64/Release/Adventures in Lestoria.exe b/x64/Release/Adventures in Lestoria.exe index 718db33a..06052f3e 100644 Binary files a/x64/Release/Adventures in Lestoria.exe and b/x64/Release/Adventures in Lestoria.exe differ