From a5ea79739783682c46983d5b67b2b4b7b5338ccb Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 1 Nov 2026 21:24:48 +0100 Subject: v4.2.1: plain-language game copy and a balance fetch on login The lobby and every game screen now speak to a player, not an operator: each game has one how-to sentence, and the table headers, limits, RTP, paytable and server-timing notes are gone. The account and balance are fetched whenever a session signs in, including stored-credential auto-login, so the header is filled before the lobby appears. --- gui/src/crash.rs | 47 ++--------------------------------------------- 1 file changed, 2 insertions(+), 45 deletions(-) (limited to 'gui/src/crash.rs') diff --git a/gui/src/crash.rs b/gui/src/crash.rs index 14197ae..08113a8 100644 --- a/gui/src/crash.rs +++ b/gui/src/crash.rs @@ -119,11 +119,7 @@ fn sidebar(ui: &mut Ui, view: &CrashView, fx: &mut Fx) -> Option { .font(theme::sans(22.0)) .color(theme::TEXT), ); - ui.label( - eframe::egui::RichText::new("Rise · cash out · don't bust") - .font(theme::sans(12.0)) - .color(theme::TEXT_DIM), - ); + widgets::note(ui, "Cash out before the multiplier crashes."); ui.add_space(theme::SPACE_5); ui.label(theme::label("Bet")); @@ -152,14 +148,6 @@ fn sidebar(ui: &mut Ui, view: &CrashView, fx: &mut Fx) -> Option { ui.add_space(theme::SPACE_3); widgets::error(ui, error); } - - ui.add_space(theme::SPACE_4); - ui.separator(); - ui.add_space(theme::SPACE_2); - widgets::note( - ui, - "The crash point is server-timed. The curve here is display only.", - ); }); }, ); @@ -231,29 +219,7 @@ fn status(ui: &mut Ui, view: &CrashView) { } fn chart(ui: &mut Ui, view: &CrashView, fx: &Fx) { - ui.horizontal(|ui| { - ui.label( - eframe::egui::RichText::new("Table 01") - .font(theme::sans(15.0)) - .color(theme::TEXT), - ); - ui.label( - eframe::egui::RichText::new("Crash · server-timed") - .font(theme::sans(12.0)) - .color(theme::TEXT_DIM), - ); - ui.with_layout( - eframe::egui::Layout::right_to_left(eframe::egui::Align::Center), - |ui| { - ui.label( - eframe::egui::RichText::new("Cash out any time before the crash") - .font(theme::mono(11.0)) - .color(theme::TEXT_FAINT), - ); - }, - ); - }); - ui.add_space(theme::SPACE_4); + ui.add_space(theme::SPACE_2); let available = ui.available_size(); let size = vec2(available.x, (available.y - 70.0).max(260.0)); @@ -379,15 +345,6 @@ fn chart(ui: &mut Ui, view: &CrashView, fx: &Fx) { } } } - - ui.add_space(theme::SPACE_4); - ui.label( - eframe::egui::RichText::new( - "The crash point is drawn from the server; the multiplier here is display only.", - ) - .font(theme::sans(11.0)) - .color(theme::TEXT_FAINT), - ); } fn map_y(plot: Rect, multiplier: f64, max_multiplier: f64) -> f32 { -- cgit v1.2.3