Document Menu/*.mni files
This commit is contained in:
@@ -70,8 +70,9 @@ remake.
|
|||||||
* [`Maps/`](maps.md)
|
* [`Maps/`](maps.md)
|
||||||
* `*.MAP`
|
* `*.MAP`
|
||||||
* `*.TXT`
|
* `*.TXT`
|
||||||
* `Menu/`
|
* [`Menu/`](mnu.md) - UI element definitions
|
||||||
* [`*.mnu`](mnu.md) # plain text, linked to .obj file, contains definitions
|
* `*.mni`
|
||||||
|
* `*.mnu`
|
||||||
* [`*.obj`](obj.md)
|
* [`*.obj`](obj.md)
|
||||||
* `Misc/`
|
* `Misc/`
|
||||||
* `occlusio.lis` # plain text, presumably occlusion mappings?
|
* `occlusio.lis` # plain text, presumably occlusion mappings?
|
||||||
|
@@ -122,3 +122,14 @@ Submenus also show a couple of unique values:
|
|||||||
| `SUBMENUID` | `1`, `2`, `3` | As `MENUID` |
|
| `SUBMENUID` | `1`, `2`, `3` | As `MENUID` |
|
||||||
| `SUBMENUTYPE` | `0`, `1`, `2` | As `MENUTYPE` |
|
| `SUBMENUTYPE` | `0`, `1`, `2` | As `MENUTYPE` |
|
||||||
|
|
||||||
|
It seems .mnu files can also include other files, which have the extension
|
||||||
|
`.mni` (presumably for "Menu include"). Examples:
|
||||||
|
|
||||||
|
```
|
||||||
|
*
|
||||||
|
$GenDialog.mni
|
||||||
|
$GenLoad.mni
|
||||||
|
```
|
||||||
|
|
||||||
|
It looks like we just interpolate the named file into the text when we come
|
||||||
|
across one of these lines.
|
||||||
|
Reference in New Issue
Block a user