GDL forms in this section are those that do not really fit anywhere else.
UnitTypeProperty: name-internal str
The exact style of display depends on the user interface and on user preferences, but for some games, you may want to encourage a particular style by making it be the default.
GlobalVariable: unseen-char str
This variable is a string whose first character will be used to
represent unexplored terrain. If the string consists of two characters,
the second char will be scattered throughout a field of the first char.
Defaults to "?".
GlobalVariable: unseen-color str
This variable is the name of a color that will be used to represent
unexplored terrain. Defaults to "black".
GlobalVariable: grid-color str
This variable is the name of a color to use to draw the cell-separating
grid. Defaults to "dark-gray".
GlobalVariable: unit-name-color str
This variable is the name of a color to use when drawing unit names and
numbers. Defaults to "white".
GlobalVariable: contour-color str
This variable is the name of a color to use to draw the elevation
contour lines. Defaults to "saddle-brown".
GlobalVariable: meridian-color str
This variable is the name of a color to use to draw meridians of
latitude and longitude. Defaults to "black".
GlobalVariable: frontline-color str
This variable is the name of a color to use to draw country borders
against other countries. Defaults to "red".
GlobalVariable: country-border-color str
This variable is the name of a color to use to draw country borders
against unpopulated areas. Defaults to "pink".
GlobalVariable: shoreline-color str
This variable is the name of a color to use to draw shorelines (liquid
adjacent to non-liquid terrain). Defaults to "blue".
GlobalVariable: feature-colors list
This variable is a list of feature types and colors to use with them. (not completely implemented)
It is useful to be able to restart the random number generator consistently.
GlobalVariable: random-state n
This variable is the state of the random number generator. If this is not used, then the initial state of the random number generator will be set in a system-dependent way.
Form: print value
This form prints to a console or file (depending on the interface) the object value, in GDL syntax.