Cockatrice/libcockatrice_interfaces/libcockatrice/interfaces
BruebachL 404b0cdf28
[Game] Animate Arrows (#7099)
* Add an arrow draw animation setting

- New arrowDrawAnimation cards-display setting, default on
- The arrow draw animation checkbox joins the animation settings group
- Visual Deck Storage selection animation checkbox moves next to the
  other animation checkboxes, and the enable/disable-all buttons now
  cover it and the arrow animation

Took 2 minutes

Took 21 minutes

Took 7 minutes


Took 11 minutes

Took 20 seconds

* Animate arrows drawing from start to target

- The arrow stroke reveals itself along the arc with an eased timing,
  followed by a short light sheen that sweeps down the shaft
- The arrow head pops in once the reveal reaches it, then the whole
  arrow fades from its initial glow
- Decay is driven by GameScene's shared animation timer through the
  IAnimatedItem interface (QElapsedTimer based), respecting the
  arrowDrawAnimation setting
- GameScene adds the arrow item to the scene before starting its
  animation so the item is registered against a valid scene

Took 6 minutes


Took 1 minute

* Defer animation start so arrows don't start halfway materialized

Took 13 minutes

* Don't draw tip/shaft outline

Took 12 minutes

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-08-14 10:44:17 +02:00
..
interface_cache_storage_settings_provider.h [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
interface_card_database_path_provider.h [Fix-Warnings] Mark const getters as [[nodiscard]] (#6365) 2025-11-28 21:38:54 +01:00
interface_card_preference_provider.h [Fix-Warnings] Mark const getters as [[nodiscard]] (#6365) 2025-11-28 21:38:54 +01:00
interface_card_set_priority_controller.h [Card Database] Improve loading times through binary cache (#7051) 2026-07-27 23:12:53 +02:00
interface_cards_display_settings_provider.h [Game] Animate Arrows (#7099) 2026-08-14 10:44:17 +02:00
interface_chat_settings_provider.h [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
interface_deck_editor_settings_provider.h [Settings] Shuffle some settings around (#7084) 2026-08-08 22:27:41 +02:00
interface_game_settings_provider.h [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
interface_interface_settings_provider.h [Game] Animate life counter manipulation (#7100) 2026-08-13 19:12:12 +02:00
interface_network_settings_provider.h Clean up inter-library dependencies with interfaces (#6280) 2025-11-08 22:19:40 +01:00
interface_paths_settings_provider.h [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
interface_personal_settings_provider.h [Settings] Shuffle some settings around (#7084) 2026-08-08 22:27:41 +02:00
interface_sound_settings_provider.h [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
interface_tabs_settings_provider.h [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
interface_updates_settings_provider.h [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
interface_visual_deck_storage_settings_provider.h [Settings] Shuffle some settings around (#7084) 2026-08-08 22:27:41 +02:00
noop_card_database_path_provider.h [Fix-Warnings] Mark const getters as [[nodiscard]] (#6365) 2025-11-28 21:38:54 +01:00
noop_card_preference_provider.h [Fix-Warnings] Mark const getters as [[nodiscard]] (#6365) 2025-11-28 21:38:54 +01:00
noop_card_set_priority_controller.h [Card Database] Improve loading times through binary cache (#7051) 2026-07-27 23:12:53 +02:00