Commit Graph

28 Commits

Author SHA1 Message Date
thw 547c13ce7f feat(solitaire,ui): add Z-order card hover peek, single-tap move setting, ModalVeil, and EndgameFxOverlay
Solitaire UX & Bedienhilfen:
- CardHoverZoom (games/solitaire/base/card_hover_zoom.py) eingeführt: Hebt offene Karten beim Überfahren dezent an und vergrößert sie leicht unter Beibehaltung der exakten Z-Order im Stapel, sodass aufliegende Folgekarten sichtbar bleiben (inkl. 3er-Ablagefächer in Klondike und blockierter Zwischenkarten in FreeCell/Spider).
- Persistente Einstellung "Einfacher Klick zum Schieben" / "Single tap to move" (games/solitaire/base/solitaire_tap_prefs.py) ergänzt: Kurze Einzelklicks (<= 0.28s) führen automatisch Züge aus, während längeres Halten ignoriert wird und Drag & Drop uneingeschränkt erhalten bleibt.
- AudioSettingsDialog (view/dialogs/audio_settings_dialog.py) um den neuen GothSwitch erweitert, Layout auf 768p-Kompatibilität (DLG_H = 656) optimiert und alle Dialogtexte sauber auf base_i18n (01_allgemein.sql) umgestellt.
- FreeCellTableView, KlondikeTableView und SpiderTableView auf CardHoverZoom, Single-Tap-Steuerung, zentrale GothTopbar-Statistik-Endpunkte und SolitaireBottomBar-Overflow-Buttons aktualisiert.

Überarbeitetes Spielende & Modal-Architektur:
- ModalVeil (view/widgets/modal_veil.py) implementiert: Dunkelt das gesperrte Spielfeld halbtransparent ab, hebt aktive Dialoge garantiert über alle UI-Leisten und blockiert Eingaben sowie Tastenkürzel im Hintergrund.
- EndgameFxOverlay (view/widgets/endgame_fx_overlay.py) implementiert: Spielt vor dem Ergebnis-Dialog auf dem gesperrten Tisch Alpha-Kanal-Animationen ab (Sieg: firework_start.gif unten links + zufällig verteilte bat_explosion.gif / pumpkin_explosion.gif; Niederlage: zufällig verteilte foul_pumpkin.gif) und wechselt erst per Klick zum Result-Screen.
- ResourceManager und AssetManager um den Pfad resources/images/win_lose/, RGBA-GIF-Sequenz-Caching inkl. Original-Frame-Dauern, abgedunkelte Veil-Texturen und Startup-Preloading erweitert.
- Eingebettete GIF-Animationen aus SolitaireModalDialog, BlackjackResultDialog und PokerResultDialog vollständig entfernt und alle drei Ergebnis-Fenster auf ModalVeil umgestellt.
2026-11-22 00:02:21 +01:00
kuro 9ef9318a51 Delete LICENSE 2026-11-21 02:09:34 +00:00
kuro 4afd260bab Delete LICENSE.md 2026-11-21 02:09:17 +00:00
thw a926ea1ae4 LICENSE change 2026-11-21 02:49:15 +01:00
thw b2684a2188 added license md file 2026-11-21 02:45:16 +01:00
thw b72898cd56 README update 2026-11-21 02:31:54 +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 4c29eda3c3 perf(ui): optimize Crostini/XWayland rendering and refactor Gothic UI layout
- Centralize compact GothTopbar title and 8-char/8-digit user badge within background safe-area

- Split solitaire_menu_chrome into MenuBodyCanvas, SolitaireModalDialog (with GIF support), and SolitaireBottomBar

- Remove general_table.jpg and render solitaire tables seamlessly over shared background cache

- Keep ResizingBG persistent across clear_window() to eliminate black-screen flickering

- Add C-accelerated PIL matte cleaning, lazy button state caching, pre-scaled card cache, and startup preloader
2026-11-19 22:50:58 +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 e1f4c35c35 fix(linux,crostini): fix OldLondon glyph clipping and prevent audio buffer underruns 2026-11-16 21:38:05 +01:00
thw 4caed5bc15 fix(blackjack,crostini): fix card fan TclError, add missing gold i18n keys & auto-setup Crostini shelf icon 2026-11-16 21:07:01 +01:00
thw 0abf754d86 vim un~ datei entfernt 2026-11-16 19:53:11 +01:00
thw 7ec2973c91 chore(db,build): modularize internal SQL, auto-rebuild DB & untrack build/user artifacts
- Split internal_base.sql into numbered modules under resources/code_res/sql/ and add missing BJ/Poker i18n keys
- Add rebuild_internal_db.py and integrate automatic DB rebuild into build.bat and build.sh
- Fix frozen PyInstaller path resolution for persistent user_data.db on Linux/ChromeOS
- Remove tracked dist/, build venv, and user_data.db from Git index and update .gitignore
2026-11-16 19:51:29 +01:00
thw 4c9b098fcb fix(blackjack): adjust oval table layout and fix text clipping 2026-11-16 00:22:24 +01:00
thw b91ba789d7 docs(readme): add Solitaire module READMEs & update main documentation
- Add dedicated README.md files for solitaire base framework, Klondike, FreeCell, and Spider Solitaire
- Update root README.md (DE/EN) with playable Solo modules, solver details, game icons, and framed table renderer
2026-11-15 23:16:56 +01:00
thw aad8a2f0d6 feat(solitaire): add Spider Solitaire, game tile icons & framed table background
- Add complete Spider Solitaire module (1/2/4 suits, strict 10-column deal rule & constructive deal generator)
- Render custom game icons on main menu cards with automatic badge cropping & rounded corners
- Add responsive general_table.jpg background renderer with frame-aware card insets across all Solitaire tables
- Rebuild internal_base.db with Spider Solitaire translations (DE/EN)
2026-11-15 23:06:29 +01:00
thw 3fc2e7f6e6 chore(git): enforce LF line endings via .gitattributes 2026-11-15 21:06:01 +01:00
thw 304e288987 feat(solitaire): add FreeCell, card flight animations, save/resume & deadlock handling
- Add complete FreeCell module (8 cascades, Supermove capacity, solver & 4 difficulty tiers)
- Add shared CardFlightAnimator for smooth 60fps card transitions, undo flights & snap-back
- Delay game timer start until first actual card/stock/hint interaction
- Add unlimited Undo to move 0, Undo All (Ctrl+Shift+Z), 3-cycle stock lock & deadlock modal
- Implement persistent auto-save/resume across restarts and clean shutdown on X / Ctrl+C
- Update playing card assets, responsive aspect-ratio scaling and i18n entries (DE/EN)
2026-11-15 21:03:27 +01:00
thw 6b37777464 removed the user_data.db 2026-11-15 01:40:35 +01:00
thw 6ef4067bf7 chore: untrack local release build scripts 2026-11-15 01:39:43 +01:00
thw 5929831402 feat(build,blackjack,docs): add cross-platform single-file build scripts, full Blackjack showdown reveal & updated READMEs 2026-11-15 00:28:01 +01:00
thw c08e2e17fd build script change for env and stuff 2026-11-14 23:46:57 +01:00
thw 22a308021d quick fix for build scripts 2026-11-14 23:33:43 +01:00
thw 0d4119e90b added gitignore, updated, readme, deleted unnessacery sql files updated the database 2026-11-14 23:14:57 +01:00
thw 4e96cf8b56 feat(poker,ui): add 6-max Texas Hold'em module, Old London font loader, window persistence & custom art assets 2026-11-14 22:47:38 +01:00
thw 80fdb0aa3b readme update 2026-11-14 06:51:41 +01:00
thw 8c9db3631e feat(blackjack): implement 3-step Devil's Gambit auto-showdown, Deity AI & UI overhaul 2026-11-14 06:46:46 +01:00
thw 163a3665d2 first commit 2026-11-14 05:25:51 +01:00