From 8cfe073f3a8c42093ddda2220188772c123991f8 Mon Sep 17 00:00:00 2001 From: commy2 Date: Sun, 11 Jan 2015 22:06:40 +0100 Subject: [PATCH] port ragdolls --- .../agm/Ragdolls => addons/ragdolls}/config.cpp | 4 +++- addons/ragdolls/script_component.hpp | 12 ++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) rename {TO_MERGE/agm/Ragdolls => addons/ragdolls}/config.cpp (99%) create mode 100644 addons/ragdolls/script_component.hpp diff --git a/TO_MERGE/agm/Ragdolls/config.cpp b/addons/ragdolls/config.cpp similarity index 99% rename from TO_MERGE/agm/Ragdolls/config.cpp rename to addons/ragdolls/config.cpp index 8e71dfef61..35390a407b 100644 --- a/TO_MERGE/agm/Ragdolls/config.cpp +++ b/addons/ragdolls/config.cpp @@ -1,5 +1,7 @@ +#include "script_component.hpp" + class CfgPatches { - class AGM_Ragdolls { + class ADDON { units[] = {}; weapons[] = {}; requiredVersion = 0.60; diff --git a/addons/ragdolls/script_component.hpp b/addons/ragdolls/script_component.hpp new file mode 100644 index 0000000000..f0306957b0 --- /dev/null +++ b/addons/ragdolls/script_component.hpp @@ -0,0 +1,12 @@ +#define COMPONENT ragdolls +#include "\z\ace\Addons\main\script_mod.hpp" + +#ifdef DEBUG_ENABLED_RAGDOLLS + #define DEBUG_MODE_FULL +#endif + +#ifdef DEBUG_ENABLED_RAGDOLLS + #define DEBUG_SETTINGS DEBUG_ENABLED_RAGDOLLS +#endif + +#include "\z\ace\Addons\main\script_macros.hpp" \ No newline at end of file