1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
-
+
+
+
+
+
+
+
+
|
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: 128
* Strings: 32768
* Animation steps: 255
* Global hash table: 8888
* Local hash table: 5555
* Picture size: 255
* Picture size: 255 x 255
* Level grid size: 64 x 64
* String length: 8000
* Moves per level: 65535
* Compiled code size per class: 65519 cells
* Encoded level size: 950 megabytes
* Puzzle file size: 2 gigabytes
* User cache size: 120 terabytes
The hash table sizes may be changed at compile time by editing the <tt>class.c</tt> source file. Changing these limits does not change the behaviour of the game, but may change what puzzles it is capable of loading.
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.
|