From 4ee873b02c8c6c242b0871edd89e04b5c62a0460 Mon Sep 17 00:00:00 2001 From: Jaby Date: Fri, 1 Mar 2024 12:25:14 -0500 Subject: [PATCH] =?UTF-8?q?Support=20D=C3=B6nerFisch=20again?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/PoolBox/application/src/Overlay/GPUTest/gpu_test.cpp | 1 + .../application/src/Overlay/ScreenCenter/screen_center.cpp | 1 + examples/PoolBox/application/src/application.cpp | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/PoolBox/application/src/Overlay/GPUTest/gpu_test.cpp b/examples/PoolBox/application/src/Overlay/GPUTest/gpu_test.cpp index 9851670b..b2d0e004 100644 --- a/examples/PoolBox/application/src/Overlay/GPUTest/gpu_test.cpp +++ b/examples/PoolBox/application/src/Overlay/GPUTest/gpu_test.cpp @@ -5,6 +5,7 @@ #include #include +// TODO: All the Jabys are broken namespace GPUTest { using namespace JabyEngine; diff --git a/examples/PoolBox/application/src/Overlay/ScreenCenter/screen_center.cpp b/examples/PoolBox/application/src/Overlay/ScreenCenter/screen_center.cpp index cdfafcfc..7e47e2b8 100644 --- a/examples/PoolBox/application/src/Overlay/ScreenCenter/screen_center.cpp +++ b/examples/PoolBox/application/src/Overlay/ScreenCenter/screen_center.cpp @@ -6,6 +6,7 @@ #include #include +// TODO: The border is missing namespace ScreenCenter { using namespace JabyEngine; using GenericButton = Periphery::GenericController::Button; diff --git a/examples/PoolBox/application/src/application.cpp b/examples/PoolBox/application/src/application.cpp index 893382e8..f4ea29a3 100644 --- a/examples/PoolBox/application/src/application.cpp +++ b/examples/PoolBox/application/src/application.cpp @@ -38,11 +38,12 @@ static const Menu::SimpleMenu::Entry MenuEntries[] = { {"Screen Center"}, }; +// TODO: All elements seem to have to be Linked? Make this a rule? static const auto doener_fish = Make::SPRT( Make::AreaI16(Make::PositionI16(8, GPU::Display::Height - Assets::Main::DoenerFishInfo.size.height), Assets::Main::DoenerFishInfo.size), // v this needs to be nicer! Has to be Make::OffsetPageWithClut(Assets::Main::DoenerFishInfo.tim.get_page_offset_clut4(), Make::PageClut(Assets::Main::DoenerFishInfo.tim.get_clut_position())), GPU::Color24::Grey() -); +).linked(); // Do we want this namespace? // Do we want Paco to be HERE?!