Files
nethack/win/share
nhmall acb85b18cf Change Windows startup
remove the safeproc pseudo-windowport routines from
almost a decade ago.

A very early pass is made through the config file,
seeking out just the interface-related OPTIONS=windowport
and OPTIONS=soundlib and ignoring all other options in the
config file during that early pass, so the windowport
can be activated without the NetHack core initialization
in place that some of the other rcfile OPTIONS require.

Bundles the existing rcfile processing code into rcfile().

New functions to control which rcfile options will be
disregarded in the early config file pass, and which will be
processed:

    set_all_options_disregarded();
    set_all_options_heeded();
    disregard_this_option(opt_xx);
    heed_this_option(opt_xx);

Windows calls rcfile_interface_options(), which is
a bundling of a series of function calls to achieve
the desired result.

    void
    rcfile_interface_options(void)
    {
        allopt_array_init();
        set_all_options_disregarded();
        heed_this_option(opt_windowtype);
        heed_this_option(opt_soundlib);
        rcfile();
        set_all_options_heeded();
        disregard_this_option(opt_windowtype);
        disregard_this_option(opt_soundlib);
    }
2026-04-05 11:37:20 -04:00
..
2022-03-13 11:06:45 -04:00
2021-01-26 21:06:16 -05:00
2025-01-12 23:57:56 -05:00
2019-12-07 17:07:50 +01:00
2019-12-07 17:07:50 +01:00
2026-03-19 01:16:30 +00:00
2024-02-28 20:15:56 -08:00
2021-01-26 21:06:16 -05:00
2018-04-25 16:54:50 -04:00
2025-01-18 18:04:09 -08:00
2021-09-18 19:51:04 -04:00
2021-01-26 21:06:16 -05:00
2025-10-05 22:10:34 -04:00
2021-01-26 21:06:16 -05:00
2024-10-04 12:34:09 -04:00
2022-03-13 11:06:45 -04:00