Skip to content

Commit 02097a2

Browse files
GWToolbox Botclaude
andcommitted
Minimap: draw Symbiosis spirit range circle
Adds Symbiosis (model id 2930) to the nature-ritual spirits whose extended range is drawn on the minimap, with its own configurable color alongside EoE, QZ, Winnowing and Frozen Soil. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent aa61f20 commit 02097a2

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

Dependencies/GWCA/include/GWCA/Constants/AgentIDs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ namespace GW {
279279

280280
constexpr int Winnowing = 2926;
281281
constexpr int EoE = 2927;
282+
constexpr int Symbiosis = 2930;
282283
constexpr int FrozenSoil = 2933;
283284
constexpr int QZ = 2937;
284285

GWToolboxdll/Widgets/Minimap/AgentRenderer.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ void AgentRenderer::RegisterSettings(ToolboxModule* module)
194194
{"color_qz", &color_qz},
195195
{"color_winnowing", &color_winnowing},
196196
{"color_frozen_soil", &color_frozen_soil},
197+
{"color_symbiosis", &color_symbiosis},
197198
{"color_target", &color_target},
198199
{"color_player", &color_player},
199200
{"color_player_dead", &color_player_dead},
@@ -350,6 +351,7 @@ void AgentRenderer::LoadDefaultColors()
350351
color_qz = 0x320000FF;
351352
color_winnowing = 0x3200FFFF;
352353
color_frozen_soil = 0x00FEFFFF;
354+
color_symbiosis = 0x32FF00FF;
353355
color_target = 0xFFFFFF00;
354356
color_player = 0xFFFF8000;
355357
color_player_dead = 0x64FF8000;
@@ -398,6 +400,7 @@ void AgentRenderer::DrawSettings()
398400
{"QZ", &color_qz, nullptr, nullptr, "This is the color at the edge, the color in the middle is the same, with alpha-50"},
399401
{"Winnowing", &color_winnowing, nullptr, nullptr, "This is the color at the edge, the color in the middle is the same, with alpha-50"},
400402
{"Frozen Soil", &color_frozen_soil, nullptr, nullptr, "This is the color at the edge, the color in the middle is the same, with alpha-50"},
403+
{"Symbiosis", &color_symbiosis, nullptr, nullptr, "This is the color at the edge, the color in the middle is the same, with alpha-50"},
401404
{"Target", &color_target, nullptr, nullptr, nullptr},
402405
{"Player (alive)", &color_player, nullptr, nullptr, nullptr},
403406
{"Player (dead)", &color_player_dead, nullptr, nullptr, nullptr},
@@ -820,6 +823,9 @@ void AgentRenderer::Render(IDirect3DDevice9* device)
820823
case GW::Constants::ModelID::FrozenSoil:
821824
Enqueue(BigCircle, agent, GW::Constants::Range::SpiritExtended, color_frozen_soil);
822825
break;
826+
case GW::Constants::ModelID::Symbiosis:
827+
Enqueue(BigCircle, agent, GW::Constants::Range::SpiritExtended, color_symbiosis);
828+
break;
823829
default:
824830
break;
825831
}

GWToolboxdll/Widgets/Minimap/AgentRenderer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ class AgentRenderer : public D3DVertexBuffer {
174174
Color color_qz = 0x320000FF;
175175
Color color_winnowing = 0x3200FFFF;
176176
Color color_frozen_soil = 0x00FEFFFF;
177+
Color color_symbiosis = 0x32FF00FF;
177178
Color color_target = 0xFFFFFF00;
178179
Color color_player = 0xFFFF8000;
179180
Color color_player_dead = 0x64FF8000;

site/src/content/docs/minimap.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The Minimap widget is an advanced version of the Guild Wars compass. It shows th
3030

3131
### Agents
3232

33-
- **Edge of Extinction**, **Quickening Zephyr**, **Winnowing**, and **Frozen Soil** areas of effect are visible on the minimap.
33+
- **Edge of Extinction**, **Quickening Zephyr**, **Winnowing**, **Frozen Soil**, and **Symbiosis** areas of effect are visible on the minimap.
3434
- Agents that can move or turn have a teardrop shape with the point indicating facing. Static agents (passive spirits, etc.) are circles. Signposts and items on the ground are squares.
3535
- Bosses can be drawn at a different size, and (optionally) tinted by primary profession.
3636
- You can override the colour, text colour, size and shape of any specific agent by model id — optionally restricted to a particular map and/or combat / weapon state.
@@ -66,7 +66,7 @@ Settings sit under <ToolboxPath steps={["Settings", "Minimap", "Agents"]} /> wit
6666

6767
#### Agent Colors
6868

69-
- AoE auras: **EoE**, **QZ**, **Winnowing**, **Frozen Soil** — the picker is the rim colour; the centre is the same hue with alpha-50, gradient in between.
69+
- AoE auras: **EoE**, **QZ**, **Winnowing**, **Frozen Soil**, **Symbiosis** — the picker is the rim colour; the centre is the same hue with alpha-50, gradient in between.
7070
- **Target** — border surrounding the currently targeted agent.
7171
- **Player (alive)** / **Player (dead)** — you.
7272
- **Signpost** / **Item** — interactive props / ground items.

0 commit comments

Comments
 (0)