Add example blank module and EGVAR() QEGVAR()

This commit is contained in:
jaynus 2015-01-11 14:04:19 -08:00
parent 876fa59a32
commit 2222bb721b
6 changed files with 45 additions and 1 deletions

View File

@ -171,4 +171,8 @@
#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))
#define PREP_MODULE(folder) [] call compile preprocessFileLineNumbers QUOTE(PATHTOF(folder\__PREP__.sqf))
#define EGVAR(module,var) TRIPLES(PREFIX,module,var)
#define QEGVAR(module,var) QUOTE(EGVAR(module,var))

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,3 @@
#include "script_component.hpp"
PREPF(empty);

View File

@ -0,0 +1,17 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = 0.60;
requiredAddons[] = {"AGM_Core", "AGM_Interaction"};
version = "0.95";
versionStr = "0.95";
versionAr[] = {0,95,0};
author[] = {""};
authorUrl = "";
};
};
#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,12 @@
#define COMPONENT blank
#include "\z\ace\Addons\main\script_mod.hpp"
#ifdef DEBUG_ENABLED_BLANK
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_SETTINGS_BLANK
#define DEBUG_SETTINGS DEBUG_SETTINGS_BLANK
#endif
#include "\z\ace\Addons\main\script_macros.hpp"