diff options
Diffstat (limited to 'src/constants.rs')
-rw-r--r-- | src/constants.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/constants.rs b/src/constants.rs index 4f87ae4..cc26d4a 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -1,2 +1,19 @@ pub const WIDTH: u32 = 640; pub const HEIGHT: u32 = 480; + +pub const C64_BLACK: [u8; 3] = [0, 0, 0]; +pub const C64_WHITE: [u8; 3] = [255, 255, 255]; +pub const C64_RED: [u8; 3] = [136, 0, 0]; +pub const C64_CYAN: [u8; 3] = [170, 255, 238]; +pub const C64_VIOLET: [u8; 3] = [204, 68, 204]; +pub const C64_GREEN: [u8; 3] = [0, 204, 85]; +pub const C64_BLUE: [u8; 3] = [0, 0, 170]; +pub const C64_YELLOW: [u8; 3] = [238, 238, 119]; +pub const C64_ORANGE: [u8; 3] = [221, 136, 85]; +pub const C64_BROWN: [u8; 3] = [102, 68, 0]; +pub const C64_LIGHT_RED: [u8; 3] = [255, 119, 119]; +pub const C64_DARK_GREY: [u8; 3] = [51, 51, 51]; +pub const C64_GREY: [u8; 3] = [119, 119, 119]; +pub const C64_LIGHT_GREEN: [u8; 3] = [170, 255, 102]; +pub const C64_LIGHT_BLUE: [u8; 3] = [0, 136, 255]; +pub const C64_LIGHT_GREY: [u8; 3] = [187, 187, 187]; |