Free Hero Mesh

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

Differences From Artifact [64526b83d0]:

To Artifact [f6413bcb62]:


36
37
38
39
40
41
42




43
44
45
46
47
48
49
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53







+
+
+
+








-e
  Start in the editor instead of game.

-f
  Only flush the user cache and then terminate.

-h
  Disable portable mode; always use the HOME environment variable to find
  the configuration and database files.

-n
  Create a new puzzle set. The .xclass and .class files should already
  exist; the .level and .solution files should not already exist, and will
  be created with minimal data.

-p
  Start the picture editor.
85
86
87
88
89
90
91



















89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

.x0
  Disable loading SQLite extensions.

.x1
  Enable loading SQLite extensions.


=== Portable mode ===

Free Hero Mesh may run either in "home mode" or in "portable mode". The
following rules are used to determine which mode to use:

1. If the -h switch is present, use home mode.

2. If the HEROMESH_PREFIX environment variable is present, use portable
mode; its value is the file name prefix (the ".heromeshsession" and
".heromeshrc" names are appended directly to this value, so if it does
not end with a slash, it will be a prefix to the file name too).

3. If argv[0] contains a forward slash, use portable mode; it will use
files "current.heromeshrc" and "current.heromeshsession" in the directory
where the executable file is allegedly found.

4. Otherwise, home mode is used.