-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.cpp
77 lines (59 loc) · 3.31 KB
/
config.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
//-+-+-+-+-+-+-+-+-+-+-+-+-//
// Type: .cpp config
//
// Submod: pubsec
//
// External Files called:
// - Submod_name_macros.hpp
// - \AfA\Addons\main\global_macros\basic_macros.hpp
// - \AfA\Addons\pubsec\macros\X_macros\X_macro_variant_define.hpp
// - \AfA\Addons\pubsec\macros\X_EditorSubcat_Faction_Insignia_Marker.hpp
// - \AfA\Addons\pubsec\macros\Hats_CfgWeapons.hpp
// - \AfA\Addons\pubsec\macros\Helmets_CfgWeapons.hpp
// - \AfA\Addons\pubsec\macros\Vests_CfgWeapons.hpp
// - \AfA\Addons\pubsec\macros\Uniforms_CfgWeapons.hpp
// - \AfA\Addons\pubsec\macros\Uniforms_CfgVehicles.hpp
// - \AfA\Addons\pubsec\macros\Patrol_Policeman_Soldiers.hpp
//
// This file is called by:
// -
// -
//
// Note: Main config for the pubsec submod
//
//-+-+-+-+-+-+-+-+-+-+-+-+-//
//needs to be defined for PBO Project tool, Is ESSENTIAL!
#define _ARMA_
//defines the Submod Foldername and Suffix, Is ESSENTIAL!
#include "Submod_name_macros.hpp"
//defines the base Macros and calls in all other base Macro files. See Macro documentation Readme. Is ESSENTIAL!
#include "\AfA\Addons\main\global_macros\basic_macros.hpp"
//defines the XMACRO Variants used in the rest of this Submods config. Explanation in Macro documentation Readme.
#include "\AfA\Addons\pubsec\macros\X_macros\X_macro_variant_define.hpp"
//▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀//
class CfgPatches //needs to always be in an Arma config
{
class MODFOLDER //name is taken from Macro define in "Submod_name_macros.hpp"
{
units[] = {};
weapons[] ={};
requiredVersion = 0.1;
requiredAddons[] = {"A3_Characters_F","A3_Data_f","A3_Weapons_F","A3_Characters_F_Proxies"}; //declaring needed external Addons. Worst-case will be corrected by PBO Project
};
};
//▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄_Cfg Weapons_▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀//
class CfgWeapons
{
#include "\AfA\Addons\pubsec\macros\Uniforms_CfgWeapons.hpp" //generates Police Uniform entries using XMacros
};
//▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄_Cfg Vehicles_▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀//
class CfgVehicles
{
#include "\AfA\Addons\pubsec\macros\Uniforms_CfgVehicles.hpp" //generates Police Uniform entries that are required in CfgVehicles using XMacros
#include "\AfA\Addons\pubsec\macros\Patrol_Policeman_Soldiers.hpp" //generates standard Police Soldiers
};
//▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄_Cfg Groups _▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀//
class CfgGroups
{
};
//▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄_End of Config_▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀//