Command Prompt on Cue

version 3 by Ron Newcomb

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 2 - fix a bug when command prompt on cue is on during the very first turn

    When play begins (this is the initialize command prompt on cue rule):
        prepend the interrupting key to the player's command.

    To prepend the interrupting key to the player's command:
    (-
    #IFDEF TARGET_GLULX;
        LTI_Insert(4, interrupting_key);
    #IFNOT;
        LTI_Insert(2, interrupting_key);
    #ENDIF;
        VM_Tokenise(buffer, parse);
        players_command = 100 + WordCount();
    -).