Show score and moves

This commit is contained in:
hkz 2025-07-22 15:38:52 +02:00
commit 1a3635fc9a
5 changed files with 55 additions and 35 deletions

View file

@ -25,7 +25,6 @@ static uint8_t *back_buf = (uint8_t*)DISPLAY_PAGE_2;
// Every square is 35x35 pixels
void draw_field_borders_on_buffer(uint8_t brd, uint8_t* buf);
void swap_display_buffers(void);
void ddraw_field_borders_on_buffer(uint8_t brd) {
draw_field_borders_on_buffer(brd, front_buf);
@ -97,9 +96,6 @@ void draw_tiles(void) {
// Re-draw the borders, to restore the correct width
draw_field_borders_on_buffer(0x0F, back_buf);
// And finally swap the buffer to show the update
swap_display_buffers();
}
void swap_display_buffers(void) {