Mail Archives: djgpp/2000/12/04/13:00:23
"Jason Hood" <adoxa AT postmark DOT net> wrote in message
news:3A2BBE02 DOT 238A3DA7 AT postmark DOT net...
>
>
> Graham Reeds wrote:
> [snip]
> > gotoxy(0,0); /* reposition cursor */
>
> Try using (1,1) and see what happens. Works fine for me, but (0,0) didn't
> output anything at all.
>
> BTW, the character output function is putch(), not cputc().
>
> Jason.
Thanks, it's now working - after a fashion: Any way of getting the output
less juddery? I was using the vertical sync but friends with GeForces can't
run it since the vertical sync is simulated and so the game goes at full
pelt - a PIII-800 the game is over before it's began. Any ideas? I only
want a non-complex way of doing it: Eventually this will be converted over
to DX and I'll probably use QueryPerformanceCounters() for the task. My
initial thoughts is to use uclock() to time how long it takes to get a frame
done and then wait till a set time is done. However that could get nasty
with lots of key presses, and probably look 'unprofessional'.
Thanks for everyone's help, btw.
--
Stay Lucky, Graham "Mournblade" Reeds.
ICQ No.: 30514803
http://homepage.dtn.ntl.com/grahamr
- Raw text -