Free Hero Mesh

Class definition file
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.

The class definition file is a plain text file, which conists of a stream of tokens. Encoding is with PC character set (a superset of ASCII, although it is recommended to just use ASCII and to escape any non-ASCII characters).

The possible kind of tokens are:

Also:

Please note that SQL codes cannot be used in this file. SQL is used internally and in user configuration files, and may be entered by the user at runtime, but the rules of the game cannot be defined by use of SQL; it has its own programming language for defining the rules of the game, instead.

Top level blocks

At the top level (outside of any other blocks, and after the preprocessor has run, if any), the following kind of blocks are possible (all must be in parentheses):

Constants

Where a constant value (of any type) is expected, you may use any of the following:

Class definition blocks

The class definition block starts with the class name, and then the various things inside, which can be:

It can also include blocks of program instructions, which can start with a label, a message name (either built-in or user message), or the SUBS keyword.