Small improvements for code readability

This commit is contained in:
2024-01-23 14:44:10 -05:00
parent c33f6e8c1e
commit cad12f67e4
12 changed files with 35 additions and 30 deletions

View File

@@ -104,7 +104,7 @@ namespace JabyEngine {
return Helper::construct_cmd<struct GP0>(0xA0, 0);
}
static constexpr struct GP0 TexPage(const GPU::PositionU16& page_pos, GPU::SemiTransparency transparency, GPU::TexturePageColor tex_color, bool dither, bool draw_on_display_area) {
static constexpr struct GP0 TexPage(const GPU::PositionU16& page_pos, GPU::SemiTransparency transparency, GPU::TextureColorMode tex_color, bool dither, bool draw_on_display_area) {
constexpr auto TexXRange = BitRange::from_to(0, 3);
constexpr auto TexYRange = BitRange::from_to(4, 4);
constexpr auto TransparencyRange = BitRange::from_to(5, 6);