Re: [Warzone-dev] Event based mainloop

2007-05-17 Thread Dennis Schridde
Am Donnerstag, 17. Mai 2007 schrieb [EMAIL PROTECTED]: Posted by Dennis Schridde on May 16, 2007 - 20:45: Am Mittwoch, 16. Mai 2007 schrieb Jose Ivey: I wonder if this change is the reason background applications like diskkeeper now cause stuttering/framerate issues in WZ? If that patch

Re: [Warzone-dev] Event based mainloop

2007-05-16 Thread Dennis Schridde
Am Mittwoch, 16. Mai 2007 schrieb Jose Ivey: Well, this message was there to keep the timers from filling the event queue faster than it can empty it. Which would happen if the machine constantly needs more time than given between timer-ticks. But if background apps constantly consume

Re: [Warzone-dev] Event based mainloop

2007-05-16 Thread vs2k5
Posted by Dennis Schridde on May 16, 2007 - 20:45: Am Mittwoch, 16. Mai 2007 schrieb Jose Ivey: I wonder if this change is the reason background applications like diskkeeper now cause stuttering/framerate issues in WZ? If that patch creates problems for you, don't use it. It's as simple as that.

Re: [Warzone-dev] Event based mainloop

2007-05-13 Thread The Watermelon
On 5/12/07, Dennis Schridde [EMAIL PROTECTED] wrote: Am Sonntag, 13. Mai 2007 schrieb Dennis Schridde: Small update, now in sync with r1265. Also hardcoded the FPS again. This time to 25 FPS / 40ms. Anything below 200FPS / 10ms is strongly not recommended. (The game will not react anymore.)

Re: [Warzone-dev] Event based mainloop

2007-05-13 Thread vs2k5
On Sat, 12 May 2007 19:57:31 -0400 Dennis Schridde [EMAIL PROTECTED] wrote: Small update, now in sync with r1265. Also hardcoded the FPS again. This time to 25 FPS / 40ms. Anything below 200FPS / 10ms is strongly not recommended. (The game will not react anymore.) --Dennis You say

[Warzone-dev] Event based mainloop

2007-05-12 Thread Dennis Schridde
Surprise, surprise... Here comes the final patch for the event based mainloop. Campaign seems a bit broken... Please leave your comments. --Dennis signature.asc Description: This is a digitally signed message part. ___ Warzone-dev mailing list

Re: [Warzone-dev] Event based mainloop

2007-05-12 Thread Dennis Schridde
Index: src/main.c === --- src/main.c (revision 1264) +++ src/main.c (working copy) @@ -77,6 +77,10 @@ # define WZ_WRITEDIR .warzone2100 #endif + +typedef enum { RUN_GRAPHICS, RUN_GAMELOOP, RUN_TITLELOOP, RUN_VIDEOLOOP }

Re: [Warzone-dev] Event based mainloop

2007-05-12 Thread vs2k5
On Sat, 12 May 2007 18:00:55 -0400 Dennis Schridde [EMAIL PROTECTED] wrote: Surprise, surprise... Here comes the final patch for the event based mainloop. Campaign seems a bit broken... Please leave your comments. --Dennis What broken in campaign mode after this patch?

Re: [Warzone-dev] Event based mainloop

2007-05-12 Thread Jose Ivey
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Schridde Sent: Saturday, May 12, 2007 6:42 PM To: Development list Subject: Re: [Warzone-dev] Event based mainloop Am Sonntag, 13. Mai 2007 schrieb [EMAIL PROTECTED]: On Sat, 12 May 2007 18

Re: [Warzone-dev] Event based mainloop

2007-05-12 Thread Jose Ivey
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Schridde Sent: Saturday, May 12, 2007 6:42 PM To: Development list Subject: Re: [Warzone-dev] Event based mainloop Am Sonntag, 13. Mai 2007 schrieb [EMAIL PROTECTED]: On Sat, 12 May 2007 18

Re: [Warzone-dev] Event based mainloop

2007-05-12 Thread Jose Ivey
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Schridde Sent: Saturday, May 12, 2007 6:42 PM To: Development list Subject: Re: [Warzone-dev] Event based mainloop Am Sonntag, 13. Mai 2007 schrieb [EMAIL PROTECTED]: On Sat, 12 May 2007 18

Re: [Warzone-dev] Event based mainloop

2007-05-12 Thread Dennis Schridde
Small update, now in sync with r1265. Also hardcoded the FPS again. This time to 25 FPS / 40ms. Anything below 200FPS / 10ms is strongly not recommended. (The game will not react anymore.) --Dennis Index: src/main.c === ---

Re: [Warzone-dev] Event based mainloop

2007-05-12 Thread Dennis Schridde
Am Sonntag, 13. Mai 2007 schrieb Dennis Schridde: Small update, now in sync with r1265. Also hardcoded the FPS again. This time to 25 FPS / 40ms. Anything below 200FPS / 10ms is strongly not recommended. (The game will not react anymore.) BTW: This means that the gameloop would need to check