Maxed out item rolls now show up in a different color. Release Build 8012.
This commit is contained in:
@@ -72,6 +72,14 @@ float util::lerp(float n1,float n2,double t){
|
||||
return float(n1*(1-t)+n2*t);
|
||||
}
|
||||
|
||||
std::string util::PixelToHTMLColorCode(const Pixel&col){
|
||||
std::string hexCode=std::format("#{:2x}{:2x}{:2x}",col.r,col.g,col.b);
|
||||
for(char&c:hexCode){
|
||||
c=toupper(c);
|
||||
}
|
||||
return hexCode;
|
||||
}
|
||||
|
||||
std::string util::timerStr(float time){
|
||||
int seconds=int(time);
|
||||
int hours=seconds/3600;
|
||||
|
||||
Reference in New Issue
Block a user