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: 1d25b2a6fd7379cd9aa912b27f91874e89250020
Page Name:Class definition file
Date: 2019-05-27 06:53:35
Original User: zzo38
Parent: db1af2e5ab5574e4eb3d501c51dcce69b5dcb98c (diff)
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.