Minimap shadowing.
This commit is contained in:
parent
a81169cd7f
commit
b5d5e547d7
@ -79,7 +79,7 @@ void Minimap::Initialize(){
|
||||
}
|
||||
if(tileFound&&!collision){
|
||||
if(tileCol==BLANK)ERR("WARNING! A tile should not be blank as we should have handled all conditions that would've caused that in a different color! THIS SHOULD NOT BE HAPPENING!")
|
||||
minimap.Sprite()->SetPixel({x,y},tileCol);
|
||||
minimap.Sprite()->SetPixel({x,y},{uint8_t(std::min(255.f,tileCol.r*1.5f)),uint8_t(std::min(255.f,tileCol.g*1.5f)),uint8_t(std::min(255.f,tileCol.b*1.5f))});
|
||||
}else
|
||||
if(!tileFound){
|
||||
game->SetPixelMode(Pixel::ALPHA);
|
||||
|
@ -39,7 +39,7 @@ All rights reserved.
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 1
|
||||
#define VERSION_PATCH 0
|
||||
#define VERSION_BUILD 8703
|
||||
#define VERSION_BUILD 8706
|
||||
|
||||
#define stringify(a) stringify_(a)
|
||||
#define stringify_(a) #a
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user