From 716c77b8084bd52d307afebc0c9203c8145f7df3 Mon Sep 17 00:00:00 2001 From: commy2 Date: Sun, 11 Jan 2015 22:28:38 +0100 Subject: [PATCH] port realistic names --- .../realisticnames}/config.cpp | 4 +++- addons/realisticnames/script_component.hpp | 12 ++++++++++++ .../realisticnames}/stringtable.xml | 0 3 files changed, 15 insertions(+), 1 deletion(-) rename {TO_MERGE/agm/RealisticNames => addons/realisticnames}/config.cpp (99%) create mode 100644 addons/realisticnames/script_component.hpp rename {TO_MERGE/agm/RealisticNames => addons/realisticnames}/stringtable.xml (100%) diff --git a/TO_MERGE/agm/RealisticNames/config.cpp b/addons/realisticnames/config.cpp similarity index 99% rename from TO_MERGE/agm/RealisticNames/config.cpp rename to addons/realisticnames/config.cpp index 366cd139df..3fc7e9a168 100644 --- a/TO_MERGE/agm/RealisticNames/config.cpp +++ b/addons/realisticnames/config.cpp @@ -1,5 +1,7 @@ +#include "script_component.hpp" + class CfgPatches { - class AGM_RealisticNames { + class ADDON { units[] = {}; weapons[] = {}; requiredVersion = 0.60; diff --git a/addons/realisticnames/script_component.hpp b/addons/realisticnames/script_component.hpp new file mode 100644 index 0000000000..74a7dd413f --- /dev/null +++ b/addons/realisticnames/script_component.hpp @@ -0,0 +1,12 @@ +#define COMPONENT realisticnames +#include "\z\ace\Addons\main\script_mod.hpp" + +#ifdef DEBUG_ENABLED_REALISTICNAMES + #define DEBUG_MODE_FULL +#endif + +#ifdef DEBUG_ENABLED_REALISTICNAMES + #define DEBUG_SETTINGS DEBUG_ENABLED_REALISTICNAMES +#endif + +#include "\z\ace\Addons\main\script_macros.hpp" \ No newline at end of file diff --git a/TO_MERGE/agm/RealisticNames/stringtable.xml b/addons/realisticnames/stringtable.xml similarity index 100% rename from TO_MERGE/agm/RealisticNames/stringtable.xml rename to addons/realisticnames/stringtable.xml