name some ids
This commit is contained in:
parent
4b2de6f88c
commit
617cae300f
@ -1,10 +1,13 @@
|
||||
use super::common::flag;
|
||||
|
||||
pub type ModeId=u32;
|
||||
pub type StageId=u32;
|
||||
|
||||
#[binrw::binrw]
|
||||
#[brw(little)]
|
||||
pub struct StageElement{
|
||||
pub header:u8,
|
||||
pub stage_id:u32,
|
||||
pub stage_id:StageId,
|
||||
#[br(if(header&Self::JUMP_LIMIT!=0))]
|
||||
pub jump_limit:Option<u8>,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user