Free Hero Mesh

Update of "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.
Overview

Artifact ID: 33987feb78b99855276f85c5b39e7888e01dc434
Page Name:Class definition file
Date: 2018-11-22 07:34:35
Original User: zzo38
Parent: 88b01866c991069f5f9e1868d2804eab85751151 (diff)
Next db1af2e5ab5574e4eb3d501c51dcce69b5dcb98c
Content

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.