mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Syria
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user