pcb and initial code from https://github.com/das-labor/borgware-2d.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
299 B
19 lines
299 B
#ifndef BEARING_H_
|
|
#define BEARING_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
enum tetris_bearing
|
|
{
|
|
TETRIS_BEARING_0,
|
|
TETRIS_BEARING_90,
|
|
TETRIS_BEARING_180,
|
|
TETRIS_BEARING_270
|
|
};
|
|
#ifdef NDEBUG
|
|
typedef uint8_t tetris_bearing_t;
|
|
#else
|
|
typedef enum tetris_bearing tetris_bearing_t;
|
|
#endif
|
|
|
|
#endif /* BEARING_H_ */
|
|
|