style modifiers in mode

This commit is contained in:
Quaternions 2023-11-01 16:06:48 -07:00
parent eaef3d3fd5
commit 242b4ab470

View File

@ -50,6 +50,8 @@ pub struct IndexedModelInstances{
} }
//stage description referencing flattened ids is spooky, but the map loading is meant to be deterministic. //stage description referencing flattened ids is spooky, but the map loading is meant to be deterministic.
pub struct ModeDescription{ pub struct ModeDescription{
//TODO: put "default" style modifiers in mode
//pub style:StyleModifiers,
pub start:usize,//start=model_id pub start:usize,//start=model_id
pub spawns:Vec<usize>,//spawns[spawn_id]=model_id pub spawns:Vec<usize>,//spawns[spawn_id]=model_id
pub spawn_from_stage_id:std::collections::HashMap::<u32,usize>, pub spawn_from_stage_id:std::collections::HashMap::<u32,usize>,