summaryrefslogtreecommitdiff
path: root/src/constants.rs
blob: 066684d934ec0ecd22fda262efffcef91e884dd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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];

pub const VOLUME: f32 = 0.02;
pub const SAMPLE_RATE: usize = 44100;