ATIS
- Added runway magnetic to true conversion. Channel map -10°, Syria +5°.
- ICAOP phraseology The Channel and Syria true.

UTILS
- Added DCSMAP.Syria="Syria"
- Magnetic declination for Syria set to 5°
- GMT to local time for Syria is GMT+3.

AIRBASE
- Added AIRBASE.Syria enums.
This commit is contained in:
Frank
2020-08-19 23:04:38 +02:00
parent ec4d12a0d5
commit 6a04f83280
3 changed files with 91 additions and 3 deletions

View File

@@ -49,12 +49,14 @@ BIGSMOKEPRESET = {
-- @field #string NTTR Nevada Test and Training Range map.
-- @field #string PersianGulf Persian Gulf map.
-- @field #string TheChannel The Channel map.
-- @field #string Syria Syria map.
DCSMAP = {
Caucasus="Caucasus",
NTTR="Nevada",
Normandy="Normandy",
PersianGulf="PersianGulf",
TheChannel="TheChannel",
Syria="Syria",
}
@@ -1121,7 +1123,9 @@ function UTILS.GetMagneticDeclination(map)
elseif map==DCSMAP.PersianGulf then
declination=2
elseif map==DCSMAP.TheChannel then
declination=-10
declination=-10
elseif map==DCSMAP.Syria then
declination=5
else
declination=0
end
@@ -1248,6 +1252,8 @@ function UTILS.GMTToLocalTimeDifference()
return 0 -- Calais UTC+1 hour
elseif theatre==DCSMAP.TheChannel then
return 2 -- This map currently needs +2
elseif theatre==DCSMAP.Syria then
return 3 -- Damascus is UTC+3 hours
else
BASE:E(string.format("ERROR: Unknown Map %s in UTILS.GMTToLocal function. Returning 0", tostring(theatre)))
return 0