Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing parserm.h

StartTimer (lines 4074-4084)

4074  [ StartTimer obj timer i;
4075     for (i=0:i<active_timers:i++)
4076         if (the_timers-->i==obj) rfalse;
4077     for (i=0:i<active_timers:i++)
4078         if (the_timers-->i==0) jump FoundTSlot;
4079     i=active_timers++;
4080     if (i >= MAX_TIMERS) { RunTimeError(4); return; }
4081     .FoundTSlot;
4082     if (obj.&time_left==0) { RunTimeError(5,obj); return; }
4083     the_timers-->i=obj; obj.time_left=timer;
4084  ];


Last updated 27 February 2004. This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation. Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.