From c7d13e2721482772c12b44773777c5902f25848c Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Wed, 4 Mar 2020 07:20:49 -0600 Subject: removed surface from inits, now have vector of tessalations, added all the c84 colors --- src/constants.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/constants.rs') 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]; -- cgit v1.2.3