From: beergod Newsgroups: comp.os.msdos.djgpp Subject: Re: need to use the timer Date: Tue, 16 Feb 1999 02:05:07 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 30 Message-ID: <7aajof$jnv$1@nnrp1.dejanews.com> References: <8D53104ECD0CD211AF4000A0C9D60AE3535851 AT probe-2 DOT acclaim-euro DOT net> NNTP-Posting-Host: 209.14.48.210 X-Article-Creation-Date: Tue Feb 16 02:05:07 1999 GMT X-Http-User-Agent: Mozilla/4.5 [en] (Win95; U) X-Http-Proxy: 1.0 x7.dejanews.com:80 (Squid/1.1.22) for client 209.14.48.210 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > It's difficult to say anything very useful when you are so vague about > exactly what you are trying to do. Have you read the docs about the > timer functions? Have you looked at the example programs? (eg. ex7.c). > Have you considered that perhaps you could use a libc routine like > clock(), and might not need the Allegro code at all? (look up > "info libc func time"). > > Please try to be a bit more descriptive about exactly what you have > tried, what doesn't work, and which things you don't understand: > then we will know enough to say something useful in response. > > Shawn Hargreaves. well i am writing a game, a tomagotchi-like game.... and i need to test when it;s time to crap... i was planing to do this by getting the time when he eats... and store it in a varable... then i was go to check the time at the begaining of the main loop... if > then a certain value then it would run the crap routine... i hope that this will help u in asisting me. thanks jason masonjoyers AT hotamil DOT com "You may exerience slight discomfort or wooziness as your heart and pulsing viscera are torn out through your ribcage." - Dr. Curien -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own