ACE3/addons/refuel/script_component.hpp
Ellis Nielsen 5332059738
SOG Compat - Remove Vanilla systems left in CfgVehicles (#8708)
* init commit

* review changes

* removed Land_vn_building_base import

* case sensitive includes

* changed to use script_component.hpp

* config style

* config style

* config style

* config style

* revert to define

* defines.hpp

* defines.hpp

Co-authored-by: commy2 <commy-2@gmx.de>
2021-12-18 17:14:15 -06:00

31 lines
787 B
C++

#define COMPONENT refuel
#define COMPONENT_BEAUTIFIED Refuel
#include "\z\ace\addons\main\script_mod.hpp"
// #define FAST_PROGRESSBARS
// #define DRAW_HOOKS_POS
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define ENABLE_PERFORMANCE_COUNTERS
#ifdef DEBUG_ENABLED_REFUEL
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_ENABLED_REFUEL
#define DEBUG_SETTINGS DEBUG_ENABLED_REFUEL
#endif
#include "\z\ace\addons\main\script_macros.hpp"
#include "\z\ace\addons\refuel\defines.hpp"
#ifdef FAST_PROGRESSBARS
#define TIME_PROGRESSBAR(X) ((X) * 0.075)
#else
#define TIME_PROGRESSBAR(X) (X)
#endif
#define INTERACT_EXCEPTIONS_REFUELING "isNotInside", "isNotOnLadder", "isNotSwimming"
#define INTERACT_EXCEPTIONS INTERACT_EXCEPTIONS_REFUELING, "isNotRefueling"