From 84d40005816bce3928d1c8a9676c0a1653fff7bd Mon Sep 17 00:00:00 2001 From: jaynus Date: Sun, 11 Jan 2015 15:40:44 -0800 Subject: [PATCH] drop main duplicate. --- main/config.cpp | 22 ---------------------- main/script_component.hpp | 12 ------------ main/script_macros.hpp | 1 - main/script_mod.hpp | 19 ------------------- main/script_version.hpp | 5 ----- main/version.hpp | 2 -- 6 files changed, 61 deletions(-) delete mode 100644 main/config.cpp delete mode 100644 main/script_component.hpp delete mode 100644 main/script_macros.hpp delete mode 100644 main/script_mod.hpp delete mode 100644 main/script_version.hpp delete mode 100644 main/version.hpp diff --git a/main/config.cpp b/main/config.cpp deleted file mode 100644 index 17c0f5c465..0000000000 --- a/main/config.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "script_component.hpp" - -class CfgPatches { - class ADDON { - units[] = {}; - weapons[] = {}; - requiredVersion = REQUIRED_VERSION; - requiredAddons[] = {"Extended_EventHandlers", "CBA_MAIN"}; - VERSION_CONFIG; - }; -}; - -class CfgMods { - class ACE3 { - dir = "@ACE3"; - picture = ""; - action = "http://www.unitedoperations.net"; - hideName = 0; - hidePicture = 0; - name = "UnitedOperations"; - }; -}; diff --git a/main/script_component.hpp b/main/script_component.hpp deleted file mode 100644 index 02a8608ef4..0000000000 --- a/main/script_component.hpp +++ /dev/null @@ -1,12 +0,0 @@ -#define COMPONENT main -#include "\x\ace\Addons\main\script_mod.hpp" - -#ifdef DEBUG_ENABLED_MAIN - #define DEBUG_MODE_FULL -#endif - -#ifdef DEBUG_SETTINGS_MAIN - #define DEBUG_SETTINGS DEBUG_SETTINGS_MAIN -#endif - -#include "script_macros.hpp" diff --git a/main/script_macros.hpp b/main/script_macros.hpp deleted file mode 100644 index 79d3ca7089..0000000000 --- a/main/script_macros.hpp +++ /dev/null @@ -1 +0,0 @@ -#include "\x\cba\addons\main\script_macros_common.hpp" \ No newline at end of file diff --git a/main/script_mod.hpp b/main/script_mod.hpp deleted file mode 100644 index 65915b59df..0000000000 --- a/main/script_mod.hpp +++ /dev/null @@ -1,19 +0,0 @@ -// COMPONENT should be defined in the script_component.hpp and included BEFORE this hpp -#define MAINPREFIX x - -#define PREFIX ace - -//--BUILDPREFIX -#include "\x\ace\Addons\main\script_version.hpp" -//--ENDBUILDPREFIX - -#define VERSION MAJOR.MINOR.PATCHLVL.BUILD -#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD -#define VERSION_PLUGIN MAJOR.MINOR.PATCHLVL.BUILD - -// MINIMAL required version for the Mod. Components can specify others.. -#define REQUIRED_VERSION 1.0 - -#ifndef VERSION_CONFIG - #define VERSION_CONFIG version = VERSION; versionStr = QUOTE(VERSION); versionAr[] = {VERSION_AR} -#endif \ No newline at end of file diff --git a/main/script_version.hpp b/main/script_version.hpp deleted file mode 100644 index 4188e0496b..0000000000 --- a/main/script_version.hpp +++ /dev/null @@ -1,5 +0,0 @@ -#define MAJOR 1 -#define MINOR 0 -#define PATCHLVL 0 -#define BUILD 1 -#define BUILDDATE 2015-01-10 21:26:00.000000 \ No newline at end of file diff --git a/main/version.hpp b/main/version.hpp deleted file mode 100644 index c120d484cc..0000000000 --- a/main/version.hpp +++ /dev/null @@ -1,2 +0,0 @@ -version = QUOTE(VERSION); -text = QUOTE(UOMODS VERSION); \ No newline at end of file