From 7c93700c5cbe9cdfe4b83599f8b5ad14266f26e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Lemaire?= Date: Wed, 15 May 2019 00:53:44 +0200 Subject: [PATCH] Continued work on planning display --- docs/style.md | 3 +- graphics/ui/battle.svg | 1272 +++++++++++++++++++++-------- src/core/BattlePlanning.spec.ts | 4 +- src/core/BattlePlanning.ts | 3 +- src/core/actions/BaseAction.ts | 16 + src/core/actions/MoveAction.ts | 4 + src/core/actions/TriggerAction.ts | 4 + src/ui/battle/Arena.ts | 12 + src/ui/battle/BattleView.spec.ts | 2 +- src/ui/battle/BattleView.ts | 14 + src/ui/battle/PlanDisplay.ts | 25 +- src/ui/common/Tooltip.ts | 2 +- 12 files changed, 1006 insertions(+), 355 deletions(-) diff --git a/docs/style.md b/docs/style.md index 84e3538..83da903 100644 --- a/docs/style.md +++ b/docs/style.md @@ -16,8 +16,7 @@ Buttons should be lit by a pure white line in top-left corner (~75% of the borde * Third color is for neutral/story * Fourth color is for highlight -http://paletton.com/#uid=63s0i0kcJwV44YO8FN3hmo6l-eV - + ``` *** Primary color: diff --git a/graphics/ui/battle.svg b/graphics/ui/battle.svg index 4bea56c..b1cefac 100644 --- a/graphics/ui/battle.svg +++ b/graphics/ui/battle.svg @@ -25,6 +25,22 @@ enable-background="new"> + + + + + @@ -61,18 +77,6 @@ offset="1" id="stop5557" /> - - - - @@ -121,42 +125,6 @@ offset="1" id="stop6958" /> - - - - - - - - - - - @@ -339,27 +307,6 @@ result="composite2" id="feComposite6031-5-0" /> - - - - - - @@ -1643,6 +1566,197 @@ stdDeviation="3.0820655" id="feGaussianBlur1529" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + inkscape:label="Background" + sodipodi:insensitive="true"> - + transform="rotate(145.64836,277.97147,593.27542)" /> + transform="rotate(20.124054,-178.55665,3185.8928)" /> + transform="rotate(-19.010378,1274.7654,-1645.4552)" /> +