mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
79c43179ea
* Initial Commit to unfuck whatever I fucked in Git. * Update initSettings.sqf and stringtable.xml * Implements stringtable.xml suggestion * Fixes for plotting board * Update addons/maptools/functions/fnc_handleMouseButton.sqf Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> * Update addons/maptools/CfgWeapons.hpp Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> * Update addons/maptools/XEH_postInitClient.sqf Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> * Update addons/maptools/XEH_postInitClient.sqf Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> * Cleanup * Redid calculations * Updated docs * More updated docs * Update maptools.md * Fix error and warning --------- Co-authored-by: LorenLuke <LukeLLL@aol.com> Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
35 lines
986 B
C++
35 lines
986 B
C++
#define COMPONENT maptools
|
|
#define COMPONENT_BEAUTIFIED Map Tools
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
|
|
|
// #define DEBUG_MODE_FULL
|
|
// #define DISABLE_COMPILE_CACHE
|
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
|
|
|
#ifdef DEBUG_ENABLED_MAPTOOLS
|
|
#define DEBUG_MODE_FULL
|
|
#endif
|
|
|
|
#ifdef DEBUG_SETTINGS_MAPTOOLS
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_MAPTOOLS
|
|
#endif
|
|
|
|
#include "\z\ace\addons\main\script_macros.hpp"
|
|
|
|
#define DEGTOMILS 17.7777778
|
|
|
|
#define TEXTURE_WIDTH_IN_M 6205
|
|
#define CENTER_OFFSET_Y_PERC 0.1606
|
|
#define CONSTANT_SCALE 0.2
|
|
#define DIST_BOTTOM_TO_CENTER_PERC -0.33
|
|
#define DIST_TOP_TO_CENTER_PERC 0.65
|
|
#define DIST_LEFT_TO_CENTER_PERC 0.30
|
|
|
|
#define PLOTTINGBOARD_DRAWRANGE 3000
|
|
#define PLOTTINGBOARD_TEXTUREWIDTH 6000
|
|
#define PLOTTINGBOARD_RULERCENTER 450
|
|
#define PLOTTINGBOARD_RULERHALFWIDTH 100
|
|
#define PLOTTINGBOARD_RULERINNERCIRCLE 2900
|
|
#define PLOTTINGBOARD_RULEROUTERCIRCLE 3000
|
|
#define PLOTTINGBOARD_RULEROUTERHALFANGLE 100
|