Merge branch 'mapContours' into mapfx

Conflicts:
	addons/map/config.cpp
This commit is contained in:
Nicolás Badano 2015-03-14 17:20:25 -03:00
commit 096b270b83
2 changed files with 67 additions and 0 deletions

38
addons/map/MapTweaks.hpp Normal file
View File

@ -0,0 +1,38 @@
// Hide Bushes
class Bush {
icon = "";
color[] = {0.450000, 0.640000, 0.330000, 0.0};
size = 14;
importance = "0.2 * 14 * 0.05";
coefMin = 0.250000;
coefMax = 4;
};
// Hide Trees
class SmallTree {
icon = "";
color[] = {0.450000, 0.640000, 0.330000, 0.0};
size = 12;
importance = "0.6 * 12 * 0.05";
coefMin = 0.250000;
coefMax = 4;
};
class Tree {
icon = "";
color[] = {0.450000, 0.640000, 0.330000, 0.0};
size = 12;
importance = "0.9 * 16 * 0.05";
coefMin = 0.250000;
coefMax = 4;
};
class Legend {
x = SafeZoneX+SafeZoneW-.340;
y = SafeZoneY+SafeZoneH-.152;
font = "PuristaMedium";
w = .340;
h = .152;
sizeEx = 0.039210;
colorBackground[] = {0.906000, 0.901000, 0.880000, 0.5};
color[] = {0, 0, 0, 0.75};
};

View File

@ -55,11 +55,40 @@ class ACE_Settings {
#include "CfgVehicles.hpp"
class RscMapControl {
maxSatelliteAlpha = 0.5;
// From Arma 2
colorTracks[] = {1.0,0.0,0.0,1};
colorTracksFill[] = {1.0,1.0,0.0,1};
colorRoads[] = {0.0,0.0,0.0,1};
colorRoadsFill[] = {1,1,0,1};
colorMainRoads[] = {0.0,0.0,0.0,1};
colorMainRoadsFill[] = {1,0.6,0.4,1};
colorRailWay[] = {0.8,0.2,0,1};
// From ACE2
colorBackground[] = {0.929412, 0.929412, 0.929412, 1.0};
colorOutside[] = {0.929412, 0.929412, 0.929412, 1.0};
colorCountlines[] = {0.647059, 0.533333, 0.286275, 1};
colorMainCountlines[] = {0.858824, 0, 0,1};
colorForest[] = {0.6, 0.8, 0.2, 0.25};
colorLevels[] = {0.0, 0.0, 0.0, 1.0};
colorRocks[] = {0.50, 0.50, 0.50, 0.50};
sizeExLevel = 0.03;
showCountourInterval = 1; // refs #13673
sizeExGrid = 0.032;
};
// REGULAR MAP
class RscDisplayMainMap {
// Tweak map styling
class controlsBackground {
class CA_Map : RscMapControl {
#include "MapTweaks.hpp"
};
};
// get rid of the "center to player position" - button (as it works even on elite)
class controls {
class TopRight: RscControlsGroup {