mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
582f6e32ed
* Slideshow - Add support for maps as textures * Update script_mod.hpp * Update fnc_mapImage.sqf * cleanup * Update fnc_mapImage.sqf * Apply suggestions from code review Co-authored-by: jonpas <jonpas33@gmail.com> * mapImage_init comments * Update fnc_mapImage.sqf * Apply suggestions from code review Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> * add support for mission config maps --------- Co-authored-by: jonpas <jonpas33@gmail.com> Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
36 lines
942 B
C++
36 lines
942 B
C++
class GVAR(mapDisplay) {
|
|
onLoad = QUOTE(call FUNC(mapImage_init));
|
|
idd = -1;
|
|
class Controls {};
|
|
};
|
|
|
|
class ctrlMap;
|
|
class GVAR(mapNormal): ctrlMap {
|
|
maxSatelliteAlpha = 0;
|
|
sizeExLabel = 0;
|
|
sizeExUnits = 0;
|
|
sizeExInfo = 0;
|
|
sizeExLevel = 0;
|
|
sizeEx = 0;
|
|
scaleMin = 0.005;
|
|
scaleMax = 10;
|
|
showCountourInterval = 0;
|
|
drawShaded = 0.15;
|
|
shadedSea = 0.15;
|
|
showMarkers = 0;
|
|
};
|
|
class GVAR(mapTopo): GVAR(mapNormal) {
|
|
drawShaded = 0.35;
|
|
shadedSea = 0.35;
|
|
sizeExLevel = 0.02;
|
|
colorCountlines[] = {0.647059, 0.533333, 0.286275, 0.5};
|
|
colorMainCountlines[] = {0.858824, 0, 0,0.5};
|
|
ptsPerSquareObj = 2000; // don't show buildings
|
|
};
|
|
class GVAR(mapSat): GVAR(mapNormal) {
|
|
// ref https://feedback.bistudio.com/T170918 - may have problems loading sat textures
|
|
maxSatelliteAlpha = 0.95;
|
|
colorForest[] = {0, 1, 0, 0};
|
|
colorForestBorder[] = {0, 1, 0, 0};
|
|
};
|