use crate::codegen; #[derive(PartialEq, Default, Debug)] pub struct Text(String); #[derive(PartialEq, Default, Debug)] pub struct Variable(String); #[derive(PartialEq, Default, Debug)] pub struct Number(f32); #[derive(PartialEq, Default, Debug)] pub struct Location(f32, f32, f32, f32, f32); #[derive(PartialEq, Default, Debug)] pub struct Vector(f32, f32, f32); #[derive(PartialEq, Default, Debug)] pub struct Particle { name: String, amount: u32, spread: (i32, i32), motion: (i32, i32, i32), motion_variation: u32, } #[derive(PartialEq, Default, Debug)] pub struct Sound { sound: String, pitch: f32, vol: f32, } #[derive(PartialEq, Default, Debug)] pub struct Potion { effect: String, dur: u32, amp: u32, } #[derive(PartialEq, Default, Debug)] pub struct Item(codegen::item::Item); #[derive(PartialEq, Default, Debug)] pub struct Texts(Vec); #[derive(PartialEq, Default, Debug)] pub struct Variables(Vec); #[derive(PartialEq, Default, Debug)] pub struct Numbers(Vec); #[derive(PartialEq, Default, Debug)] pub struct Locations(Vec); #[derive(PartialEq, Default, Debug)] pub struct Vectors(Vec); #[derive(PartialEq, Default, Debug)] pub struct Particles(Vec); #[derive(PartialEq, Default, Debug)] pub struct Items(Vec); #[derive(PartialEq, Default, Debug)] pub struct Sounds(Vec); #[derive(PartialEq, Default, Debug)] pub struct Potions(Vec); #[derive(PartialEq, Default, Debug)] pub struct OptionalText(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalVariable(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalNumber(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalLocation(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalVector(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalParticle(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalItem(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalSound(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalPotion(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalTexts(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalVariables(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalNumbers(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalLocations(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalVectors(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalParticles(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalItems(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalSounds(Option); #[derive(PartialEq, Default, Debug)] pub struct OptionalPotions(Option); #[derive(PartialEq, Default, Debug)] pub struct BoolTag(bool); #[derive(PartialEq, Default, Debug)] pub struct StringTag(String);