The Marathon Markup Language - Appendix 1: Additional Elements

Colors

Colors are specified with the element <color> colors may be either indexed (being list members), or non-indexed (being in isolation). The color channels are red, green, and blue, with values that range from 0 to 1. All the color-channel attributes (red, green, blue) are mandatory. This example makes color 7 be yellow:
<color index="7" red="1" green="1" blue="0"/>

Shapes

Shapes can be specified with the element <shape>. A shape specification includes which collection, which color table, and which sequence or frame; a shape may also be allowed to be blank. A shape's attributes are
A blank shape is specified as one having no attributes: <shape/>. A non-blank shape requires the collection and sequence attributes, and optionally the color-table attribute (default: 0).

Damage

Damage is specified with the element <damage>. Damage features are set with these attributes, which are all optional.

Fonts

Fonts are specified with the element <font> like colors, fonts may be either indexed (being list members), or non-indexed (being in isolation).
None of the font attributes proper are mandatory. This example sets font 4 to the default font for the computer terminals.

<font index="4" name="Courier" size="12" style="0"/>

Boolean data

This is not a separate element, but a kind of value of an attribute. These values for a boolean attribute, indicate that a flag is to be on or an action is to be taken. These values, indicate that a flag is to be off or an action is not to be taken.

Home