[codename-alex-dev-commits] src subs.txt,1.5,1.6
Brought to you by:
scriptfellow,
wza
|
From: <wz...@us...> - 2003-03-05 00:34:11
|
Update of /cvsroot/codename-alex/src In directory sc8-pr-cvs1:/tmp/cvs-serv9791/src Modified Files: subs.txt Log Message: Index: subs.txt =================================================================== RCS file: /cvsroot/codename-alex/src/subs.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** subs.txt 30 Jan 2003 15:00:34 -0000 1.5 --- subs.txt 5 Mar 2003 00:34:07 -0000 1.6 *************** *** 25,29 **** ; Original idea & contributor: ScriptFellow ;----------------------------------------------------------- ! ; Contributors: LordSiD, Rain Dog, Roadkill, Smertrios, WarLocke ;=========================================================== --- 25,30 ---- ; Original idea & contributor: ScriptFellow ;----------------------------------------------------------- ! ; Contributors: Cheffe, LordSiD, Rain Dog, Roadkill, Rolo, ! ; Smertrios, WarLocke [...1383 lines suppressed...] + } + return + ;----------------------------------------------------------- + ; Name: timerGet + ; Parameters: %1 = index of timer to read + ; Return: %result is the value of timer %1 in seconds + ; %result2 is the value of timer %1 in 10th of seconds + ;----------------------------------------------------------- + sub timerGet + set %result2 #sCnt2 - %_timer . %1 + set %result %result2 / 10 + return + ;----------------------------------------------------------- + ; Name: timerSet + ; Parameters: %1 = index of timer to write + ; %2 = number of seconds to set back + ;----------------------------------------------------------- + sub timerSet + set %_timer . %1 #sCnt2 - ( %2 * 10 ) return |