Initial public OpenBMH 0.1 source (by Codex)
This commit is contained in:
commit
558fbf166b
613 files changed
+168029
No files matched your search
@@ -0,0 +1,21 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
|
||||
#include "formats/vga.hpp"
|
||||
#include "game/reality_motion.hpp"
|
||||
|
||||
namespace bmh::ui {
|
||||
|
||||
// Only the lower Reality field (RealityFieldScreen). Header and reporter text are owned
|
||||
// by the caller. This renderer cannot select a pass, a player or a match result.
|
||||
class RealityFieldScreen {
|
||||
public:
|
||||
RealityFieldScreen(const std::filesystem::path& data, uint8_t ball_style);
|
||||
Image render(const RealityMotionFrame&, const Image& backdrop) const;
|
||||
private:
|
||||
Image atlas_, digits_;
|
||||
};
|
||||
|
||||
} // namespace bmh::ui
|
||||
Reference in new issue
Block a user