Add kirikiri Scn script support

This commit is contained in:
2025-06-30 17:39:38 +08:00
parent aafa03db02
commit ff00a65dab
8 changed files with 430 additions and 1 deletions

View File

@@ -110,6 +110,10 @@ pub struct Arg {
#[arg(long, global = true, action = ArgAction::SetTrue)]
/// Draw CatSystem2 image on canvas (if canvas width and height are specified in file)
pub cat_system_image_canvas: bool,
#[cfg(feature = "kirikiri")]
#[arg(long, global = true)]
/// Kirikiri language index in script. If not specified, the first language will be used.
pub kirikiri_language_index: Option<usize>,
#[command(subcommand)]
/// Command
pub command: Command,