Initial public OpenBMH 0.1 source (by Codex)

This commit is contained in:
Codex committed 2026-10-16 19:36:32 +02:00
commit 558fbf166b
613 files changed
+168029

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
// SPDX-License-Identifier: GPL-3.0-only
#pragma once
#include <stdexcept>
#include "formats/vga.hpp"
namespace bmh::ui::test {
inline void expect_notice_symbols(const Image& image,const Image& atlas) {
for(int y=0;y<22;++y)for(int x=0;x<22;++x)
for(int left:{99,192})
if(image.pixels.at(size_t(90+y)*image.width+left+x)!=atlas.pixels.at(size_t(44+y)*atlas.width+55+x))
throw std::runtime_error("notice must use Original red exclamation art, not green question art");
}
}