Rendering tiles!
This commit is contained in:
parent
ea0e2a0a46
commit
462e4d1295
@ -353,9 +353,10 @@ public:
|
||||
|
||||
Rom::BackgroundPalette&palette{rom.palettes[selectedPalette]};
|
||||
for(uint8_t index=0;Pixel&col:palette.colors){
|
||||
FillRectDecal(vf2d{index*8.f,8.f+yOffset+9},{8,8},col);
|
||||
FillRectDecal(vf2d{index*8.f,8.f},{8,8},col);
|
||||
index++;
|
||||
}
|
||||
DrawRectDecal(vf2d{8.f,8.f},{8*16,8});
|
||||
|
||||
for(uint8_t row=0;Rom::BackgroundGraphics&graphics:rom.graphics){
|
||||
for(uint8_t col=0;Rom::Tile&tile:graphics.tiles){
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user