Free Hero Mesh

Artifact [dd65302bc9]
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.

Artifact dd65302bc90e4e435edc5bf3955b5118e5565d7b:

Wiki page [Limits] by zzo38 on 2018-06-10 01:52:19.
D 2018-06-10T01:52:19.491
L Limits
P e7a73d3643a7a74e05522b9e2dfea871a42fbba9
U zzo38
W 1409
Here are various limits in Free Hero Mesh (many of which are much more than what they are in Hero Mesh):
  *  Levels: 65536
  *  Classes: 16383
  *  Local user variables per object: 2048
  *  Global user variables: 2048
  *  User messages: 16384
  *  Global user functions: 16384
  *  Pictures: 32768
  *  Pictures per class: 254
  *  Strings: 32768
  *  Animation steps: 255
  *  Global hash table: 8888
  *  Local hash table: 5555
  *  Picture size: 255 x 255
  *  Level grid size: 64 x 64
  *  String length: 8000
  *  Moves per level: 65535
  *  Labels per class: 32768
  *  Macros: 16320
  *  Compiled code size per class: 65519 cells
  *  Each lump name: 125
  *  Encoded level size: 950 megabytes
  *  Puzzle file size: 2 gigabytes
  *  User cache size: 1 terabyte

Note that the limits of the hash table sizes may indirectly affect the other limits. The hash table includes macros, user functions, labels, and user variables. This means that many of the limits above cannot actually be achieved using the default settings. The hash table sizes may be changed at compile time by editing the <tt>class.c</tt> source file.

One cell of class codes is a 16-bit value (2 bytes).

A puzzle set consists of four files; each is limited to 2 gigabytes.

Changing any of these limits does not change the behaviour of the game, but may change what puzzles it is capable of loading.
Z 5c20cdad8d99288f8b4d783c8beae41a