1
0

feat: add cli support for BMapInspector

This commit is contained in:
2026-01-31 11:28:03 +08:00
parent 103cb496a2
commit 8f5cc51de4
9 changed files with 418 additions and 136 deletions

View File

@@ -1,4 +1,6 @@
#include "Utils.hpp"
#include "Cli.hpp"
#include "Reporter.hpp"
#include "Ruleset.hpp"
#include <VTAll.hpp>
#include <yycc.hpp>
@@ -11,16 +13,28 @@ using namespace yycc::patch::stream;
namespace strop = yycc::string::op;
namespace termcolor = yycc::carton::termcolor;
static bool ProcessCli() {
}
static void LoadVirtools() {
}
static void CheckRules() {
}
int main(int argc, char *argv[]) {
// Show splash
std::cout << termcolor::colored(u8"Ballance Map Inspector", termcolor::Color::LightYellow)
std::cout << termcolor::colored(u8"" BMAPINSP_NAME, termcolor::Color::LightYellow)
<< " (based on LibCmo " LIBCMO_VER_STR ") built at " __DATE__ " " __TIME__ << std::endl
<< u8"The inspector for checking whether your Ballance custom map can be loaded without any issues." << std::endl
<< u8"" BMAPINSP_DESC << std::endl
<< std::endl;
// Create reporter
BMapInspector::Utils::Reporter reporter;
BMapInspector::Reporter reporter;
// Get rule collection
BMapInspector::Ruleset::RuleCollection rule_collection;