aboutsummaryrefslogtreecommitdiff
path: root/go/ui
Commit message (Collapse)AuthorAgeFilesLines
* ui: allow multiple highlights of thesame game pieceFlorian Fischer2025-08-201-16/+28
|
* ui: add simple hamburger style pile hintFlorian Fischer2025-08-201-0/+59
|
* bump ebiten version to 2.5.1 and new APIsFlorian Fischer2025-08-204-9/+8
|
* ui: separate selection and options via their highlight colorFlorian Fischer2025-08-203-43/+66
|
* intermediate commitFlorian Fischer2025-08-202-4/+8
| | | | | | | | | | | * Implement move artifact action * Fix widget update memory leak * update the highlights not during on each frame * do not update the unchanged label of a button * Allow to exit the game by pressing 'q' * Implement some cards from the magic set * Improve permanent formatting * Some tweaks to UnitAI code
* intermeditae commitFlorian Fischer2025-08-201-0/+4
| | | | | | * implement dopping piles * implement simple spell targeting * add some simple spells
* use prompt for target selection of all actionsFlorian Fischer2025-08-203-9/+13
|
* export less methodsFlorian Fischer2025-08-201-2/+0
|
* implement unit and artifact switch actionFlorian Fischer2025-08-202-40/+27
| | | | | | | | | | Simplify the Choice Widget and make it a TextBox variant. Drive-by fixes: * ui.Collection: prioritize newer widgets during active widget selection * game.FullAction: fix incorrect cost function. Full actions cost all available actions. Also fix the cost check
* move more ui logic into CollectionFlorian Fischer2025-08-2010-30/+277
| | | | | * Generalize hover detection and move it into ui.Collection * Implement transparencu for the prompt banner
* replace Fatalf with PanicfFlorian Fischer2025-08-202-5/+5
| | | | Panicf includes a stacktrace and causes a debugger to halt.
* intermediate commitFlorian Fischer2025-08-204-35/+31
|
* only scroll to the maximaFlorian Fischer2025-08-201-0/+9
|
* add sealed activity to select a starting deckFlorian Fischer2025-08-2010-99/+317
|
* improve state barFlorian Fischer2025-08-204-34/+41
|
* improve permanent pile supportFlorian Fischer2025-08-203-7/+32
| | | | | | * Fix alot of bugs caused by permanents without tiles * Implement a permanent choice to select the permanents in a pile * Fix how pile hooks are called
* add text input and properly center textFlorian Fischer2025-08-206-27/+88
|
* change unit attack representation and implement swordFlorian Fischer2025-08-201-1/+1
|
* intermediate commitFlorian Fischer2025-08-2012-0/+991