Skip to content

Commit dd5e745

Browse files
key macros, sort prep, space headers
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
1 parent d4d4081 commit dd5e745

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

addons/spike/ACE_GuidanceConfig.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
class ace_missileguidance_SeekerTypes {
1+
class EGVAR(missileguidance,SeekerTypes) {
22
class SPIKE {
33
functionName = QFUNC(seeker);
44
};
55
};
6-
class ace_missileguidance_NavigationTypes {
6+
class EGVAR(missileguidance,NavigationTypes) {
77
class SPIKE {
88
functionName = QFUNC(navigation);
99
onFired = "";

addons/spike/XEH_PREP.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ PREP(camera_switchTo);
1010
PREP(camera_update);
1111
PREP(camera_updateTargetingGate);
1212
PREP(camera_userInCamera);
13+
PREP(getTargetPosition);
1314
PREP(keyDown);
15+
PREP(mapHelperDraw);
16+
PREP(midCourseTransition);
17+
PREP(navigation);
1418
PREP(onFired);
1519
PREP(seeker);
16-
PREP(navigation);
17-
PREP(midCourseTransition);
18-
PREP(mapHelperDraw);
19-
PREP(getTargetPosition);
2020

addons/spike/functions/fnc_onFired.sqf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
*
1515
* Public: No
1616
*/
17+
1718
params ["_firedEH"];
1819
_firedEH params ["_shooter","_weapon","","_mode","_ammo","","_projectile"];
1920

addons/spike/initKeybinds.inc.sqf

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
#include "\a3\ui_f\hpp\defineDIKCodes.inc"
2+
13
["ACE3 Weapons", QGVAR(Designate), LLSTRING(Designate),
24
{
35
[SPIKE_KEY_DESIGNATE, true] call FUNC(keyDown);
46
},
57
{
68
[SPIKE_KEY_DESIGNATE, false] call FUNC(keyDown);
79
},
8-
[15, [false, false, false]], false] call CBA_fnc_addKeybind; // Tab
10+
[DIK_TAB, [false, false, false]], false] call CBA_fnc_addKeybind; // Tab
911

1012
["ACE3 Weapons", QGVAR(LeaveCamera), LLSTRING(LeaveCamera),
1113
{
@@ -14,7 +16,7 @@
1416
{
1517
[SPIKE_KEY_LEAVE, false] call FUNC(keyDown);
1618
},
17-
[15, [false, true, false]], false] call CBA_fnc_addKeybind; // Ctrl+Tab
19+
[DIK_TAB, [false, true, false]], false] call CBA_fnc_addKeybind; // Ctrl+Tab
1820

1921
["up", {
2022
[CAMERA_KEY_UP, true] call FUNC(keyDown);
@@ -51,7 +53,7 @@
5153
{
5254
[CAMERA_KEY_CHANGE_VISION_MODE, false] call FUNC(keyDown);
5355
},
54-
[49, [false, false, false]], false] call CBA_fnc_addKeybind; //N
56+
[DIK_N, [false, false, false]], false] call CBA_fnc_addKeybind; //N
5557

5658
["ACE3 Weapons", QGVAR(ZoomIn), LLSTRING(ZoomIn),
5759
{
@@ -60,7 +62,7 @@
6062
{
6163
[CAMERA_KEY_ZOOM_IN, false] call FUNC(keyDown);
6264
},
63-
[78, [false, false, false]], false] call CBA_fnc_addKeybind; //Keypad+
65+
[DIK_ADD, [false, false, false]], false] call CBA_fnc_addKeybind; //Keypad+
6466

6567
["ACE3 Weapons", QGVAR(ZoomOut), LLSTRING(ZoomOut),
6668
{
@@ -69,4 +71,4 @@
6971
{
7072
[CAMERA_KEY_ZOOM_OUT, false] call FUNC(keyDown);
7173
},
72-
[74, [false, false, false]], false] call CBA_fnc_addKeybind; //Keypad-
74+
[DIK_SUBTRACT, [false, false, false]], false] call CBA_fnc_addKeybind; //Keypad-

0 commit comments

Comments
 (0)