aboutsummaryrefslogtreecommitdiff
path: root/go/ui/mapView.go
Commit message (Collapse)AuthorAgeFilesLines
* use canonical file names to retrieve card symbolsFlorian Fischer2025-07-221-1/+1
|
* fix handling of straight streetsFlorian Fischer2025-07-191-3/+5
|
* remove player color from game codeFlorian Fischer2025-07-191-1/+2
|
* initialize event handler map and hanlde neutralized tilesFlorian Fischer2025-07-031-0/+3
|
* overhaul uiFlorian Fischer2025-05-011-10/+26
| | | | | | | | | | | * implement events instead of interfaces Interfaces and the wrappers head the problem that they could not support multiple events at once or only a single one without loosing the others. * add text input support for WASM on mobile A hidden html input is required to open the keyboard and receive the input. * improve the number choice * fix using the default number * add submit button only if a onclick method was provided
* introduce game.State interface abstractionFlorian Fischer2025-01-271-20/+20
| | | | | This allows to not use the internal game state directly from client code.
* support special wall, gate and tower tile selectionFlorian Fischer2025-01-271-15/+122
|
* ui: allow multiple highlights of thesame game pieceFlorian Fischer2025-01-271-16/+28
|
* ui: add simple hamburger style pile hintFlorian Fischer2025-01-271-0/+59
|
* bump ebiten version to 2.5.1 and new APIsFlorian Fischer2025-01-271-3/+3
|
* ui: separate selection and options via their highlight colorFlorian Fischer2025-01-271-30/+40
|
* move more ui logic into CollectionFlorian Fischer2025-01-271-2/+20
| | | | | * Generalize hover detection and move it into ui.Collection * Implement transparencu for the prompt banner
* replace Fatalf with PanicfFlorian Fischer2025-01-271-1/+1
| | | | Panicf includes a stacktrace and causes a debugger to halt.
* intermediate commitFlorian Fischer2025-01-271-0/+4
| | | | | | | | | | | | * fix a lot of target and action bugs * check target selection before adding it to the prompt * use the store view for stores on the map * fix card highlighting in CardGrid * Only prompt for Upkeep-/DiscardActions if appropriate * Add helper for areaEffects granting new FullActions * Add Target() helper selecting the first target to the Action interface * Fix BuyAction and DiscardAction targets * Remember the stores a player has seen
* improve permanent pile supportFlorian Fischer2025-01-271-2/+10
| | | | | | * 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
* intermediate commitFlorian Fischer2025-01-271-8/+16
|
* intermeditae commitFlorian Fischer2025-01-271-17/+40
|
* intermediate commitFlorian Fischer2025-01-271-3/+16
|
* intermediate commitFlorian Fischer2025-01-271-1/+1
| | | | | * Add static analysis and improve Makefile * Implement hints from static code analysis
* sanity check calculated x and y before using it as slice indexFlorian Fischer2025-01-271-0/+4
|
* intermediate commitFlorian Fischer2025-01-271-16/+27
| | | | Implement actions and multiple ui widgets
* implement unit movementFlorian Fischer2025-01-271-0/+212