17 lines
565 B
Rust
17 lines
565 B
Rust
use super::CapFlags;
|
|
|
|
pub const NONE: CapFlags = 0;
|
|
pub const SYSTEM: CapFlags = 1 << 0;
|
|
pub const COMPOSER: CapFlags = 1 << 1;
|
|
pub const AUDIO: CapFlags = 1 << 2;
|
|
pub const FS: CapFlags = 1 << 3;
|
|
pub const LOG: CapFlags = 1 << 4;
|
|
pub const ASSET: CapFlags = 1 << 5;
|
|
pub const BANK: CapFlags = 1 << 6;
|
|
pub const GFX2D: CapFlags = 1 << 7;
|
|
pub const GFXUI: CapFlags = 1 << 8;
|
|
pub const MEMCARD: CapFlags = 1 << 9;
|
|
pub const GFX: CapFlags = COMPOSER | GFX2D;
|
|
pub const ALL: CapFlags =
|
|
SYSTEM | COMPOSER | AUDIO | FS | LOG | ASSET | BANK | GFX2D | GFXUI | MEMCARD;
|