Port native Training and Tactics from the HTML reference (by Codex)
This commit is contained in:
1 parent
c737c17870
commit
79bf38aa78
18 files changed
+952
-12
No files matched your search
@@ -0,0 +1,15 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
#pragma once
|
||||
#include "modern/ui/catalog.hpp"
|
||||
|
||||
namespace bmh::modern_ui {
|
||||
// UI fixtures from the HTML reference; these never run a training/match rule.
|
||||
Json demo_training(const Catalog &, const std::string &club);
|
||||
bool valid_demo_training(const Json &, const Catalog &,
|
||||
const std::string &club);
|
||||
std::string edit_demo_training(Json &, const Json &action);
|
||||
Json demo_tactics();
|
||||
bool valid_demo_tactics(const Json &);
|
||||
std::string edit_demo_tactics(Json &, const Json &action);
|
||||
std::string tactics_diagram(const Json &, const std::string &theme);
|
||||
} // namespace bmh::modern_ui
|
||||
Reference in new issue
Block a user