Support even more make functions
This commit is contained in:
@@ -89,7 +89,7 @@ namespace JabyEngine {
|
||||
// ###################################################################
|
||||
|
||||
static constexpr GPU::PagePosition PagePosition() {
|
||||
return creator_template<GPU::PagePosition>(0, 0);
|
||||
return creator_template<GPU::PagePosition>(0_u8, 0_u8);
|
||||
}
|
||||
|
||||
static constexpr GPU::PagePosition PagePosition(uint8_t u, uint8_t v) {
|
||||
@@ -99,7 +99,7 @@ namespace JabyEngine {
|
||||
// ###################################################################
|
||||
|
||||
static constexpr GPU::PageClut PageClut() {
|
||||
return creator_template<GPU::PageClut>(0, 0);
|
||||
return creator_template<GPU::PageClut>(0_u16, 0_u16);
|
||||
}
|
||||
|
||||
static constexpr GPU::PageClut PageClut(uint16_t x, uint16_t y) {
|
||||
@@ -108,6 +108,16 @@ namespace JabyEngine {
|
||||
|
||||
// ###################################################################
|
||||
|
||||
static constexpr GPU::TPage TPage() {
|
||||
return creator_template<GPU::TPage>(0_u16, 0_u16, GPU::SemiTransparency::B_add_F, GPU::TexturePageColor::$4bit);
|
||||
}
|
||||
|
||||
static constexpr GPU::TPage TPage(uint16_t x, uint16_t y, GPU::SemiTransparency transparency, GPU::TexturePageColor clut_color) {
|
||||
return creator_template<GPU::TPage>(x, y, transparency, clut_color);
|
||||
}
|
||||
|
||||
// ###################################################################
|
||||
|
||||
static constexpr GPU::PagePositionClut PagePositionClut() {
|
||||
return creator_template<GPU::PagePositionClut>(PagePosition(), PageClut());
|
||||
}
|
||||
@@ -135,6 +145,13 @@ namespace JabyEngine {
|
||||
static constexpr GPU::ColorVertex ColorVertex(GPU::Color24 color, GPU::Vertex pos) {
|
||||
return creator_template<GPU::ColorVertex>(color, pos);
|
||||
}
|
||||
|
||||
// ###################################################################
|
||||
// ###################################################################
|
||||
// ###################################################################
|
||||
// ###################################################################
|
||||
// ###################################################################
|
||||
// ###################################################################
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user