fix nocrosshair being in addons and optionals

This commit is contained in:
commy2 2016-09-18 15:19:17 +02:00
parent 543819c5f5
commit 6cc960aacc
7 changed files with 11 additions and 57 deletions

View File

@ -1 +0,0 @@
z\ace\addons\nocrosshair

View File

@ -1,6 +0,0 @@
class CfgInGameUI {
class Cursor {
weapon = ""; // "\A3\ui_f\data\igui\cfg\cursors\weapon_ca.paa";
};
};

View File

@ -1,11 +0,0 @@
ace_nocrosshair
===========
Removes weapon crosshair.
## Maintainers
The people responsible for merging changes to this component or answering potential questions.
- [commy2](https://github.com/commy2)

View File

@ -1,18 +0,0 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
ACE_isOptional = 1;
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"};
author = ECSTRING(common,ACETeam);
authors[] = {"commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG;
};
};
#include "CfgInGameUI.hpp"

View File

@ -1,18 +0,0 @@
#define COMPONENT nocrosshair
#define COMPONENT_BEAUTIFIED No Crosshair
#include "\z\ace\addons\main\script_mod.hpp"
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define CBA_DEBUG_SYNCHRONOUS
// #define ENABLE_PERFORMANCE_COUNTERS
#ifdef DEBUG_ENABLED_NOCROSSHAIR
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_ENABLED_NOCROSSHAIR
#define DEBUG_SETTINGS DEBUG_ENABLED_NOCROSSHAIR
#endif
#include "\z\ace\addons\main\script_macros.hpp"

View File

@ -3,12 +3,14 @@
class CfgPatches {
class ADDON {
ACE_isOptional = 1;
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"};
author[] = {"commy2"};
authorUrl = "https://github.com/commy2";
author = ECSTRING(common,ACETeam);
authors[] = {"commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG;
};
};

View File

@ -1,6 +1,12 @@
#define COMPONENT nocrosshair
#define COMPONENT_BEAUTIFIED No Crosshair
#include "\z\ace\addons\main\script_mod.hpp"
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define CBA_DEBUG_SYNCHRONOUS
// #define ENABLE_PERFORMANCE_COUNTERS
#ifdef DEBUG_ENABLED_NOCROSSHAIR
#define DEBUG_MODE_FULL
#endif
@ -9,4 +15,4 @@
#define DEBUG_SETTINGS DEBUG_ENABLED_NOCROSSHAIR
#endif
#include "\z\ace\addons\main\script_macros.hpp"
#include "\z\ace\addons\main\script_macros.hpp"