From 0b61ade9cb87319a5a3f8e657177bed4ee8c17dc Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 28 Oct 2026 14:22:51 +0100 Subject: refactor(engine): rename fns in windowing module --- engine/src/windowing.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/src/windowing.rs b/engine/src/windowing.rs index 3e27075..46f281f 100644 --- a/engine/src/windowing.rs +++ b/engine/src/windowing.rs @@ -90,7 +90,7 @@ impl crate::ecs::extension::Extension for Extension collector.spawn_declared_entity(&PHASE); - collector.add_system(*PHASE, update_stuff); + collector.add_system(*PHASE, update); collector.add_observer(handle_window_changed); collector.add_observer(handle_window_removed); @@ -128,7 +128,7 @@ fn handle_window_creation_ready( } #[tracing::instrument(skip_all)] -fn update_stuff( +fn update( mut context: Single, mut keyboard: Single, mut mouse: Single, @@ -153,7 +153,7 @@ fn update_stuff( update_inputs(context, keyboard, mouse, mouse_buttons); - receive_app_messages(context, &mut actions, world); + handle_app_messages(context, &mut actions, world); if context.shared_state.thread_panicked.load(Ordering::Relaxed) { cold_path(); @@ -181,7 +181,7 @@ fn update_stuff( Ok(()) } -fn receive_app_messages(context: &mut Context, actions: &mut Actions, world: &World) +fn handle_app_messages(context: &mut Context, actions: &mut Actions, world: &World) { let Context { ref mut windows, ref shared_state, .. -- cgit v1.2.3-18-g5258