mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
6ca9d59443
* Merge ACEX - first attempt Backwards compatibility with XGVAR set of macros used on all settings and config entries Public API functions not taken into account yet, many other things probably still missed * Resolve issues * Switch to addSetting, backward compatible CfgPatches, missed XGVAR. * Remove unnecessary backwards compat * Convert ACEX Categorised settings to initSettings / Fix Intel items magazine * Apply suggestions from code review Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Remove maintainers from merged ACEX components * Cleanup unused module and faction classes * Sitting - Add more object configs by @Dystopian https://github.com/acemod/ACEX/pull/255 * Translations - Add Japanese by @classicarma https://github.com/acemod/ACEX/pull/259 * Kill Tracker - Add killtracker.inc public include file by @Freddo3000" https://github.com/acemod/ACEX/pull/251 * Add ACEX authors and sort authors file * acex - final tweaks (#8513) * acex - handle old funcs * replace thirst/hunger setvars to acex naming fix macro Revert "fix macro" This reverts commit d807e5e804c43916eaa42d34a89af94c6d9a48ad. Revert "replace thirst/hunger setvars to acex naming" This reverts commit bafc607884932d6e339daedc7c22e25dddbdd868. x Co-authored-by: TyroneMF <TyroneMF@hotmail.com> Co-authored-by: PabstMirror <pabstmirror@gmail.com>
40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
#define COMPONENT intelitems
|
|
#define COMPONENT_BEAUTIFIED Intel Items
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
|
|
|
// #define DEBUG_MODE_FULL
|
|
// #define DISABLE_COMPILE_CACHE
|
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
|
|
|
#ifdef DEBUG_ENABLED_INTELITEMS
|
|
#define DEBUG_MODE_FULL
|
|
#endif
|
|
|
|
#ifdef DEBUG_SETTINGS_INTELITEMS
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_INTELITEMS
|
|
#endif
|
|
|
|
#include "\z\ace\addons\main\script_macros.hpp"
|
|
|
|
#include "\a3\ui_f\hpp\defineResincl.inc"
|
|
#include "\a3\ui_f\hpp\defineCommonGrids.inc"
|
|
|
|
#define POS_X(N) ((N) * GUI_GRID_W + GUI_GRID_CENTER_X)
|
|
#define POS_Y(N) ((N) * GUI_GRID_H + GUI_GRID_CENTER_Y)
|
|
#define POS_W(N) ((N) * GUI_GRID_W)
|
|
#define POS_H(N) ((N) * GUI_GRID_H)
|
|
|
|
#define IDC_BORDER 10
|
|
#define IDC_BACKGROUND 20
|
|
#define IDC_HEADER 30
|
|
#define IDC_CLOSE 40
|
|
#define IDC_CONTENT 50
|
|
|
|
#define IDC_ATTRIBUTE_GROUP 4800
|
|
#define IDC_ATTRIBUTE_LABEL 4801
|
|
#define IDC_ATTRIBUTE_EDIT 4802
|
|
|
|
#define SYS_DATA(index) (format [QGVAR(%1), index])
|
|
#define SET_DATA(index,data) (GVAR(intelData) setVariable [SYS_DATA(index), data, true])
|
|
#define GET_DATA(index) (GVAR(intelData) getVariable [SYS_DATA(index), ""])
|