mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Moved statemachine into seperate component
This commit is contained in:
parent
690e415ffe
commit
c4863c756c
1
addons/medical_statemachine/$PBOPREFIX$
Normal file
1
addons/medical_statemachine/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
|||||||
|
z\ace\addons\medical_statemachine
|
17
addons/medical_statemachine/config.cpp
Normal file
17
addons/medical_statemachine/config.cpp
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#include "script_component.hpp"
|
||||||
|
|
||||||
|
class CfgPatches {
|
||||||
|
class ADDON {
|
||||||
|
name = COMPONENT_NAME;
|
||||||
|
units[] = {};
|
||||||
|
weapons[] = {};
|
||||||
|
requiredVersion = REQUIRED_VERSION;
|
||||||
|
requiredAddons[] = {"ace_medical"};
|
||||||
|
author = ECSTRING(common,ACETeam);
|
||||||
|
authors[] = {"Glowbal", "KoffeinFlummi"};
|
||||||
|
url = ECSTRING(main,URL);
|
||||||
|
VERSION_CONFIG;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
#include "Statemachine.hpp"
|
18
addons/medical_statemachine/script_component.hpp
Normal file
18
addons/medical_statemachine/script_component.hpp
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#define COMPONENT medical_statemachine
|
||||||
|
#define COMPONENT_BEAUTIFIED Medical State Machine
|
||||||
|
#include "\z\ace\addons\main\script_mod.hpp"
|
||||||
|
|
||||||
|
// #define DEBUG_MODE_FULL
|
||||||
|
#define DISABLE_COMPILE_CACHE
|
||||||
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
||||||
|
|
||||||
|
#ifdef DEBUG_ENABLED_MEDICAL_STATEMACHINE
|
||||||
|
#define DEBUG_MODE_FULL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef DEBUG_SETTINGS_MEDICAL_STATEMACHINE
|
||||||
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_MEDICAL_STATEMACHINE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "\z\ace\addons\main\script_macros.hpp"
|
||||||
|
#include "\z\ace\addons\medical\script_macros_medical.hpp"
|
Loading…
Reference in New Issue
Block a user