// This lint is helpful, but right now we have too many instances of it. // TODO: Remove this once all instances are fixed. #![allow(clippy::needless_pass_by_ref_mut)] // This lint is good in theory, but in AVMs we often need to do `let x = args.get(0); let y = args.get(1);` etc. // It'd make those much less readable and consistent. #![allow(clippy::get_first)] #[macro_use] mod display_object; pub use display_object::{StageAlign, StageDisplayState, StageScaleMode}; #[macro_use] extern crate smallvec; #[macro_use] extern crate downcast_rs; #[macro_use] extern crate num_derive; #[macro_use] mod avm1; mod avm2; mod binary_data; pub mod bitmap; pub mod buffer; mod character; pub mod context; pub mod context_menu; mod drawing; mod ecma_conversions; pub(crate) mod either; pub mod events; pub mod focus_tracker; mod font; mod frame_lifecycle; mod html; mod library; pub mod limits; pub mod loader; mod local_connection; mod locale; mod net_connection; pub mod pixel_bender; mod player; mod prelude; pub mod socket; mod streams; pub mod string; pub mod tag_utils; pub mod timer; mod types; mod vminterface; mod xml; pub mod backend; pub mod compatibility_rules; pub mod config; #[cfg(feature = "egui")] pub mod debug_ui; pub mod external; pub mod i18n; pub mod stub; pub use avm1::globals::system::SandboxType; pub use context_menu::ContextMenuItem; pub use events::PlayerEvent; pub use font::DefaultFont; pub use indexmap; pub use loader::LoadBehavior; pub use player::{Player, PlayerBuilder, PlayerRuntime, StaticCallstack}; pub use ruffle_render::backend::ViewportDimensions; pub use swf; pub use swf::Color;