Grouped Messages As Dialogue

version 1 by Ron Newcomb

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 11 - Remove all "Before Printing a Library Message" routines (I6) - written by David Fisher - unindexed

    When play begins: init library messages. To init library messages: (- InitLibraryMessages(); -).

    Include (-
    Constant LibraryMessages = (+I7_LibraryMessages+);

    [ InitLibraryMessages n;

    #Ifndef TARGET_GLULX;
    if ((+I7_LibraryMessages+).&before)
    {
    ! get rid of any other "before" routines
    for (n = 0 : n < (+I7_LibraryMessages+).#before / WORDSIZE : n++)
    {
    if ((+I7_LibraryMessages+).&before --> n ~= LibraryMessagesBefore)
    (+I7_LibraryMessages+).&before --> n = nothing;
    }
    }
    #Endif; ! TARGET_GLULX
    ];
    -) before the library.