MCPcopy Create free account
hub / github.com/ZDoom/Raze / SetupGameButtons

Function SetupGameButtons

source/core/inputstate.cpp:84–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82//---------------------------------------------------------------------------
83
84void SetupGameButtons()
85{
86 static const char* actions[] = {
87 "Move_Forward",
88 "Move_Backward",
89 "Turn_Left",
90 "Turn_Right",
91 "Strafe",
92 "Fire",
93 "Open",
94 "Run",
95 "Alt_Fire",
96 "Jump",
97 "Crouch",
98 "Look_Up",
99 "Look_Down",
100 "Look_Left",
101 "Look_Right",
102 "Strafe_Left",
103 "Strafe_Right",
104 "Aim_Up",
105 "Aim_Down",
106 "Shrink_Screen",
107 "Enlarge_Screen",
108 "Mouse_Aiming",
109 "Dpad_Select",
110 "Dpad_Aiming",
111 "Toggle_Crouch",
112 "Quick_Kick",
113 "Move_Up",
114 "Move_Down",
115 "AM_PanLeft",
116 "AM_PanRight",
117 "AM_PanUp",
118 "AM_PanDown",
119
120 };
121 buttonMap.SetButtons(actions, NUM_ACTIONS);
122}

Callers 1

RunGameFunction · 0.85

Calls 1

SetButtonsMethod · 0.80

Tested by

no test coverage detected