Files
zig-chess/src/assets.zig
T

19 lines
891 B
Zig

pub const piece_width = 256;
pub const piece_height = 256;
pub const piece_channels = 4;
pub const piece_byte_len = piece_width * piece_height * piece_channels;
pub const white_pawn_rgba = @embedFile("white_pawn_rgba");
pub const white_knight_rgba = @embedFile("white_knight_rgba");
pub const white_bishop_rgba = @embedFile("white_bishop_rgba");
pub const white_rook_rgba = @embedFile("white_rook_rgba");
pub const white_queen_rgba = @embedFile("white_queen_rgba");
pub const white_king_rgba = @embedFile("white_king_rgba");
pub const black_pawn_rgba = @embedFile("black_pawn_rgba");
pub const black_knight_rgba = @embedFile("black_knight_rgba");
pub const black_bishop_rgba = @embedFile("black_bishop_rgba");
pub const black_rook_rgba = @embedFile("black_rook_rgba");
pub const black_queen_rgba = @embedFile("black_queen_rgba");
pub const black_king_rgba = @embedFile("black_king_rgba");