Skip to content

Commit

Permalink
Change ACE Hint preview (acemod#6271)
Browse files Browse the repository at this point in the history
  • Loading branch information
mharis001 authored and PabstMirror committed Apr 15, 2018
1 parent bd754b6 commit 7239ad5
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
20 changes: 20 additions & 0 deletions addons/common/CfgUIGrids.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
class CfgUIGrids {
class IGUI {
class Presets {
class Arma3 {
class Variables {
grid_ACE_displayText[] = {{((safezoneX + safezoneW) - (10 *(((safezoneW / safezoneH) min 1.2) / 40)) - 2.9 *(((safezoneW / safezoneH) min 1.2) / 40)),safeZoneY + 0.175 * safezoneH, (10 *(((safezoneW / safezoneH) min 1.2) / 40)), (3 *((((safezoneW / safezoneH) min 1.2) / 1.2) / 25))}, "(((safezoneW / safezoneH) min 1.2) / 40)","((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"};
};
};
};

class Variables {
class grid_ACE_displayText {
displayName = "ACE Hint";
description = "Textual in game feedback to the player.";
preview = QPATHTOF(UI\ACE_Hint_Preview_ca.paa);
saveToProfile[] = {0,1};
};
};
};
};
Binary file added addons/common/UI/ACE_Hint_Preview_ca.paa
Binary file not shown.
Binary file removed addons/common/UI/ace_hint_ca.paa
Binary file not shown.
22 changes: 1 addition & 21 deletions addons/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,27 +65,7 @@ class ACE_Rsc_Control_Base {
#include <HintConfig.hpp>
#include <RscInfoType.hpp>
#include "CompassControl.hpp"

class CfgUIGrids {
class IGUI {
class Presets {
class Arma3 {
class Variables {
grid_ACE_displayText[] = {{((safezoneX + safezoneW) - (10 *(((safezoneW / safezoneH) min 1.2) / 40)) - 2.9 *(((safezoneW / safezoneH) min 1.2) / 40)),safeZoneY + 0.175 * safezoneH, (10 *(((safezoneW / safezoneH) min 1.2) / 40)), (3 *((((safezoneW / safezoneH) min 1.2) / 1.2) / 25))}, "(((safezoneW / safezoneH) min 1.2) / 40)","((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"};
};
};
};

class Variables {
class grid_ACE_displayText {
displayName = "ACE Hint";
description = "Textual in game feedback to the player.";
preview = QPATHTOF(UI\ace_hint_ca.paa);
saveToProfile[] = {0,1};
};
};
};
};
#include "CfgUIGrids.hpp"

class ACE_Extensions {
extensions[] = {};
Expand Down

0 comments on commit 7239ad5

Please sign in to comment.