1
0

feat: add new rule in BMapInspector

This commit is contained in:
2026-02-04 21:32:34 +08:00
parent 7b40c64470
commit 2240f55964
6 changed files with 95 additions and 7 deletions

View File

@@ -0,0 +1,22 @@
#pragma once
#include "../Rule.hpp"
namespace BMapInspector::Rule {
/**
* @brief speedystoneball Rule 1
* @details
* Pjysicalized object should not have scale factor, especially negative scale factor (mirror).
*/
class SSBRule1 : public IRule {
public:
SSBRule1();
virtual ~SSBRule1();
YYCC_DELETE_COPY_MOVE(SSBRule1)
public:
std::u8string_view GetRuleName() const override;
void Check(Reporter::Reporter& reporter, Map::Level& level) const override;
};
} // namespace BMapInspector::Rule