21 lines
433 B
C
21 lines
433 B
C
/* TODO: Remove duplicates */
|
|
|
|
#define VEC_PRECISION 16384
|
|
#define UPS 256
|
|
#define PXS (VEC_PRECISION / UPS)
|
|
#define TILE_SIZE VEC_PRECISION
|
|
#define VEC_DCENTER (Vec){DWIDTH / 2, DHEIGHT / 2}
|
|
|
|
#ifdef FX9860G
|
|
#define SCALE 5
|
|
#define FPS 16
|
|
#endif /* FX9860G */
|
|
#ifdef FXCG50
|
|
#define SCALE 16
|
|
#define FPS 32
|
|
#endif /* FXCG50 */
|
|
|
|
#define TILE_PX_SIZE SCALE
|
|
#define VEC_SCALED_DCENTER (Vec){DWIDTH / (2 * SCALE), DHEIGHT / (2 * SCALE)}
|
|
|