Mercurial > hg > dmlib
comparison tools/lib64gfx.h @ 2597:f2fffa7b9137
Cosmetic.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 19 Nov 2023 03:55:18 +0200 |
parents | 0d6aa5cae517 |
children | 92909caccc9e |
comparison
equal
deleted
inserted
replaced
2596:353192a5100a | 2597:f2fffa7b9137 |
---|---|
37 #define D64_SCR_MAX_XC (D64_SCR_MIN_XC + D64_SCR_WIDTH) | 37 #define D64_SCR_MAX_XC (D64_SCR_MIN_XC + D64_SCR_WIDTH) |
38 #define D64_SCR_MIN_YC 50 | 38 #define D64_SCR_MIN_YC 50 |
39 #define D64_SCR_MAX_YC (D64_SCR_MIN_YC + D64_SCR_HEIGHT) | 39 #define D64_SCR_MAX_YC (D64_SCR_MIN_YC + D64_SCR_HEIGHT) |
40 | 40 |
41 | 41 |
42 | |
43 // C64 video screen pixel aspect ratio on PAL | 42 // C64 video screen pixel aspect ratio on PAL |
44 #define D64_SCR_PAR_XY (0.9365f) | 43 #define D64_SCR_PAR_XY (0.9365f) |
44 | |
45 | 45 |
46 // Sprite constants | 46 // Sprite constants |
47 #define D64_SPR_WIDTH_PX 24 | 47 #define D64_SPR_WIDTH_PX 24 |
48 #define D64_SPR_HEIGHT_PX 21 | 48 #define D64_SPR_HEIGHT_PX 21 |
49 #define D64_SPR_WIDTH_UT (D64_SPR_WIDTH_PX / 8) // bytes | 49 #define D64_SPR_WIDTH_UT (D64_SPR_WIDTH_PX / 8) // bytes |