Remove last constructor and remove GLOBAL SUB with it

This commit is contained in:
Jaby Blubb
2023-10-03 13:16:46 +02:00
parent 2c4583c8d7
commit 993adc3f26
11 changed files with 86 additions and 89 deletions

View File

@@ -20,13 +20,13 @@ namespace object {
public:
constexpr Paco() :
tex_page(GPU::TexPage::create(
{TIM.get_texture_x(), TIM.get_texture_y()},
tex_page(GPU::TexPage::create(GPU::PositionU16::create(
TIM.get_texture_x(), TIM.get_texture_y()),
GPU::TexturePageColor::$4bit).linked()),
sprite(GPU::SPRT::create(
#pragma GCC warning "This pic used to be 122px (file size) and every tool would except it - however the display would be corrupt"
GPU::AreaI16({0, 100}, {120, 128}),
GPU::PagePositionClut({0, 0}, GPU::PageClut::create(TIM.get_clut_x(), TIM.get_clut_y())),
GPU::AreaI16::create(GPU::PositionI16::create(0, 100), GPU::SizeI16::create(120, 128)),
GPU::PagePositionClut(GPU::PagePosition::create(0, 0), GPU::PageClut::create(TIM.get_clut_x(), TIM.get_clut_y())),
GPU::Color24::Blue()).linked()),
timer(),
color_idx(0) {}