From 670a3a687dbea079bc6966c9ec54ecaf46d410be Mon Sep 17 00:00:00 2001 From: commy2 Date: Sun, 11 Jan 2015 22:21:16 +0100 Subject: [PATCH] port thermals --- .../agm/Thermals => addons/thermals}/config.cpp | 5 +++-- addons/thermals/script_component.hpp | 12 ++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) rename {TO_MERGE/agm/Thermals => addons/thermals}/config.cpp (97%) create mode 100644 addons/thermals/script_component.hpp diff --git a/TO_MERGE/agm/Thermals/config.cpp b/addons/thermals/config.cpp similarity index 97% rename from TO_MERGE/agm/Thermals/config.cpp rename to addons/thermals/config.cpp index 044e17c838..2b41d3d3a9 100644 --- a/TO_MERGE/agm/Thermals/config.cpp +++ b/addons/thermals/config.cpp @@ -1,6 +1,7 @@ -// PATCH CONFIG +#include "script_component.hpp" + class CfgPatches { - class AGM_Thermals { + class ADDON { units[] = {}; weapons[] = {}; requiredVersion = 0.60; diff --git a/addons/thermals/script_component.hpp b/addons/thermals/script_component.hpp new file mode 100644 index 0000000000..5daf18e62d --- /dev/null +++ b/addons/thermals/script_component.hpp @@ -0,0 +1,12 @@ +#define COMPONENT thermals +#include "\z\ace\Addons\main\script_mod.hpp" + +#ifdef DEBUG_ENABLED_THERMALS + #define DEBUG_MODE_FULL +#endif + +#ifdef DEBUG_ENABLED_THERMALS + #define DEBUG_SETTINGS DEBUG_ENABLED_THERMALS +#endif + +#include "\z\ace\Addons\main\script_macros.hpp" \ No newline at end of file