Add features for each script type

This commit is contained in:
2025-06-02 22:31:46 +08:00
parent abf30c8a55
commit 52811fe2eb
6 changed files with 107 additions and 0 deletions

View File

@@ -182,13 +182,17 @@ pub struct ExtraConfig {
#[derive(Clone, Copy, Debug, ValueEnum, PartialEq, Eq, PartialOrd, Ord)]
/// Script type
pub enum ScriptType {
#[cfg(feature = "circus")]
/// Circus MES script
Circus,
#[cfg(feature = "bgi")]
#[value(alias("ethornell"))]
/// Buriko General Interpreter/Ethornell Script
BGI,
#[cfg(feature = "escude")]
/// Escude bin archive
EscudeArc,
#[cfg(feature = "escude")]
/// Escude bin script
Escude,
}