comparison tools/lib64gfx.h @ 2326:9f150c0e1467

Clean up some constants.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 09 Sep 2019 11:21:41 +0300
parents ddd29161d258
children c8c58147e6e5
comparison
equal deleted inserted replaced
2325:ddd29161d258 2326:9f150c0e1467
26 #define D64_SCR_WIDTH 320 26 #define D64_SCR_WIDTH 320
27 #define D64_SCR_HEIGHT 200 27 #define D64_SCR_HEIGHT 200
28 #define D64_SCR_CH_WIDTH (D64_SCR_WIDTH / 8) 28 #define D64_SCR_CH_WIDTH (D64_SCR_WIDTH / 8)
29 #define D64_SCR_CH_HEIGHT (D64_SCR_HEIGHT / 8) 29 #define D64_SCR_CH_HEIGHT (D64_SCR_HEIGHT / 8)
30 30
31 // Full screen size with borders
31 #define D64_SCR_FULL_WIDTH 384 32 #define D64_SCR_FULL_WIDTH 384
32 #define D64_SCR_FULL_HEIGHT 272 33 #define D64_SCR_FULL_HEIGHT 272
33 #define D64_SCR_VIS_XOFFS 24 34
34 #define D64_SCR_VIS_YOFFS 50 35 // Define the usually visible area
36 #define D64_SCR_MIN_XC 32
37 #define D64_SCR_MAX_XC (D64_SCR_MIN_XC + D64_SCR_WIDTH)
38 #define D64_SCR_MIN_YC 50
39 #define D64_SCR_MAX_YC (D64_SCR_MIN_YC + D64_SCR_HEIGHT)
40
41
35 42
36 // C64 video screen pixel aspect ratio on PAL 43 // C64 video screen pixel aspect ratio on PAL
37 #define D64_SCR_PAR_XY (0.9365f) 44 #define D64_SCR_PAR_XY (0.9365f)
38 45
39 // Sprite constants 46 // Sprite constants