2015-05-09 19:24:39 +00:00
|
|
|
#define COMPONENT zeus
|
2016-06-20 09:41:17 +00:00
|
|
|
#define COMPONENT_BEAUTIFIED Zeus
|
2015-05-09 19:24:39 +00:00
|
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
|
|
|
|
2016-01-29 05:26:02 +00:00
|
|
|
// #define DEBUG_MODE_FULL
|
|
|
|
// #define DISABLE_COMPILE_CACHE
|
|
|
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
|
|
|
|
2015-05-09 19:24:39 +00:00
|
|
|
#ifdef DEBUG_ENABLED_ZEUS
|
|
|
|
#define DEBUG_MODE_FULL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DEBUG_SETTINGS_ZEUS
|
|
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_ZEUS
|
|
|
|
#endif
|
|
|
|
|
2015-05-11 17:06:01 +00:00
|
|
|
#include "\z\ace\addons\main\script_macros.hpp"
|
2016-05-15 17:08:54 +00:00
|
|
|
|
|
|
|
// UI grid
|
2018-09-13 13:40:55 +00:00
|
|
|
#define SIZEX ((safeZoneW / safeZoneH) min 1.2)
|
2016-05-15 17:08:54 +00:00
|
|
|
#define SIZEY (SIZEX / 1.2)
|
|
|
|
#define W_PART(num) (num * (SIZEX / 40))
|
|
|
|
#define H_PART(num) (num * (SIZEY / 25))
|
2018-09-13 13:40:55 +00:00
|
|
|
#define X_PART(num) (W_PART(num) + (safeZoneX + (safeZoneW - SIZEX) / 2))
|
|
|
|
#define Y_PART(num) (H_PART(num) + (safeZoneY + (safeZoneH - SIZEY) / 2))
|