Final CBA. Includes with PREPF() for functions\ file preperation w/ CBA. Also included script_component across addon for macro definitions.

This commit is contained in:
jaynus 2015-01-11 10:44:03 -08:00
parent ab46d7c0c8
commit ef2ed3444a
9 changed files with 33 additions and 1 deletions

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
units[] = {};
@ -12,6 +14,9 @@ class CfgPatches {
};
};
#include "CfgEventHandlers.hpp"
/*
class CfgFunctions {
class ADDON {
class ADDON {
@ -24,6 +29,7 @@ class CfgFunctions {
};
};
};
*/
#define MACRO_ADDITEM(ITEM,COUNT) class _xx_##ITEM { \
name = #ITEM; \

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
/*
Author: eRazeri and CAA-Picard

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
/*
* Author: commy2
*

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
/*
* Author: commy2
*

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
/*
Author: eRazeri and CAA-Picard

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
/*
Name: AGM_Attach_fnc_openAttachUI

View File

@ -0,0 +1,5 @@
class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE( call compile preprocessFileLineNumbers PATHTOF(XEH_preInit.sqf) );
};
};

View File

@ -0,0 +1,7 @@
#include "script_component.hpp"
PREPF(attach);
PREPF(canAttach);
PREPF(canDetach);
PREPF(detach);
PREPF(openAttachUI);

View File

@ -168,3 +168,7 @@
#define ACE_TEXT_RED(Text) ("<t color='#FF0000'>" + ##Text + "</t>")
#define ACE_TEXT_GREEN(Text) ("<t color='#00FF00'>" + ##Text + "</t>")
#define ACE_TEXT_YELLOW(Text) ("<t color='#FFFF00'>" + ##Text + "</t>")
#define PREPF(fncName) FUNC(fncName) = compile preprocessFileLineNumbers QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf))
#define PREP_MODULE(folder) [] call compile preprocessFileLineNumbers QUOTE(PATHTOF(folder\__PREP__.sqf))