Project setup
This commit is contained in:
1
addons/m119/$PBOPREFIX$
Normal file
1
addons/m119/$PBOPREFIX$
Normal file
@@ -0,0 +1 @@
|
||||
x\tbd_m119\addons\m119
|
||||
17
addons/m119/CfgEventhandlers.hpp
Normal file
17
addons/m119/CfgEventhandlers.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
class Extended_PreInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PostInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_postInit));
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PreStart_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_preStart));
|
||||
};
|
||||
};
|
||||
0
addons/m119/XEH_PREP.hpp
Normal file
0
addons/m119/XEH_PREP.hpp
Normal file
1
addons/m119/XEH_postInit.sqf
Normal file
1
addons/m119/XEH_postInit.sqf
Normal file
@@ -0,0 +1 @@
|
||||
#include "script_component.hpp"
|
||||
5
addons/m119/XEH_preInit.sqf
Normal file
5
addons/m119/XEH_preInit.sqf
Normal file
@@ -0,0 +1,5 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
#include "XEH_PREP.hpp"
|
||||
|
||||
ADDON = true;
|
||||
5
addons/m119/XEH_preStart.sqf
Normal file
5
addons/m119/XEH_preStart.sqf
Normal file
@@ -0,0 +1,5 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
#include "XEH_PREP.hpp"
|
||||
|
||||
ADDON = true;
|
||||
13
addons/m119/config.cpp
Normal file
13
addons/m119/config.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
name = QUOTE(COMPONENT);
|
||||
units[] = {QUOTE(TBD_2B9_VASILEK), QUOTE(TBD_2B9_VASILEK_MAGAZINE)};
|
||||
weapons[] = {};
|
||||
requiredVersion = 2.04;
|
||||
requiredAddons[] = {"cba_main", "ace_interact_menu", "tbd_mortars_main"};
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgEventhandlers.hpp"
|
||||
0
addons/m119/functions/.gitkeep
Normal file
0
addons/m119/functions/.gitkeep
Normal file
20
addons/m119/script_component.hpp
Normal file
20
addons/m119/script_component.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#define PREFIX TBD_M119
|
||||
#define COMPONENT m119
|
||||
#include "\x\cba\addons\main\script_macros_common.hpp"
|
||||
|
||||
#define DISABLE_COMPILE_CACHE
|
||||
|
||||
#ifdef DISABLE_COMPILE_CACHE
|
||||
#undef PREP
|
||||
#define PREP(fncName) TRIPLES(ADDON,fnc,fncName) = compile preprocessFileLineNumbers QPATHTOF(functions\DOUBLES(fnc,fncName).sqf)
|
||||
#else
|
||||
#undef PREP
|
||||
#define PREP(fncName) [QPATHTOF(functions\DOUBLES(fnc,fncName).sqf), QFUNC(fncName)] call CBA_fnc_compileFunction
|
||||
#endif
|
||||
|
||||
#define PREP_SUB(subfolder,fncName) [QPATHTOF(functions\subfolder\DOUBLES(fnc,fncName).sqf), QUOTE(DFUNC(DOUBLES(subfolder,fncName)))] call CBA_fnc_compileFunction
|
||||
|
||||
#define TBD_MORT(cmp,fncName) tbd_mortars##_##cmp##_##fnc##_##fncName
|
||||
//#define TBD_MORT(cmp,fncName) tbd##_##cmp##_##fnc##_##fncName
|
||||
|
||||
#define TBD_M119 tbd_m119
|
||||
9
addons/m119/stringtable.xml
Normal file
9
addons/m119/stringtable.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project name="tbd_mortar">
|
||||
<Package name="Translation">
|
||||
<Key ID="STR_TBD_M119_NAME">
|
||||
<English>M119</English>
|
||||
<Czech>M119</Czech>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
||||
3
addons/m119/tbd_m119/CfgVehicles.hpp
Normal file
3
addons/m119/tbd_m119/CfgVehicles.hpp
Normal file
@@ -0,0 +1,3 @@
|
||||
class CfgVehicles {
|
||||
|
||||
};
|
||||
7
addons/m119/tbd_m119/config.cpp
Normal file
7
addons/m119/tbd_m119/config.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "..\script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
|
||||
};
|
||||
|
||||
#include "CfgVehicles.hpp"
|
||||
Reference in New Issue
Block a user