Create constructor for SimpleTIM

This commit is contained in:
Jaby
2024-09-28 13:13:00 +02:00
committed by Jaby
parent 6672ab7980
commit 7d0568c52e
8 changed files with 12 additions and 14 deletions

View File

@@ -5,7 +5,7 @@
namespace GTETest {
using namespace JabyEngine;
static constexpr auto JabySTARTim = SimpleTIM(
static constexpr auto JabySTARTim = SimpleTIM::create(
// v Doenerfisch rotates so we need some space
Assets::Main::DoenerFishInfo.tim.get_texture_x(), Assets::Main::DoenerFishInfo.tim.get_texture_y() + Assets::Main::DoenerFishInfo.size.height + 2,
Assets::Main::DoenerFishInfo.tim.get_clut_x() + 16, Assets::Main::DoenerFishInfo.tim.get_clut_y()