1
0

feat: add new 2 rules for BMapInspector

This commit is contained in:
2026-02-20 16:00:00 +08:00
parent d31a98a859
commit 8dbce47d8a
8 changed files with 277 additions and 18 deletions

View File

@@ -24,7 +24,13 @@ namespace BMapInspector::Rule {
/**
* @brief Gamepiaynmo Rule 2
* @details
* Every Ballance group should not have any groups with same name.
* This rule will:
* \li Show how many sector located in given map.
* \li Check whether there is sector group.
* \li Check whether use intuitive sector name for sector 9.
* \li Warn for sector count is equal to 1. It will cause mosaic issue on the flames of checkpoint.
* \li Warn for sector count greater than 8. It will cause vanilla game freezed without 999 sector loader.
* \li Check whether sector group is successive.
*/
class GpRule2 : public IRule {
public:
@@ -37,6 +43,22 @@ namespace BMapInspector::Rule {
void Check(Reporter::Reporter& reporter, Map::Level& level) const override;
};
///**
// * @brief Gamepiaynmo Rule 2
// * @details
// * Every Ballance group should not have any groups with same name.
// */
//class GpRule2 : public IRule {
//public:
// GpRule2();
// virtual ~GpRule2();
// YYCC_DELETE_COPY_MOVE(GpRule2)
//public:
// std::u8string_view GetRuleName() const override;
// void Check(Reporter::Reporter& reporter, Map::Level& level) const override;
//};
///**
// * @brief Gamepiaynmo Rule 2
// * @details