Free Hero Mesh

Changes To Command-line arguments
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.

Changes to "Command-line arguments" between 2018-06-11 01:40:04 and 2018-06-22 07:19:33

10
11
12
13
14
15
16

17
18
19
20
21
22
23
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24







+








<h2>Switches</h2>
  *  <tt>-c</tt> - Only load the .class file and check for errors. In this case, it will not complain if the .xclass and .level and .solution files do not exist.
  *  <tt>-C</tt> - Dump all compiled class codes to stdout. This is used mainly for testing.
  *  <tt>-e</tt> - Start the level editor, rather than play game.
  *  <tt>-H</tt> - Dump the hash table to stdout. This is used mainly for testing.
  *  <tt>-L</tt> - Meant for use with -c; lists all tokens it reads from the .class file (including macro expansions), rather than trying to parse it afterward. It does not check for any errors other than those in the lexer and macro preprocessor.
  *  <tt>-M</tt> - Meant for use with -c; display details of the macro system working.
  *  <tt>-T</tt> - Undocumented testing mode. This is meant for testing Free Hero Mesh itself
  *  <tt>-x</tt> - Execute SQL statements from stdin. For example, you can use this to make a report of the levels or to convert levels from another file format.

<h2>Dot commands</h2>
When the <tt>-x</tt> switch is specified, it reads SQL statements from stdin. However, you can also use a line beginning with <tt>#</tt> as a comment, or a line beginning with <tt>.</tt> as a special command (neither works if an incomplete SQL statement has been read).

Valid dot commands are: