Skip to content

Commit c0c64c0

Browse files
committed
Refactor and menus
1 parent 4482eb3 commit c0c64c0

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/game/client/components/comp_pulse/menus_pulse.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,14 @@ void CMenus::RenderSettingsPulse(CUIRect MainView)
320320
SCROLLBAR(PlayerAuraRect, Button, 20.0f, &g_Config.m_ClToggleAuraParticlesNum, 0, 300, "Particles Number");
321321
SCROLLBAR(PlayerAuraRect, Button, 20.0f, &g_Config.m_ClToggleAuraRadius, 0, 600, "Aura Radius");
322322
}
323-
//TODO: types
324-
END_LABEL(LeftSection);
325323

324+
if(DoLine_RadioMenu(PlayerAuraRect, Localize("Idle Aura Pattern"),
325+
MVButtonContainersIdleAura,
326+
{Localize("Starfall"), Localize("Spiral"), Localize("Clock"), Localize("Peace"), Localize("Circles")},
327+
{1, 2, 3, 4, 5},
328+
g_Config.m_ClIdleAuraType)){}
329+
330+
END_LABEL(LeftSection);
326331
CUIRect FunRect;
327332
DRAW_BOX(LeftSection, FunRect, 80.0f, defaultCol, 10.0f);
328333
s_ScrollRegion.AddRect(FunRect);

src/game/client/components/menus.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,9 @@ class CMenus : public CComponent
577577
std::vector<CButtonContainer> m_vButtonContainersJoystickAbsolute = {{}, {}};
578578
std::vector<CButtonContainer> m_vButtonContainersNamePlateShow = {{}, {}, {}, {}};
579579
std::vector<CButtonContainer> m_vButtonContainersNamePlateKeyPresses = {{}, {}, {}, {}};
580+
//PULSE
581+
std::vector<CButtonContainer> MVButtonContainersIdleAura = {{}, {}, {}, {}, {}};
582+
580583

581584
class CMapListItem
582585
{

0 commit comments

Comments
 (0)