mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
05d30c5573
* convert log macros to cba versions * Add changes to AB * remove obsolete macro
26 lines
709 B
C++
26 lines
709 B
C++
#define COMPONENT zeus
|
|
#define COMPONENT_BEAUTIFIED Zeus
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
|
|
|
// #define DEBUG_MODE_FULL
|
|
// #define DISABLE_COMPILE_CACHE
|
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
|
|
|
#ifdef DEBUG_ENABLED_ZEUS
|
|
#define DEBUG_MODE_FULL
|
|
#endif
|
|
|
|
#ifdef DEBUG_SETTINGS_ZEUS
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_ZEUS
|
|
#endif
|
|
|
|
#include "\z\ace\addons\main\script_macros.hpp"
|
|
|
|
// UI grid
|
|
#define SIZEX ((safezoneW / safezoneH) min 1.2)
|
|
#define SIZEY (SIZEX / 1.2)
|
|
#define W_PART(num) (num * (SIZEX / 40))
|
|
#define H_PART(num) (num * (SIZEY / 25))
|
|
#define X_PART(num) (W_PART(num) + (safezoneX + (safezoneW - SIZEX)/2))
|
|
#define Y_PART(num) (H_PART(num) + (safezoneY + (safezoneH - SIZEY)/2))
|