Shrink the version numbers down a little bit more.

pull/28/head
sigonasr2 1 year ago
parent 26aeb8d440
commit e68d310034
  1. 5
      Crawler/Crawler.cpp
  2. 2
      Crawler/Version.h

@ -686,8 +686,9 @@ void Crawler::RenderHud(){
}
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));
DrawStringDecal(vf2d{ GetScreenSize() } - vf2d{ GetTextSize(versionStr) }*0.6 - vf2d{ -1,0 }, versionStr, WHITE, { 0.6,0.6 });
DrawStringDecal(vf2d{ GetScreenSize() } - vf2d{ GetTextSize(versionStr) }*0.6, versionStr, BLACK,{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.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){

@ -2,4 +2,4 @@
#define VERSION_MAJOR 0
#define VERSION_MINOR 2
#define VERSION_PATCH 0
#define VERSION_BUILD 10
#define VERSION_BUILD 13

Loading…
Cancel
Save