1
0

feat: add new rules in BMapInspector

This commit is contained in:
2026-03-03 14:59:43 +08:00
parent f0160ce7c2
commit 49a729078c
6 changed files with 337 additions and 4 deletions

View File

@@ -53,4 +53,22 @@ namespace BMapInspector::Rule {
void Check(Reporter::Reporter& reporter, Map::Level& level) const override;
};
/**
* @brief YYC12345 Rule 4
* @details
* \li Check the video format for opaque and transparent texture respectively.
* \li Warning for video format which is not used by vanilla Ballance.
* \li Warning for transparent used video format in non-Ballance textures to conserve resources.
*/
class YYCRule4 : public IRule {
public:
YYCRule4();
virtual ~YYCRule4();
YYCC_DELETE_COPY_MOVE(YYCRule4)
public:
std::u8string_view GetRuleName() const override;
void Check(Reporter::Reporter& reporter, Map::Level& level) const override;
};
}