Basic Real Time

version 2 by Sarah Morayati

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 1 - Variable Definitions

    Include (-
    Global timer_finished = 0;
    Global time_total = 0;
    Global time_elapsed = 0;
    Constant TIME_FREQUENCY = 50;
    Constant TIME_SCALAR = 1000/TIME_FREQUENCY;
    ! Scales the Glulx timer tick to 1 second. Tested on my machine,
    ! but it can be changed if necessary. Note that the Windows
    ! IDE will be somewhat slower; these are calibrated for the
    ! released file. -)
    after "Definitions.i6t".