This repository has been archived on 2022-01-13. You can view files and clone it, but cannot push or open issues or pull requests.
jtmm2-old/include/conf.h

21 lines
433 B
C
Raw Normal View History

2021-01-19 16:34:48 +01:00
/* TODO: Remove duplicates */
#define VEC_PRECISION 16384
#define UPS 256
#define PXS (VEC_PRECISION / UPS)
2021-01-19 16:34:48 +01:00
#define TILE_SIZE VEC_PRECISION
#define VEC_DCENTER (Vec){DWIDTH / 2, DHEIGHT / 2}
#ifdef FX9860G
2021-01-19 16:34:48 +01:00
#define SCALE 5
2020-12-27 00:06:37 +01:00
#define FPS 16
#endif /* FX9860G */
#ifdef FXCG50
2021-01-19 16:34:48 +01:00
#define SCALE 16
#define FPS 32
#endif /* FXCG50 */
2021-01-19 16:34:48 +01:00
#define TILE_PX_SIZE SCALE
#define VEC_SCALED_DCENTER (Vec){DWIDTH / (2 * SCALE), DHEIGHT / (2 * SCALE)}
2021-01-19 16:34:48 +01:00