Skip to content

Commit

Permalink
Resolve #195 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lokathor committed Jun 30, 2024
1 parent 12457ad commit 530c15b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/sample_art.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ pub fn decompress_cga_face_to_vram_4bpp(dest: VolRegion<Tile4, Safe, Safe>) {
}

/// An empty type that just serves as a namespace for constants.
///
/// The CGA data is 256 tiles with character tiles that match with ASCII where
/// appropriate. If you want to write something, `ch as u8` will give you the
/// correct index value for any printable ascii character.
///
/// The constants here give names to the *other* tiles in the CGA dataset.
pub struct Cga;
#[allow(missing_docs)]
impl Cga {
Expand Down

0 comments on commit 530c15b

Please sign in to comment.