aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* client: use only the currently available actions in the action choiceFlorian Fischer2025-01-274-8/+26
|
* fix Wandering AI NPE for piled unitsFlorian Fischer2025-01-271-1/+1
|
* replace Fatalf with PanicfFlorian Fischer2025-01-2719-46/+46
| | | | Panicf includes a stacktrace and causes a debugger to halt.
* fix ai NPE when selecting a unit where to spawn frost pylonFlorian Fischer2025-01-275-15/+16
| | | | | The NPE is caused by any piled permanent with which TilesInRange is called.
* implement the basics of the rest of the base cardsFlorian Fischer2025-01-276-10/+156
| | | | | * Add more TODOs * Implement permanents granting more spawn tiles
* fix NPE when adding the wrong widgetFlorian Fischer2025-01-271-1/+1
|
* intermediate commitFlorian Fischer2025-01-2721-183/+393
| | | | | | | | | | | | * 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
* intermediate commitFlorian Fischer2025-01-2715-269/+375
|
* only scroll to the maximaFlorian Fischer2025-01-271-0/+9
|
* sealed: only let the user select buyable cardsFlorian Fischer2025-01-271-1/+6
|
* add sealed activity to select a starting deckFlorian Fischer2025-01-2719-170/+570
|
* improve state barFlorian Fischer2025-01-276-37/+58
|
* remove card from hand when declaring a play actionFlorian Fischer2025-01-272-2/+3
|
* clear pile when dropping itFlorian Fischer2025-01-271-1/+1
|
* add dummy player to unit testsFlorian Fischer2025-01-271-3/+6
|
* intermediate commitFlorian Fischer2025-01-276-36/+80
| | | | | | * detect tokens and do not add them to pile of cards * only add spells not already in exile to their owners discard pile * add the played card to onPlay callback
* implement TargetSelection and card targetingFlorian Fischer2025-01-272-33/+104
|
* fix unit onPile hook argument forwardingFlorian Fischer2025-01-271-1/+1
|
* implement most of nautics cardsFlorian Fischer2025-01-272-16/+112
|
* remove debug messages from the clientFlorian Fischer2025-01-271-2/+0
|
* kraken: implement suprise!Florian Fischer2025-01-272-11/+31
|
* add Contains check for PileOfCardsFlorian Fischer2025-01-271-0/+9
|
* fix card IsPermanentFlorian Fischer2025-01-271-3/+3
|
* fix artifact IsDestroyed for non solid artifactsFlorian Fischer2025-01-271-1/+1
|
* intermediate commitFlorian Fischer2025-01-2711-144/+380
| | | | | | * implement most of the kraken cards * unify permanent marks * add state based actions hook for card implementations
* intermediate commitFlorian Fischer2025-01-2713-34/+200
| | | | adding area effects and hooks for permanents entering and leaving tiles
* add simple spell supportFlorian Fischer2025-01-274-0/+21
|
* fix some warnings reported by golang-ciFlorian Fischer2025-01-277-15/+9
|
* improve permanent pile supportFlorian Fischer2025-01-2713-42/+161
| | | | | | * 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
* support crewingFlorian Fischer2025-01-278-26/+178
| | | | | | * Introduce new callback for leaving a pile without beeing dropped * Fix equipment contrsuctor * Implement attack inheritance
* fix format strings and run make fmtFlorian Fischer2025-01-273-18/+18
|
* introduce state-based actionFlorian Fischer2025-01-272-12/+15
| | | | | | | | State-based action are executed anytime a action resolved to handle events caused by the game state. Currently state-based actions only destroy unit with more damage than health.
* add distance > 0 assertionFlorian Fischer2025-01-271-0/+4
|
* move unit upkeep code to Unit onUpkeep hookFlorian Fischer2025-01-272-2/+5
|
* s/constrain/constraint/Florian Fischer2025-01-271-61/+61
|