mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
add reloadable launcher
This commit is contained in:
parent
785d415189
commit
0be1959934
1
addons/reloadlaunchers/$PBOPREFIX$
Normal file
1
addons/reloadlaunchers/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
|||||||
|
z\ace\addons\reloadlaunchers
|
6
addons/reloadlaunchers/CfgEventHandlers.hpp
Normal file
6
addons/reloadlaunchers/CfgEventHandlers.hpp
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
class Extended_PreInit_EventHandlers {
|
||||||
|
class ADDON {
|
||||||
|
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
||||||
|
};
|
||||||
|
};
|
7
addons/reloadlaunchers/XEH_preInit.sqf
Normal file
7
addons/reloadlaunchers/XEH_preInit.sqf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#include "script_component.hpp"
|
||||||
|
|
||||||
|
ADDON = false;
|
||||||
|
|
||||||
|
PREP(empty);
|
||||||
|
|
||||||
|
ADDON = true;
|
15
addons/reloadlaunchers/config.cpp
Normal file
15
addons/reloadlaunchers/config.cpp
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#include "script_component.hpp"
|
||||||
|
|
||||||
|
class CfgPatches {
|
||||||
|
class ADDON {
|
||||||
|
units[] = {};
|
||||||
|
weapons[] = {};
|
||||||
|
requiredVersion = REQUIRED_VERSION;
|
||||||
|
requiredAddons[] = {"ace_common"};
|
||||||
|
author[] = {""};
|
||||||
|
authorUrl = "";
|
||||||
|
VERSION_CONFIG;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
#include "CfgEventHandlers.hpp"
|
3
addons/reloadlaunchers/functions/fnc_empty.sqf
Normal file
3
addons/reloadlaunchers/functions/fnc_empty.sqf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#include "script_component.hpp"
|
||||||
|
|
||||||
|
diag_log text format["This is here as an example!!!"];
|
1
addons/reloadlaunchers/functions/script_component.hpp
Normal file
1
addons/reloadlaunchers/functions/script_component.hpp
Normal file
@ -0,0 +1 @@
|
|||||||
|
#include "\z\ace\addons\reloadlaunchers\script_component.hpp"
|
12
addons/reloadlaunchers/script_component.hpp
Normal file
12
addons/reloadlaunchers/script_component.hpp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#define COMPONENT reloadlaunchers
|
||||||
|
#include "\z\ace\addons\main\script_mod.hpp"
|
||||||
|
|
||||||
|
#ifdef DEBUG_ENABLED_RELOADLAUNCHERS
|
||||||
|
#define DEBUG_MODE_FULL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef DEBUG_ENABLED_RELOADLAUNCHERS
|
||||||
|
#define DEBUG_SETTINGS DEBUG_ENABLED_RELOADLAUNCHERS
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "\z\ace\addons\main\script_macros.hpp"
|
Loading…
Reference in New Issue
Block a user