rocketsplash-rt 0.2.2

Runtime library for loading and rendering Rocketsplash assets (.rst, .rsf)
Documentation
// <FILE>crates/rocketsplash-rt/src/render/mod.rs</FILE>
// <DESC>Render buffer and ANSI output helpers</DESC>
// <VERS>VERSION: 1.1.0</VERS>
// <WCTX>Runtime library implementation</WCTX>
// <CLOG>Add internal ANSI state module and preserve render exports</CLOG>

mod cls_ansi_state;
mod cls_render_buffer;
mod fnc_apply_color;
mod fnc_apply_shadow;
mod fnc_to_ansi;

pub use cls_render_buffer::*;
pub use fnc_apply_color::*;
pub use fnc_apply_shadow::*;
pub use fnc_to_ansi::*;

use rocketsplash_formats::Rgb;

#[derive(Clone, Debug)]
pub enum ColorFill {
    Solid(Rgb),
    Gradient {
        start: Rgb,
        end: Rgb,
        vertical: bool,
    },
}

// <FILE>crates/rocketsplash-rt/src/render/mod.rs</FILE>
// <VERS>END OF VERSION: 1.1.0</VERS>