mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
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:
parent
ab46d7c0c8
commit
ef2ed3444a
@ -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; \
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
/*
|
||||
Author: eRazeri and CAA-Picard
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
/*
|
||||
* Author: commy2
|
||||
*
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
/*
|
||||
* Author: commy2
|
||||
*
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
/*
|
||||
Author: eRazeri and CAA-Picard
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
/*
|
||||
Name: AGM_Attach_fnc_openAttachUI
|
||||
|
||||
|
5
addons/attach/CfgEventHandlers.hpp
Normal file
5
addons/attach/CfgEventHandlers.hpp
Normal file
@ -0,0 +1,5 @@
|
||||
class Extended_PreInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE( call compile preprocessFileLineNumbers PATHTOF(XEH_preInit.sqf) );
|
||||
};
|
||||
};
|
7
addons/attach/XEH_preInit.sqf
Normal file
7
addons/attach/XEH_preInit.sqf
Normal file
@ -0,0 +1,7 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
PREPF(attach);
|
||||
PREPF(canAttach);
|
||||
PREPF(canDetach);
|
||||
PREPF(detach);
|
||||
PREPF(openAttachUI);
|
@ -167,4 +167,8 @@
|
||||
#define ACE_TEXT_ORANGE(Text) ("<t color='#ffa500'>" + ##Text + "</t>")
|
||||
#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 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))
|
Loading…
Reference in New Issue
Block a user