Re: [Warzone-dev] improved doubleclick input.c patch

2007-04-19 Thread Giel van Schijndel
The Watermelon schreef: Anyways,attached the updated patch with the redundant checks removed and added comments: Looks better than the previous one, I'll look further at it when I'm back at home. One thing I noticed already though: @@ -116,12 +121,12 @@ for(i=0; iKEY_MAXSCAN; i++)

Re: [Warzone-dev] improved doubleclick input.c patch

2007-04-19 Thread Giel van Schijndel
Resending this mail, as it seems it never reached its destination (i.e. this mailinglist. The Watermelon schreef: Anyways,attached the updated patch with the redundant checks removed and added comments: Looks better than the previous one, I'll look further at it when I'm back at home. One

Re: [Warzone-dev] improved doubleclick input.c patch

2007-04-18 Thread Dennis Schridde
Am Mittwoch, 18. April 2007 schrieb The Watermelon: Anyways,attached the updated patch with the redundant checks removed and added comments: Question: Why do you zip a 10KB patch? signature.asc Description: This is a digitally signed message part.

Re: [Warzone-dev] improved doubleclick input.c patch

2007-04-18 Thread The Watermelon
On 4/18/07, Dennis Schridde [EMAIL PROTECTED] wrote: Am Mittwoch, 18. April 2007 schrieb The Watermelon: Anyways,attached the updated patch with the redundant checks removed and added comments: Question: Why do you zip a 10KB patch? to protect against potential corruption by email

Re: [Warzone-dev] improved doubleclick input.c patch

2007-04-17 Thread Dennis Schridde
Am Dienstag, 17. April 2007 schrieb The Watermelon: replaced the frame timer with SDL Ticks timer,and added a '#define DOUBLECLICK_TIME 300',so 2 singleclicks within 300ms(0.3 sec) will be detected as doubleclick event. Looks ok so far, even though the ifs get rather complex. Any objections?

Re: [Warzone-dev] improved doubleclick input.c patch

2007-04-17 Thread Giel van Schijndel
Dennis Schridde schreef: Am Dienstag, 17. April 2007 schrieb The Watermelon: replaced the frame timer with SDL Ticks timer,and added a '#define DOUBLECLICK_TIME 300',so 2 singleclicks within 300ms(0.3 sec) will be detected as doubleclick event. Looks ok so far, even though the ifs