Add palettes to GraphicsEditor, build housekeeping

This commit is contained in:
scawful
2023-07-09 22:35:10 -04:00
parent 003e3d5ab4
commit c0d94a5982
11 changed files with 26 additions and 13 deletions

View File

@@ -164,7 +164,7 @@ void Canvas::DrawBitmap(const Bitmap &bitmap, int x_offset, int y_offset) {
}
// TODO: Add parameters for sizing and positioning
void Canvas::DrawBitmapTable(const BitmapTable gfx_bin) {
void Canvas::DrawBitmapTable(const BitmapTable &gfx_bin) {
for (const auto &[key, value] : gfx_bin) {
int offset = 0x40 * (key + 1);
int top_left_y = canvas_p0_.y + 2;