MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / GameMenuMove

Function GameMenuMove

Source/gmenu.cpp:140–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140void GameMenuMove()
141{
142 static AxisDirectionRepeater repeater;
143 const AxisDirection moveDir = repeater.Get(GetLeftStickOrDpadDirection(false));
144 if (moveDir.x != AxisDirectionX_NONE)
145 GmenuLeftRight(moveDir.x == AxisDirectionX_RIGHT);
146 if (moveDir.y != AxisDirectionY_NONE)
147 GmenuUpDown(moveDir.y == AxisDirectionY_DOWN);
148}
149
150bool GmenuMouseIsOverSlider()
151{

Callers 1

gmenu_drawFunction · 0.85

Calls 4

GmenuLeftRightFunction · 0.85
GmenuUpDownFunction · 0.85
GetMethod · 0.45

Tested by

no test coverage detected