add repair PBO

This commit is contained in:
commy2 2015-03-10 18:05:56 +01:00
parent b2e8ca5dbc
commit b7ed697e1c
7 changed files with 45 additions and 0 deletions

View File

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

View File

@ -0,0 +1,6 @@
class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preInit));
};
};

View File

@ -0,0 +1,7 @@
#include "script_component.hpp"
ADDON = false;
PREP(empty);
ADDON = true;

15
addons/repair/config.cpp Normal file
View File

@ -0,0 +1,15 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"};
author[] = {"commy2"};
authorUrl = "https://github.com/commy2";
VERSION_CONFIG;
};
};
#include "CfgEventHandlers.hpp"

View File

@ -0,0 +1,3 @@
#include "script_component.hpp"
diag_log text format["This is here as an example!!!"];

View File

@ -0,0 +1 @@
#include "\z\ace\addons\repair\script_component.hpp"

View File

@ -0,0 +1,12 @@
#define COMPONENT repair
#include "\z\ace\addons\main\script_mod.hpp"
#ifdef DEBUG_ENABLED_REPAIR
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_SETTINGS_REPAIR
#define DEBUG_SETTINGS DEBUG_SETTINGS_REPAIR
#endif
#include "\z\ace\addons\main\script_macros.hpp"