|
|
@ -686,8 +686,9 @@ void Crawler::RenderHud(){ |
|
|
|
} |
|
|
|
} |
|
|
|
DrawStringPropDecal({20,3},text,WHITE,{2,2}); |
|
|
|
DrawStringPropDecal({20,3},text,WHITE,{2,2}); |
|
|
|
std::string versionStr("v" + std::to_string(VERSION_MAJOR) + "." + std::to_string(VERSION_MINOR) + "." + std::to_string(VERSION_PATCH) + "." + std::to_string(VERSION_BUILD)); |
|
|
|
std::string versionStr("v" + std::to_string(VERSION_MAJOR) + "." + std::to_string(VERSION_MINOR) + "." + std::to_string(VERSION_PATCH) + "." + std::to_string(VERSION_BUILD)); |
|
|
|
DrawStringDecal(vf2d{ GetScreenSize() } - vf2d{ GetTextSize(versionStr) }*0.6 - vf2d{ -1,0 }, versionStr, WHITE, { 0.6,0.6 }); |
|
|
|
DrawStringDecal(vf2d{ GetScreenSize() } - vf2d{ GetTextSize(versionStr) }*0.4 - vf2d{ 0.4,0 }, versionStr, WHITE, { 0.4,0.4 }); |
|
|
|
DrawStringDecal(vf2d{ GetScreenSize() } - vf2d{ GetTextSize(versionStr) }*0.6, versionStr, BLACK,{0.6,0.6}); |
|
|
|
DrawStringDecal(vf2d{ GetScreenSize() } - vf2d{ GetTextSize(versionStr) }*0.4 - vf2d{ 0,0.4 }, versionStr, WHITE, { 0.4,0.4 }); |
|
|
|
|
|
|
|
DrawStringDecal(vf2d{ GetScreenSize() } - vf2d{ GetTextSize(versionStr) }*0.4, versionStr, BLACK,{0.4,0.4}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void Crawler::AddEffect(Effect foreground,Effect background){ |
|
|
|
void Crawler::AddEffect(Effect foreground,Effect background){ |
|
|
|