feat!: Renamed SynthizerSystems
to SynthizerSets
.
This commit is contained in:
parent
18dd994077
commit
b1c1e82866
36
src/lib.rs
36
src/lib.rs
|
@ -692,7 +692,7 @@ fn events(
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(SystemSet, Clone, Hash, Debug, PartialEq, Eq)]
|
#[derive(SystemSet, Clone, Hash, Debug, PartialEq, Eq)]
|
||||||
pub enum SynthizerSystems {
|
pub enum SynthizerSets {
|
||||||
UpdateHandles,
|
UpdateHandles,
|
||||||
UpdateProperties,
|
UpdateProperties,
|
||||||
UpdateState,
|
UpdateState,
|
||||||
|
@ -760,66 +760,66 @@ impl Plugin for SynthizerPlugin {
|
||||||
.add_system(
|
.add_system(
|
||||||
swap_buffers
|
swap_buffers
|
||||||
.in_base_set(CoreSet::PostUpdate)
|
.in_base_set(CoreSet::PostUpdate)
|
||||||
.before(SynthizerSystems::UpdateHandles),
|
.before(SynthizerSets::UpdateHandles),
|
||||||
)
|
)
|
||||||
.add_system(
|
.add_system(
|
||||||
change_panner_strategy
|
change_panner_strategy
|
||||||
.in_base_set(CoreSet::PostUpdate)
|
.in_base_set(CoreSet::PostUpdate)
|
||||||
.before(SynthizerSystems::UpdateHandles),
|
.before(SynthizerSets::UpdateHandles),
|
||||||
)
|
)
|
||||||
.add_system(
|
.add_system(
|
||||||
add_source_handle
|
add_source_handle
|
||||||
.in_base_set(CoreSet::PostUpdate)
|
.in_base_set(CoreSet::PostUpdate)
|
||||||
.in_set(SynthizerSystems::UpdateHandles)
|
.in_set(SynthizerSets::UpdateHandles)
|
||||||
.before(SynthizerSystems::UpdateProperties),
|
.before(SynthizerSets::UpdateProperties),
|
||||||
)
|
)
|
||||||
.add_system(
|
.add_system(
|
||||||
add_generator
|
add_generator
|
||||||
.in_base_set(CoreSet::PostUpdate)
|
.in_base_set(CoreSet::PostUpdate)
|
||||||
.in_set(SynthizerSystems::UpdateHandles)
|
.in_set(SynthizerSets::UpdateHandles)
|
||||||
.before(SynthizerSystems::UpdateProperties),
|
.before(SynthizerSets::UpdateProperties),
|
||||||
)
|
)
|
||||||
.add_system(
|
.add_system(
|
||||||
add_sound_without_source
|
add_sound_without_source
|
||||||
.in_base_set(CoreSet::PostUpdate)
|
.in_base_set(CoreSet::PostUpdate)
|
||||||
.in_set(SynthizerSystems::UpdateHandles)
|
.in_set(SynthizerSets::UpdateHandles)
|
||||||
.before(SynthizerSystems::UpdateProperties),
|
.before(SynthizerSets::UpdateProperties),
|
||||||
)
|
)
|
||||||
.add_system(
|
.add_system(
|
||||||
update_listener
|
update_listener
|
||||||
.in_base_set(CoreSet::PostUpdate)
|
.in_base_set(CoreSet::PostUpdate)
|
||||||
.in_set(SynthizerSystems::UpdateProperties)
|
.in_set(SynthizerSets::UpdateProperties)
|
||||||
.after(TransformSystem::TransformPropagate)
|
.after(TransformSystem::TransformPropagate)
|
||||||
.before(SynthizerSystems::UpdateState),
|
.before(SynthizerSets::UpdateState),
|
||||||
)
|
)
|
||||||
.add_system(
|
.add_system(
|
||||||
update_source_properties
|
update_source_properties
|
||||||
.in_base_set(CoreSet::PostUpdate)
|
.in_base_set(CoreSet::PostUpdate)
|
||||||
.in_set(SynthizerSystems::UpdateProperties)
|
.in_set(SynthizerSets::UpdateProperties)
|
||||||
.after(TransformSystem::TransformPropagate)
|
.after(TransformSystem::TransformPropagate)
|
||||||
.before(SynthizerSystems::UpdateState),
|
.before(SynthizerSets::UpdateState),
|
||||||
)
|
)
|
||||||
.add_system(
|
.add_system(
|
||||||
update_sound_properties
|
update_sound_properties
|
||||||
.in_base_set(CoreSet::PostUpdate)
|
.in_base_set(CoreSet::PostUpdate)
|
||||||
.in_set(SynthizerSystems::UpdateProperties)
|
.in_set(SynthizerSets::UpdateProperties)
|
||||||
.before(SynthizerSystems::UpdateState),
|
.before(SynthizerSets::UpdateState),
|
||||||
)
|
)
|
||||||
.add_system(
|
.add_system(
|
||||||
update_source_playback_state
|
update_source_playback_state
|
||||||
.in_base_set(CoreSet::PostUpdate)
|
.in_base_set(CoreSet::PostUpdate)
|
||||||
.in_set(SynthizerSystems::UpdateState),
|
.in_set(SynthizerSets::UpdateState),
|
||||||
)
|
)
|
||||||
.add_system(
|
.add_system(
|
||||||
update_sound_playback_state
|
update_sound_playback_state
|
||||||
.in_base_set(CoreSet::PostUpdate)
|
.in_base_set(CoreSet::PostUpdate)
|
||||||
.in_set(SynthizerSystems::UpdateState),
|
.in_set(SynthizerSets::UpdateState),
|
||||||
)
|
)
|
||||||
.add_system(remove_sound.in_base_set(CoreSet::PostUpdate))
|
.add_system(remove_sound.in_base_set(CoreSet::PostUpdate))
|
||||||
.add_system(
|
.add_system(
|
||||||
events
|
events
|
||||||
.in_base_set(CoreSet::PostUpdate)
|
.in_base_set(CoreSet::PostUpdate)
|
||||||
.after(SynthizerSystems::UpdateState),
|
.after(SynthizerSets::UpdateState),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user