thw
9492b92e80
refactor(arch,ui,stats): modularize codebase (<500 LOC/file), unify stats hub & refine win FX
...
Großes Architektur-, Deduplizierungs- & UI-Release:
- Strikte Modularisierung (<500 Zeilen pro Datei, 1 Klasse pro Modul, pyscn Health Score 97/100).
- Gemeinsame Basis-Klassen extrahiert: SolitaireMenuBase, SolitaireTableController, SolitaireSessionGuard, SolitaireCanvasInput, SolitaireOutcomeFlow, LuckPouchMenuBase, CasinoArenaBase & CasinoResultDialogBase.
- UnifiedStatsView: kategorisierter Statistik-Hub (Glück, Solitaire, Bayerische Spiele, Gesellschaft) ohne Äpfel-mit-Birnen-Gesamtansicht.
- PokerResultDialog auf das Gothic-Canvas-Rahmendesign gehoben.
- EndgameFxOverlay: Feuerwerksraketen entfernt, direkter Spawn von Fledermaus- und Kürbis-Explosionen.
2026-11-22 23:07:57 +01:00
thw
42bf545b35
feat(settings,db,auth,ui): add portable DB relocation, online account login, full-screen SettingsView & error overlay
...
Architektur-, UI- & Aufräum-Update:
- DbLocator + Database: freie Speicherortwahl beim Erstnutzer, Live-Laden & atomarer Umzug (SQLite Backup API) inkl. Selbst-Speicherung des Pfads in settings.
- OnlineSessionClient & LoginView: Modus-Weiche zwischen lokalem Profil und Online-Einzelaccount (URL inkl. Port oder IP + Port, REST/JSON & TCP/JSON).
- SettingsView: AudioSettingsDialog durch vollflächige, responsive 1-/2-Spalten-Ansicht ersetzt (inkl. verlustfreiem In-Game-Modus) und redundante Sprach-Buttons entfernt.
- ErrorReportOverlay: globaler Crash-Handler für unbehandelte Exceptions mit Copy-to-Clipboard und crash_errors.log.
- i18n & Cleanup: nicht unterstützte Sonderzeichen/Glyphen aus allen SQL-Dateien entfernt und verwaiste Altdateien bereinigt.
2026-11-22 04:26:44 +01:00
thw
3bccab12fa
feat(ui): Top-/Bottom-Bar zentralisieren, Poker & Blackjack überarbeiten & 1-Klasse-pro-Datei durchsetzen
...
- GothTopbar ausgelagert & entschlackt (ohne Spieltitel/Spielmenü-Button, Sprachwechsel in kombinierten Einstellungs-Dialog verschoben, zentriertes Level/XP-Badge)
- SolitaireBottomBar um dynamische Links-/Rechts-Overflow-Flügel, Pipe-Trenner, zentriertes HUD und sauberes Button-Cleanup erweitert
- Zentrale Vollbild-Statistikansicht (UnifiedStatsView) für alle Spiele inkl. Goldbeutel- und Varianten-Umschalter eingeführt
- Animiertes GothSwitch-Widget implementiert und optionale Button-Hover-Tooltips (Helvetica) an Settings gekoppelt
- Blackjack- & Poker-Tische auf Vollbild-Canvas umgebaut (kompakter Pot, dynamische Boxbreiten, spoilerfreie Poker-Kartenreferenz neben Spieler-Hand)
- Architektur-Cleanup (strikt 1 Klasse pro Datei: PokerHandsOverlay & SolitaireCard separiert) sowie AST-Prüfskripte für i18n und Multi-Class-Checks ergänzt
2026-11-21 02:20:50 +01:00
thw
6f614c8595
feat(ui): overhaul menus, stats & dialogs to custom canvas-based Gothic UI
...
- Add ui_typography.py and update game_constants.py for Old London typography and new image assets
- Upgrade AssetManager with downscaled 9-slice box rendering and PIL Old London text engine
- Convert ResizingBG to full-window Canvas with automatic horizontal/vertical background switching
- Add GothEntry and two-part GothDropdown with proportional arrow cap, mousewheel scrolling, and scroll indicators
- Update ImageButton with 3-slice side caps, frame-aware auto-width, and automatic icon stripping
- Refactor GothTopbar, LoginView, MainMenuView (hover zoom), StatisticsView, StatsBoardWidget, BotSetupWidget, and AudioSettingsDialog
- Migrate Blackjack, Poker, FreeCell, Klondike, and Spider menu/stats views plus BlackjackResultDialog to frameless canvas layouts
- Fix Crostini shelf icon matching via exact X11 WM_CLASS and absolute pixmap path
2026-11-17 22:31:02 +01:00
thw
163a3665d2
first commit
2026-11-14 05:25:51 +01:00