Files
esuo1198_TaikoArcadeLoader/src/banner.cpp
T
ptmaster 466e6d2e59 Log Optimization & add Banner
layeredfs add mod_dir option allow uses different folder
add simple input option to allow input direct apply to game
2025-03-16 16:49:07 +08:00

22 lines
1.0 KiB
C++

#include "banner.h"
namespace Banner {
std::string
Version::getVer () {
std::string fullVersion = std::string (TAL_VERSION);
return fullVersion.substr (0, fullVersion.find("-"));
}
Version::Version () {
// Print a cool logo with version info
std::cout << R"( )" << std::endl;
std::cout << R"( ______ _ __ ___ __ __ __ )" << std::endl;
std::cout << R"(/_ __/__ (_) /_____ / _ | ___________ ___/ /__ / / ___ ___ ___/ /__ ____)" << std::endl;
std::cout << R"( / / / _ `/ / '_/ _ \/ __ |/ __/ __/ _ `/ _ / -_) /__/ _ \/ _ `/ _ / -_) __/)" << std::endl;
std::cout << R"(/_/ \_,_\_/_/\_\\___/_/ |_/_/ \__/\_,_\\_,_/\__/____/\___/\_,_\\_,_/\__/_/ )" << std::endl;
std::cout << std::format("{: >79}", std::format("::v{}::", TAL_VERSION)) << std::endl;
std::cout << R"( )" << std::endl;
}
}