2021-01-19 16:34:48 +01:00
|
|
|
/* TODO: Remove duplicates */
|
|
|
|
|
2021-01-14 13:59:25 +01:00
|
|
|
#define VEC_PRECISION 16384
|
2020-12-22 12:01:23 +01:00
|
|
|
#define UPS 256
|
2020-09-19 14:00:46 +02:00
|
|
|
#define PXS (VEC_PRECISION / UPS)
|
2021-01-19 16:34:48 +01:00
|
|
|
#define TILE_SIZE VEC_PRECISION
|
2020-09-21 14:15:58 +02:00
|
|
|
#define VEC_DCENTER (Vec){DWIDTH / 2, DHEIGHT / 2}
|
2020-09-19 11:14:51 +02:00
|
|
|
|
|
|
|
#ifdef FX9860G
|
2021-01-19 16:34:48 +01:00
|
|
|
#define SCALE 5
|
2020-12-27 00:06:37 +01:00
|
|
|
#define FPS 16
|
2020-09-19 11:14:51 +02:00
|
|
|
#endif /* FX9860G */
|
|
|
|
#ifdef FXCG50
|
2021-01-19 16:34:48 +01:00
|
|
|
#define SCALE 16
|
2020-09-19 14:00:46 +02:00
|
|
|
#define FPS 32
|
2020-09-19 11:14:51 +02:00
|
|
|
#endif /* FXCG50 */
|
2020-09-23 12:19:40 +02:00
|
|
|
|
2021-01-19 16:34:48 +01:00
|
|
|
#define TILE_PX_SIZE SCALE
|
2020-09-23 12:19:40 +02:00
|
|
|
#define VEC_SCALED_DCENTER (Vec){DWIDTH / (2 * SCALE), DHEIGHT / (2 * SCALE)}
|
2021-01-19 16:34:48 +01:00
|
|
|
|