# Fighter Factory Studio - Reference Documentation

For problems and bug report, go to VirtuallTek Game Studios web site. For doubts related to some specific engine, go to their own web pages or community forums.

# Syntax highlight system

## M.U.G.E.N.

The syntax highlight database is a XML document, with the following structure:

<?xml version="1.0" encoding="UTF-8"?>
<syntax>
{file list}
</syntax>

To define a file you must write:

<file type="type-name"/> inside the {file list}. 'type_name' can be: char, state, command, stage, motif, font or storyboard (will be used based on file type of the document detected by the parser).

Inside a file, code is split into blocks. To define a block you must write:

<block type="type-name>base_file.base_name"/> inside a file. 'base_file' and 'base_name' are optional. They're used to inherit params from other block.

Each block can have parameters. To define a parameter you must write:

<param name="name" type="type"/> inside a block. Extra attributes are available for some types, like 'list' and 'char'

'block' and 'param' can have the 'minver' attribute too, to set the minimum required version, and 'deprecated' to mark this as deprecated on the specified version. 'param' could have the attribute 'optional', to define optional values as the name suggests.

Besides 'file', you can use 'consts' or 'trigger'.

To define a consts you must write:

<consts name="name"/> inside the {file list}. 'name' can be Const, GetHitVar and AssertSpecial.

To define a trigger you must write:

<trigger name="name" type="type"/> inside the {file list}.