💾 Archived View for gemini.rmf-dev.com › repo › Vaati › Tetris › files › d08f348206a3be50654f58bb1fa… captured on 2023-12-28 at 15:48:14. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-08)

-=-=-=-=-=-=-

Go Back

0 /* See LICENSE file for copyright and license details. */

1 #define uint8 unsigned char

2

3 #define LEFT 0x01

4 #define RIGHT 0x02

5 #define DOWN 0x04

6 #define ROTATE 0x08

7 #define QUIT 0x10

8

9 int backend_init();

10 void backend_clean();

11 void backend_refresh();

12 void backend_fill(int x, int y, int w, int h, int color);

13 void backend_draw(int x, int y, int w, int h, int color);

14 uint8 backend_input();

15

16 extern int backend_width;

17 extern int backend_height;

18