Files
Dreierpack-Manager/src/ui/live_reality.hpp
T
ClaudeandClaude Sonnet 5.5 287b5a9251 Add header comments to the source files
Every source file in ui, app, game, formats, cli, audio and launch that had none
now starts with a short English comment: what it implements, what state it owns
and how it relates to its neighbours (request/acknowledge flow, pairs of files,
random generator use). Comment lines only; the full build and the runnable
tests are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 09:15:23 +01:00

25 lines
860 B
C++

// SPDX-License-Identifier: GPL-3.0-only
// Reality field renderer: only the lower pitch field of the live reality view, drawn from a motion frame
// and a backdrop. Header and reporter text are owned by the caller; this renderer cannot select a pass,
// a player or a match result. Implementation: live_reality.cpp.
#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