mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Added Falklands map stuff
This commit is contained in:
parent
afec1c3a5b
commit
196bcf39cf
@ -52,6 +52,7 @@ BIGSMOKEPRESET = {
|
|||||||
-- @field #string TheChannel The Channel map.
|
-- @field #string TheChannel The Channel map.
|
||||||
-- @field #string Syria Syria map.
|
-- @field #string Syria Syria map.
|
||||||
-- @field #string MarianaIslands Mariana Islands map.
|
-- @field #string MarianaIslands Mariana Islands map.
|
||||||
|
-- @field #string Falklands South Atlantic map.
|
||||||
DCSMAP = {
|
DCSMAP = {
|
||||||
Caucasus="Caucasus",
|
Caucasus="Caucasus",
|
||||||
NTTR="Nevada",
|
NTTR="Nevada",
|
||||||
@ -59,7 +60,8 @@ DCSMAP = {
|
|||||||
PersianGulf="PersianGulf",
|
PersianGulf="PersianGulf",
|
||||||
TheChannel="TheChannel",
|
TheChannel="TheChannel",
|
||||||
Syria="Syria",
|
Syria="Syria",
|
||||||
MarianaIslands="MarianaIslands"
|
MarianaIslands="MarianaIslands",
|
||||||
|
Falklands="Falklands",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1347,6 +1349,7 @@ end
|
|||||||
-- * The Cannel Map -10 (West)
|
-- * The Cannel Map -10 (West)
|
||||||
-- * Syria +5 (East)
|
-- * Syria +5 (East)
|
||||||
-- * Mariana Islands +2 (East)
|
-- * Mariana Islands +2 (East)
|
||||||
|
-- * Falklands +12 (East) - note there's a LOT of deviation across the map, as we're closer to the South Pole
|
||||||
-- @param #string map (Optional) Map for which the declination is returned. Default is from env.mission.theatre
|
-- @param #string map (Optional) Map for which the declination is returned. Default is from env.mission.theatre
|
||||||
-- @return #number Declination in degrees.
|
-- @return #number Declination in degrees.
|
||||||
function UTILS.GetMagneticDeclination(map)
|
function UTILS.GetMagneticDeclination(map)
|
||||||
@ -1369,6 +1372,8 @@ function UTILS.GetMagneticDeclination(map)
|
|||||||
declination=5
|
declination=5
|
||||||
elseif map==DCSMAP.MarianaIslands then
|
elseif map==DCSMAP.MarianaIslands then
|
||||||
declination=2
|
declination=2
|
||||||
|
elseif map==DCSMAP.Falklands then
|
||||||
|
declination=12
|
||||||
else
|
else
|
||||||
declination=0
|
declination=0
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user