| _Config file for XEarth

Title=XEarth choices
File=XEarth:Conf.Choices
UseWebColour=1
Width = 940
Height = 500
|Column = 360
Separator = :
Remark = #
UseGroups = 2
HelpButton = 1

[View]

Icon = earth
Text = Overall view
Short = View
Width = 250
Help = XEarth:Docs.XHelp/htm

{
  Name = proj
  Text = Projection
  Type = Radio
  Menu = Projection;Orthographic (globe),orth;Mercator (flat),merc
  Width = 400
  Help = How the Earth is displayed on the screen
  Default = orth
}

{
  Type=Ruler
  Height=20
}

{
  Name = mag
  Text = Magnification
  Type = float
  Default = 1.00
  Comment = 0.01..
  Min = 0.01
  Max = 1000
  Step = 0.01
  Shiftstep = 0.10
  Width = 100
  Size = 4
  Help = Scaling factor; 1.00 is the screen height, or width for flat projections
}

{
  Name = rot
  Text = Angle
  Type = integer
  Default = 0
  Comment = -180..+360
  Min = -180
  Max = 360
  Step = 1
  Shiftstep = 10
  Width = 100
  Size = 3
  Help = The angle at which the Earth is tilted
}

{
  Name = xshift
  Text = Horizontal shift
  Type = integer
  Default = 0
  Comment = pixels
  Min = -2000
  Max = 2000
  Step = 1
  Shiftstep = 10
  Width = 100
  Size = 4
  Help = Displace the centre of the Earth horizontally
}

{
  Name = yshift
  Text = Vertical shift
  Type = integer
  Default = 0
  Comment = pixels
  Min = -2000
  Max = 2000
  Step = 1
  Shiftstep = 10
  Width = 100
  Size = 4
  Help = Displace the centre of the Earth vertically
}

{
  Type=Ruler
  Height=20
}

{
  Name = wait
  Text = Update every
  Type = integer
  Default = 5
  Comment = minutes
  Min = 2
  Max = 200
  Step = 1
  Shiftstep = 10
  Width = 100
  Size = 3
  Help = The time between screen updates
}


| ***************************************************

[Position]

Icon = earth2
Text = Viewing position
Offset = 10
Short = Position
Width = 250
Help = XEarth:Docs.XHelp/htm

{
  Height=10
}

{
  Name = pos
  Type = Radio
  Stack = Horizontal
  Menu = Projection;Fixed,fixed;Solar,sunrel;Orbit,orbit;Random,random
  Width = 230
  Help = The position from which the Earth is viewed
  Default = fixed
}


{
  Type=Ruler
  Height=40
}

{
  Name = location
  Type = Menu
  Enable = [Position]pos,fixed
  Text = Location
  Help = Select the location directly below the observer
  Menu = #Location;ext;XEarth:Conf.Locations
  Default = 0.00/0.00
  Width = 400
}

{
  Type=Ruler
  Height=20
}

{
  Name = slat
  Text = Latitude offset
  Enable = [Position]pos,sunrel
  Type = float
  Default = 0.00
  Comment =  -90..+90
  Min = -90.00
  Max = 90.00
  Step = 1.00
  Shiftstep = 10.00
  Width = 120
  Size = 7
  Help = The latitude of the point fixed with respect to the sun
}

{
  Name = slong
  Text = Longitude offset
  Enable = [Position]pos,sunrel
  Type = float
  Default = 0.00
  Comment = -180..+180
  Min = -180.00
  Max = 180.00
  Step = 1.00
  Shiftstep = 10.00
  Width = 120
  Size = 7
  Help = The longitude of the point fixed with respect to the sun
}

{
  Type=Ruler
  Height=20
}

{
  Name = period
  Text = Orbital period
  Enable = [Position]pos,orbit
  Type = float
  Default = 1.0
  Comment = hours
  Min = 0.0
  Max = 100.0
  Step = 0.1
  Shiftstep = 1.0
  Width = 120
  Size = 4
  Help = The time to complete an orbit of the Earth
}

{
  Name = inclination
  Text = Orbital inclination
  Enable = [Position]pos,orbit
  Type = integer
  Default = 0
  Comment = -180..+180
  Min = -180
  Max = 180
  Step = 1
  Shiftstep = 10
  Width = 120
  Size = 4
  Help = The angle of the orbit
}


| ***************************************************


[Rendering]

Icon = earth3
Text = Rendering options
Offset = 10
Short = Render
Width = 350
Help = XEarth:Docs.XHelp/htm

{
  Name = shade
  Text = Day/night shading
  Type = option
  Default = on
  Help = Whether to shade the Earth according to the position of the sun
}

{
  Name = day
  Text = Day brightness
  Type = integer
  Default = 100
  Enable = [Rendering]shade,1
  Comment = %
  Min = 0
  Max = 100
  Step = 1
  Shiftstep = 10
  Width = 100
  Size = 3
  Help = The brightness of illuminated parts of the Earth
}

{
  Name = night
  Text = Night brightness
  Type = integer
  Default = 10
  Enable = [Rendering]shade,1
  Comment = %
  Min = 0
  Max = 100
  Step = 1
  Shiftstep = 10
  Width = 100
  Size = 3
  Help = The brightness of night-time parts of the Earth
}

{
  Name = term
  Text = Terminator discontinuity
  Type = integer
  Default = 1
  Enable = [Rendering]shade,1
  Comment = %
  Min = 0
  Max = 100
  Step = 1
  Shiftstep = 10
  Width = 100
  Size = 3
  Help = The abruptness of the terminator line between day and night
}

{
  Type=Ruler
  Height=20
}

{
  Name = stars
  Text = Stars
  Type = option
  Default = on
  Help = Whether to display stars
}

{
  Name = starfreq
  Text = Star frequency
  Type = float
  Default = 0.0020
  Enable = [Rendering]stars,1
  Comment = Density of stars
  Min = 0.0001
  Max = 1.0
  Step = 0.0001
  Shiftstep = 0.001
  Width = 120
  Size = 6
  Help = The fraction of pixels to turn into stars
}

{
  Name = bigstars
  Text = Big star frequency
  Type = integer
  Default = 10
  Enable = [Rendering]stars,1
  Comment = %
  Min = 0
  Max = 100
  Step = 1
  Shiftstep = 10
  Width = 120
  Size = 3
  Help = The percentage of stars to turn into large stars
}

|{
|  Type=Ruler
|  Height=20
|}
|
|{
|  Name = grid
|  Text = Grid
|  Type = option
|  Default = off
|  Help = Whether to display a latitude/longitude grid
|}



| ***************************************************

[Output]

Icon = earth4
Text = Create a sprite
Offset = 40
Short = Save
Width = 350
Help = XEarth:Docs.XHelp/htm

{
  Type = Comment
  Height = 120
  Text = Use this section to create a sprite from the current settings. This does not affect the pinboard display.
}

{
  Name = createsprite
  Text = Create a sprite
  Type = option
  Default = off
  Help = Select this to create a sprite
}

{
  Name = xsize
  Text = Horizontal size
  Type = integer
  Enable = [Output]createsprite,1
  Default = 256
  Comment = pixels
  Min = 8
  Max = 2000
  Step = 1
  Shiftstep = 10
  Width = 100
  Size = 4
  Help = Set the width of the sprite
}

{
  Name = ysize
  Text = Vertical size
  Type = integer
  Enable = [Output]createsprite,1
  Default = 256
  Comment = pixels
  Min = 8
  Max = 2000
  Step = 1
  Shiftstep = 10
  Width = 100
  Size = 4
  Help = Set the height of the sprite
}

{
  Name = filename
  Type = String
  Enable = [Output]createsprite,1
  Text = Filename
  Default = xeimage
  Size = 40
  Width = 240
  Drop = Leaf
}:

{
  Type = Button
  Text = Open
  Default = Filer_OpenDir <XEarthImages$Dir>
  Width = 120
  Help = Open the images directory
}

{
  Name = showsprite
  Text = Display the sprite
  Type = option
  Enable = [Output]createsprite,1
  Default = on
  Help = Display the sprite automatically on completion
}


| ***************************************************

[Animate]

Icon = earth5
Text = Create an animation (requires InterGIF/IGViewer)
Offset = 40
Short = Animate
Width = 200
Column = 350
Help = XEarth:Docs.XHelp/htm

{
  Type = Comment
  Height = 120
  Text = Use this section to create an animation. This does not affect the pinboard display.
}

{
  Name = createanimation
  Text = Create an animation
  Type = option
  Enable = [Output]createsprite,0
  Default = off
  Help = Select this to create an animation
}

{
  Name = axsize
  Text = Width
  Type = integer
  Enable = [Animate]createanimation,1
  Default = 256
  Min = 8
  Max = 2000
  Step = 1
  Shiftstep = 10
  Width = 100
  Size = 4
  Help = Set the width of the animation
}:

{
  Name = aysize
  Text = Height
  Type = integer
  Enable = [Animate]createanimation,1
  Default = 256
  Comment = pixels
  Min = 8
  Max = 2000
  Step = 1
  Shiftstep = 10
  Width = 100
  Size = 4
  Help = Set the height of the animation
}

{
  Name = aframes
  Text = Frames
  Type = integer
  Enable = [Animate]createanimation,1
  Default = 24
  Min = 1
  Max = 200
  Step = 1
  Shiftstep = 10
  Width = 100
  Size = 4
  Help = Set the number of frames in the animation
}:

{
  Name = aframedelay
  Text = Frame delay
  Type = integer
  Enable = [Animate]createanimation,1
  Default = 8
  Comment = csecs
  Min = 1
  Max = 500
  Step = 1
  Shiftstep = 10
  Width = 100
  Size = 4
  Help = Set the delay between frames, in centiseconds
}

{
  Name = afilename
  Type = String
  Enable = [Animate]createanimation,1
  Text = Filename
  Default = xeanim
  Size = 40
  Width = 240
  Drop = Leaf
}:

{
  Type = Button
  Text = Open
  Default = Filer_OpenDir <XEAnim$Dir>
  Width = 120
  Help = Open the animation directory
}

{
  Name = masked
  Text = Masked
  Type = option
  Comment =
  Enable = [Animate]createanimation,1
  Default = off
  Help = Mask out empty (black) areas
}

{
  Name = showanimation
  Text = Display
  Type = option
  Comment =
  Enable = [Animate]createanimation,1
  Default = on
  Help = Display the animation automatically on completion
};

{
  Name = verbose
  Text = Report progress
  Type = option
  Comment =
  Enable = [Animate]createanimation,1
  Default = on
  Help = Open a window showing progress information
}

{
  Type = Comment
  Enable = [Animate]createanimation,1
  Height = 80
  Text = Set up the animation details in the next tab.
}


| ***************************************************

[Animate2]

Icon = earth6
Text = Direct an animation (requires InterGIF/IGViewer)
Offset = 10
Short = Direct
Width = 200
Column = 400
Help = XEarth:Docs.XHelp/htm

{
  Type = Comment
  Height = 120
  Enable = [Animate]createanimation,1
  Text = Use this section to set up the values for the last frame of the animation (the current settings are used for the first frame).
}

{
  Name = endmag
  Text = Magnification
  Enable = [Animate]createanimation,1
  Type = float
  Default = 1.00
  Min = 0.01
  Max = 1000
  Step = 0.01
  Shiftstep = 0.10
  Width = 120
  Size = 4
  Help = Scaling factor; 1.00 is the screen height, or width for flat projections
};

{
  Name = endrot
  Text = Angle
  Enable = [Animate]createanimation,1
  Type = integer
  Default = 0
  Min = -180
  Max = 360
  Step = 1
  Shiftstep = 10
  Width = 120
  Size = 3
  Help = The angle at which the Earth is tilted
}

{
  Name = endday
  Text = Day shade
  Type = integer
  Default = 100
  Enable = [Animate]createanimation,1
  Min = 0
  Max = 100
  Step = 1
  Shiftstep = 10
  Width = 120
  Size = 3
  Help = The brightness of illuminated parts of the Earth
};

{
  Name = endnight
  Text = Night shade
  Type = integer
  Default = 10
  Enable = [Animate]createanimation,1
  Min = 0
  Max = 100
  Step = 1
  Shiftstep = 10
  Width = 120
  Size = 3
  Help = The brightness of night-time parts of the Earth
}

{
  Name = endxshift
  Text = X shift
  Type = integer
  Default = 0
  Enable = [Animate]createanimation,1
  Min = -2000
  Max = 2000
  Step = 1
  Shiftstep = 10
  Width = 120
  Size = 4
  Help = Displace the centre of the Earth horizontally
};

{
  Name = endyshift
  Text = Y shift
  Type = integer
  Default = 0
  Enable = [Animate]createanimation,1
  Min = -2000
  Max = 2000
  Step = 1
  Shiftstep = 10
  Width = 120
  Size = 4
  Help = Displace the centre of the Earth vertically
}

{
  Name = endlocation
  Type = Menu
  Enable = [Position]pos,fixed
  Enable = [Animate]createanimation,1
  Text = Location
  Help = Select the location directly below the observer
  Menu = #Location;ext;XEarth:Conf.Locations
  Default = 0.00/0.00
  Width = 400
}

{
  Name = endslat
  Text = Latitude
  Enable = [Position]pos,sunrel
  Enable = [Animate]createanimation,1
  Type = float
  Default = 0.00
  Min = -90.00
  Max = 90.00
  Step = 1.00
  Shiftstep = 10.00
  Width = 120
  Size = 7
  Help = The latitude of the point fixed with respect to the sun
};

{
  Name = endslong
  Text = Longitude
  Enable = [Position]pos,sunrel
  Enable = [Animate]createanimation,1
  Type = float
  Default = 0.00
  Min = -180.00
  Max = 180.00
  Step = 1.00
  Shiftstep = 10.00
  Width = 120
  Size = 7
  Help = The longitude of the point fixed with respect to the sun
}

{
  Name = timeinc
  Text = Time jump
  Type = integer
  Default = 0
  Enable = [Animate]createanimation,1
  Min = 0
  Max = 20000
  Comment = minutes
  Step = 1
  Shiftstep = 60
  Width = 200
  Size = 8
  Help = The real time between frames
}


