diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2020-03-04 07:20:49 -0600 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2020-03-04 07:20:49 -0600 |
commit | c7d13e2721482772c12b44773777c5902f25848c (patch) | |
tree | ad87eaa9487c4336febe8ec07d39077e67897f58 /src/constants.rs | |
parent | 0c0b348971ee209679b571977115537daf9288cf (diff) |
removed surface from inits, now have vector of tessalations, added all the c84 colors
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]; |