The Dink Network

Reply to Re: Dink Smallwood v1.08 Beta 3

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
December 30th 2005, 11:10 AM
dinkdead.gif
millimeter
Peasant He/Him Canada
Millimeter is Wee-Lamm, Recording Artist. :-) 
I was wondering if you can add a function to the engine that would flush the keyboard buffer, or limit it to only a couple of entries?

I have seen posts about Alt-Tabbing back from windows and errant keystrokes are returned to the engine.

I also notice that when in a massive pillbug fight, you can stack 1 or 2 additional attacks while attack1 is in progress.

The result is:
Attack 1 finishes, Dink cannot move.
Attack 2 occurs, Dink still cannot move.
Attack 3 occurs, dink can now move but, movement keystrokes are not always left in the buffer.

My thinking is if we limit the buffer to 2 or 3 keystrokes, or flush it at appropriate times {perhaps fflush(stdin) in stdio}, then both of these issues might be resolved.

mm.