Moved statemachine into seperate component

This commit is contained in:
BaerMitUmlaut 2017-04-01 19:36:43 +02:00
parent 690e415ffe
commit c4863c756c
11 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1 @@
z\ace\addons\medical_statemachine

View 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"

View 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"