Glulx Status Window Control

version 1/100630 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Replacement of library's Restart routine

    [Closes the status window so that it will not be automatically reconfigured to the library defaults on restart]

    Include (-

    [ RESTART_THE_GAME_R;
        if (actor ~= player) rfalse;
        GL__M(##Restart, 1);
        if (YesOrNo() ~= 0) {
            if (gg_statuswin) glk_window_close(gg_statuswin, 0);
            @restart;
            GL__M(##Restart, 2);
        }
    ];

    -) instead of "Restart The Game Rule" in "Glulx.i6t".