i decided to rewrite my "snake" game into a DD program. i also want to use direct input. i already managed it to initialise everything, load bitmaps and put them on the screen. the only thing that doesn't work, is the input stuff. i implemented a procedure that reads the keyboard and draws a bitmap on pressing escape. but that doesn't work, and i don't know why. i'm a 100% sure that the drawing procedure for the bitmap is ok.


Posted on 2001-12-15 16:31:10 by NOP-erator
think you forgot to set app_flag to 1 somewhere in the program

cmp app_flag,1
jne _nonactive
the peekmessage loop never gets executed.
Posted on 2001-12-15 21:00:08 by grv575
ok, thanks, that was the problem....... :alright:

Posted on 2001-12-16 03:20:36 by NOP-erator