aboutsummaryrefslogtreecommitdiff
path: root/go
Commit message (Collapse)AuthorAgeFilesLines
* add function to create a DeclareTriggeredActionsActionFlorian Fischer2025-01-271-3/+7
|
* fix trigger ordering for kraken AI always sending PassPriorityFlorian Fischer2025-01-271-2/+7
|
* emit target and death eventsFlorian Fischer2025-01-271-0/+12
|
* add new trigger and event implementationsFlorian Fischer2025-01-271-8/+78
|
* run state based actions before players receive priorityFlorian Fischer2025-01-271-0/+1
|
* make CardPaths a value receiverFlorian Fischer2025-01-271-1/+1
|
* support parsing variadic costsFlorian Fischer2025-01-276-36/+116
| | | | | TODO: * select the variadic components * test the costs type
* update dependencies and revert AppendInputChars changeFlorian Fischer2025-01-273-94/+31
|
* add onETB card hookFlorian Fischer2025-01-272-0/+9
|
* improve tile connection detectionFlorian Fischer2025-01-271-26/+13
|
* support special wall, gate and tower tile selectionFlorian Fischer2025-01-272-15/+138
|
* bump dependenciesFlorian Fischer2025-01-272-28/+39
|
* game: support X effects ending with punctuationFlorian Fischer2025-01-271-2/+6
|
* game: support actions without cost funcFlorian Fischer2025-01-271-4/+9
|
* cardImplementations: fix use of wrong nested structFlorian Fischer2025-01-271-18/+12
|
* prompt the user to order its triggersFlorian Fischer2025-01-274-11/+81
| | | | | | | | All TriggeredAction are passed in the wrapper action DeclareTriggeredActionsAction to the controller of the triggers. It is expected to receive an ordered list back from the user again wrapped in a DeclareTriggeredActionsAction. The triggered actions will be declared in from first to last.
* client: make key bindings dynamicFlorian Fischer2025-01-272-32/+85
|
* ui: allow multiple highlights of thesame game pieceFlorian Fischer2025-01-271-16/+28
|
* remove duplicate selectedObject assignmentsFlorian Fischer2025-01-271-2/+0
| | | | | The selected obj is assigned when creating an action choice therefore it is not necessary to assign it additionally beforehand.
* client: remove active prompt or choice before adding a new oneFlorian Fischer2025-01-271-6/+12
|
* ui: add simple hamburger style pile hintFlorian Fischer2025-01-272-1/+59
|
* add skeleton for triggers and triggered actionsFlorian Fischer2025-01-273-1/+159
|
* update ebiten to 2.5.6Florian Fischer2025-01-272-71/+25
|
* remove unused members and make EotEffects privateFlorian Fischer2025-01-271-7/+4
|
* bump ebiten version to 2.5.1 and new APIsFlorian Fischer2025-01-278-19/+42
|
* implement equipment with next unit play optionFlorian Fischer2025-01-279-54/+82
| | | | Also make more state methods private.
* implement playTargets for tentacleSlapImpl to fix segfaultFlorian Fischer2025-01-271-0/+2
|
* only pop an action if all players have passed priorityFlorian Fischer2025-01-271-1/+2
|
* reset an action's targets after broadcasting its resolutionFlorian Fischer2025-01-271-5/+7
|
* prompt for selection if the targets allow selectionsFlorian Fischer2025-01-271-1/+2
|
* ui: separate selection and options via their highlight colorFlorian Fischer2025-01-275-55/+78
|
* intermediate commitFlorian Fischer2025-01-273-4/+10
| | | | | | * use names for pile perm choice * fix PocList hover segfault * prevent mysterius autogenerated playTargets segfault
* intermediate commitFlorian Fischer2025-01-2723-123/+640
| | | | | | | | | | | * 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
* implement target disjunction and fix artifact constraintFlorian Fischer2025-01-273-11/+40
|
* the tile of destroyed permanents are no longer resetFlorian Fischer2025-01-271-2/+2
| | | | Fixes: 8acaebb8
* fixup! intermeditae commitFlorian Fischer2025-01-271-1/+0
|
* fixup! intermeditae commitFlorian Fischer2025-01-271-1/+1
|
* intermeditae commitFlorian Fischer2025-01-2710-42/+202
| | | | | | * implement dopping piles * implement simple spell targeting * add some simple spells
* run screen updates after handling user inputFlorian Fischer2025-01-271-4/+8
| | | | | The reordering of the update logic hopefully results in a more responsive UX.
* allow to exit any prompt on escFlorian Fischer2025-01-271-1/+5
|
* do not draw the pass button multiple timesFlorian Fischer2025-01-271-1/+3
|
* fixup! validate equip and switch actionsFlorian Fischer2025-01-271-6/+7
|
* validate equip and switch actionsFlorian Fischer2025-01-271-1/+39
|
* implement equip actionFlorian Fischer2025-01-275-18/+142
|
* use prompt for target selection of all actionsFlorian Fischer2025-01-276-74/+154
|
* implement targets candidates for hand cardsFlorian Fischer2025-01-272-10/+20
|
* export less methodsFlorian Fischer2025-01-2715-124/+120
|
* implement unit and artifact switch actionFlorian Fischer2025-01-279-79/+128
| | | | | | | | | | 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
* do not prompt if there is nothing to buyFlorian Fischer2025-01-271-2/+6
|
* move more ui logic into CollectionFlorian Fischer2025-01-2714-231/+374
| | | | | * Generalize hover detection and move it into ui.Collection * Implement transparencu for the prompt banner