Filenames for a few unmanaged files included in a standard Inform installation.

§1. Inform needs a whole pile of files to have been installed on the host computer before it can run: everything from the Standard Rules to a PDF file explaining what interactive fiction is. They're never written to, only read. They are stored in subdirectories called Miscellany or HTML of the internal nest; but they're just plain old files, and are not managed by Inbuild as "copies".

enum CBLORB_REPORT_MODEL_IRES from 1
enum DOCUMENTATION_SNIPPETS_IRES
enum INTRO_BOOKLET_IRES
enum INTRO_POSTCARD_IRES
enum LARGE_DEFAULT_COVER_ART_IRES
enum SMALL_DEFAULT_COVER_ART_IRES
enum DOCUMENTATION_XREFS_IRES
enum JAVASCRIPT_FOR_STANDARD_PAGES_IRES
enum JAVASCRIPT_FOR_EXTENSIONS_IRES
enum JAVASCRIPT_FOR_ONE_EXTENSION_IRES
enum CSS_FOR_STANDARD_PAGES_IRES
enum CSS_FOR_INDEX_PAGES_IRES
enum EXTENSION_DOCUMENTATION_MODEL_IRES
filename *InstalledFiles::filename(int ires) {
    pathname *internal = INSTALLED_FILES_HTML_CALLBACK();
    pathname *misc = Pathnames::down(internal, I"Miscellany");
    pathname *models = Pathnames::down(internal, I"HTML");
    switch (ires) {
        case DOCUMENTATION_SNIPPETS_IRES:
                return Filenames::in(misc, I"definitions.html");
        case INTRO_BOOKLET_IRES:
                return Filenames::in(misc, I"IntroductionToIF.pdf");
        case INTRO_POSTCARD_IRES:
                return Filenames::in(misc, I"Postcard.pdf");
        case LARGE_DEFAULT_COVER_ART_IRES:
                return Filenames::in(misc, I"Cover.jpg");
        case SMALL_DEFAULT_COVER_ART_IRES:
                return Filenames::in(misc, I"Small Cover.jpg");

        case CBLORB_REPORT_MODEL_IRES:
                return Filenames::in(models, I"CblorbModel.html");
        case DOCUMENTATION_XREFS_IRES:
                return Filenames::in(models, I"xrefs.txt");
        case JAVASCRIPT_FOR_STANDARD_PAGES_IRES:
                return Filenames::in(models, I"main.js");
        case JAVASCRIPT_FOR_EXTENSIONS_IRES:
                return Filenames::in(models, I"extensions.js");
        case JAVASCRIPT_FOR_ONE_EXTENSION_IRES:
                return Filenames::in(models, I"extensionfile.js");
        case CSS_FOR_STANDARD_PAGES_IRES:
                return Filenames::in(models, I"main.css");
        case CSS_FOR_INDEX_PAGES_IRES:
                return Filenames::in(models, I"index.css");
        case EXTENSION_DOCUMENTATION_MODEL_IRES:
                return Filenames::in(models, I"extensionfile.html");
        }
    internal_error("unknown installation resource file");
    return NULL;
}

§2. This directory also holds the Basic.indext and Standard.indext index structure files, but in principle we allow a wider range of these to exist, so:

filename *InstalledFiles::index_structure_file(text_stream *leaf) {
    pathname *internal = INSTALLED_FILES_HTML_CALLBACK();
    pathname *misc = Pathnames::down(internal, I"Miscellany");
    return Filenames::in(misc, leaf);
}