mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
parent
e3d6d6cc4e
commit
03c3e74636
@ -10,7 +10,7 @@
|
|||||||
#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD
|
#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD
|
||||||
|
|
||||||
// MINIMAL required version for the Mod. Components can specify others..
|
// MINIMAL required version for the Mod. Components can specify others..
|
||||||
#define REQUIRED_VERSION 2.12
|
#define REQUIRED_VERSION 2.14
|
||||||
#define REQUIRED_CBA_VERSION {3,15,7}
|
#define REQUIRED_CBA_VERSION {3,15,7}
|
||||||
|
|
||||||
#ifdef COMPONENT_BEAUTIFIED
|
#ifdef COMPONENT_BEAUTIFIED
|
||||||
|
@ -41,10 +41,7 @@ if (GVAR(freedrawing)) then {[_theMap, _textureWidth] call FUNC(drawLinesOnRoame
|
|||||||
// Update scale of both parts
|
// Update scale of both parts
|
||||||
getResolution params ["_resWidth", "_resHeight", "", "", "_aspectRatio"];
|
getResolution params ["_resWidth", "_resHeight", "", "", "_aspectRatio"];
|
||||||
private _scaleX = 32 * _textureWidth * CONSTANT_SCALE * (call FUNC(calculateMapScale));
|
private _scaleX = 32 * _textureWidth * CONSTANT_SCALE * (call FUNC(calculateMapScale));
|
||||||
private _scaleY = _scaleX;
|
private _scaleY = _scaleX;
|
||||||
if (((productVersion # 2) < 213)) then { // remove block after 2.14 release
|
|
||||||
_scaleY = _scaleX * ((_resWidth / _resHeight) / _aspectRatio); // handle bad aspect ratios
|
|
||||||
};
|
|
||||||
|
|
||||||
// Position of the fixed part
|
// Position of the fixed part
|
||||||
private _xPos = GVAR(mapTool_pos) select 0;
|
private _xPos = GVAR(mapTool_pos) select 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user