Re: [Warzone-dev] Add back CPU delays?

2007-06-05 Thread Giel van Schijndel
Kamaze schreef: [EMAIL PROTECTED] schrieb: As is now, WZ eats all CPU time. Even when pause. Can we add the removed SDL_Delay() calls that were take out? Friends can no longer play on laptop very long because of this. This is release builds. Well, maybe make this configurable.

Re: [Warzone-dev] Code::Blocks project file?

2007-06-05 Thread Giel van Schijndel
Kamaze schreef: Someone has one for wz2100? Well, i use code::blocks for 2 years now and i would be happy if we could provide a C::B projectfile with warzone. For those which don't know C::B: www.codeblocks.org I once imported the MSVC projectfile into C::B and used that (after some

Re: [Warzone-dev] Add back CPU delays?

2007-06-05 Thread Dennis Schridde
Am Dienstag, 5. Juni 2007 schrieb Giel van Schijndel: Kamaze schreef: [EMAIL PROTECTED] schrieb: As is now, WZ eats all CPU time. Even when pause. Can we add the removed SDL_Delay() calls that were take out? Friends can no longer play on laptop very long because of this. This is

Re: [Warzone-dev] Add back CPU delays?

2007-06-05 Thread Giel van Schijndel
Dennis Schridde schreef: Actually there IS a delay, in main.c:701 mainLoop() As long as you don't set your framerate in the config to something insane, you should get enough delays. Yes, I know. As long as your PC can deliver the requested framerate there is no problem. If it can't

Re: [Warzone-dev] [Warzone-commits] r1463 - in /trunk: lib/framework/wzglobal.h lib/ivis_common/ivisdef.h tools/lobbyserver_cpp/src/lobby/game.hpp

2007-06-05 Thread Dennis Schridde
Am Dienstag, 5. Juni 2007 schrieb Giel van Schijndel: Author: muggenhor Date: Tue Jun 5 14:01:59 2007 New Revision: 1463 URL: http://svn.gna.org/viewcvs/warzone?rev=1463view=rev Log: * Replace usage of uint8_t with char for C-strings; while (u)int8_t works perfectly nice for numbers it

Re: [Warzone-dev] Code::Blocks project file?

2007-06-05 Thread The Watermelon
On 6/4/07, Kamaze [EMAIL PROTECTED] wrote: Someone has one for wz2100? Well, i use code::blocks for 2 years now and i would be happy if we could provide a C::B projectfile with warzone. For those which don't know C::B: www.codeblocks.org - Kamaze I made one manually before,but I am too

Re: [Warzone-dev] [Warzone-commits] r1463 - in /trunk: lib/framework/wzglobal.h lib/ivis_common/ivisdef.h tools/lobbyserver_cpp/src/lobby/game.hpp

2007-06-05 Thread Dennis Schridde
Am Dienstag, 5. Juni 2007 schrieb Per Inge Mathisen: On 6/5/07, Dennis Schridde [EMAIL PROTECTED] wrote: TPageFiles is read from a file, so it should have a guaranteed size. Whether uint8_t looks nice or not is not up to discussion, I think. It contains exactly 8 bit and that is exactly

Re: [Warzone-dev] [Warzone-commits] r1463 - in /trunk: lib/framework/wzglobal.h lib/ivis_common/ivisdef.h tools/lobbyserver_cpp/src/lobby/game.hpp

2007-06-05 Thread Dennis Schridde
Am Dienstag, 5. Juni 2007 schrieb Per Inge Mathisen: On 6/5/07, Dennis Schridde [EMAIL PROTECTED] wrote: TPageFiles is read from a file, so it should have a guaranteed size. Whether uint8_t looks nice or not is not up to discussion, I think. It contains exactly 8 bit and that is exactly

Re: [Warzone-dev] [Warzone-commits] r1463 - in /trunk: lib/framework/wzglobal.h lib/ivis_common/ivisdef.h tools/lobbyserver_cpp/src/lobby/game.hpp

2007-06-05 Thread Per Inge Mathisen
On 6/5/07, Dennis Schridde [EMAIL PROTECTED] wrote: Did someone say something about consistency? So CHAR it is, then? ;-) - Per ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev

Re: [Warzone-dev] [Warzone-commits] r1463 - in /trunk: lib/framework/wzglobal.h lib/ivis_common/ivisdef.h tools/lobbyserver_cpp/src/lobby/game.hpp

2007-06-05 Thread Dennis Schridde
Am Dienstag, 5. Juni 2007 schrieb Per Inge Mathisen: On 6/5/07, Dennis Schridde [EMAIL PROTECTED] wrote: Did someone say something about consistency? So CHAR it is, then? ;-) If there are lots of CHARs left, maybe if you so desire... But please define it to uint8_t, then. And use char where

Re: [Warzone-dev] Add back CPU delays?

2007-06-05 Thread Dennis Schridde
Am Dienstag, 5. Juni 2007 schrieb [EMAIL PROTECTED]: On Tue, 05 Jun 2007 14:26:04 -0400 Dennis Schridde [EMAIL PROTECTED] wrote: Am Dienstag, 5. Juni 2007 schrieb [EMAIL PROTECTED]: But if you wish so, you can add (exactly one and exactly there) a SDL_Delay(1); right after or before

Re: [Warzone-dev] Add back CPU delays?

2007-06-05 Thread Dennis Schridde
Am Dienstag, 5. Juni 2007 schrieb Dennis Schridde: Am Dienstag, 5. Juni 2007 schrieb [EMAIL PROTECTED]: On Tue, 05 Jun 2007 14:26:04 -0400 Dennis Schridde [EMAIL PROTECTED] wrote: Am Dienstag, 5. Juni 2007 schrieb [EMAIL PROTECTED]: But if you wish so, you can add (exactly one and

Re: [Warzone-dev] [Warzone-commits] r1463 - in /trunk: lib/framework/wzglobal.h lib/ivis_common/ivisdef.h tools/lobbyserver_cpp/src/lobby/game.hpp

2007-06-05 Thread Per Inge Mathisen
On 6/5/07, Dennis Schridde [EMAIL PROTECTED] wrote: So CHAR it is, then? ;-) If there are lots of CHARs left, maybe if you so desire... But please define it to uint8_t, then. And use char where you don't need that limitation. There never was a CHAR type. That was a joke... Warzone

Re: [Warzone-dev] [Warzone-commits] r1463 - in /trunk: lib/framework/wzglobal.h lib/ivis_common/ivisdef.h tools/lobbyserver_cpp/src/lobby/game.hpp

2007-06-05 Thread Dennis Schridde
Am Dienstag, 5. Juni 2007 schrieb [EMAIL PROTECTED]: On Tue, 05 Jun 2007 14:30:49 -0400 Dennis Schridde [EMAIL PROTECTED] wrote: Am Dienstag, 5. Juni 2007 schrieb Per Inge Mathisen: On 6/5/07, Dennis Schridde [EMAIL PROTECTED] wrote: Did someone say something about consistency? So

[Warzone-dev] Patch for .vcproj file broke in 1462

2007-06-05 Thread vs2k5
Index: Warzone2100.vcproj === --- Warzone2100.vcproj (revision 1467) +++ Warzone2100.vcproj (working copy) @@ -223,7 +223,6 @@ RelativePath=..\lib\framework\frameresource.c

Re: [Warzone-dev] Add back CPU delays? +patch?

2007-06-05 Thread Dennis Schridde
Am Dienstag, 5. Juni 2007 schrieb [EMAIL PROTECTED]: On Tue, 05 Jun 2007 14:51:36 -0400 Dennis Schridde [EMAIL PROTECTED] wrote: I say the delay in menu code. Hit esc, game is pause, it should not eat up same CPU cycles as when play game right? The solution for this would be the

Re: [Warzone-dev] [Warzone-commits] r1463 - in /trunk: lib/framework/wzglobal.h lib/ivis_common/ivisdef.h tools/lobbyserver_cpp/src/lobby/game.hpp

2007-06-05 Thread Giel van Schijndel
Per Inge Mathisen schreef: and system/C library calls ask for char, not UBYTE. Nor do they ask for a uint8_t or int8_t, which is the reason I've switched that piece of code back to using char. Plus the fact that when using string functions on (u)int8_t my compiler simply errors out when

Re: [Warzone-dev] Add back CPU delays? +patch?

2007-06-05 Thread Giel van Schijndel
[EMAIL PROTECTED] schreef: Hmm. I like easy approach, which would be, as before. When paused, game loops through this over and over, so it is one big busy loop. So you still need a delay to fix. Why go make complex code, when add 1 call fix issue? This only hits when user paused. The point

Re: [Warzone-dev] Add back CPU delays? +patch?

2007-06-05 Thread vs2k5
On Tue, 05 Jun 2007 18:21:43 -0400 Giel van Schijndel [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] schreef: Hmm. I like easy approach, which would be, as before. When paused, game loops through this over and over, so it is one big busy loop. So you still need a delay to fix. Why go make

Re: [Warzone-dev] [Warzone-commits] r1463 - in /trunk: lib/framework/wzglobal.h lib/ivis_common/ivisdef.h tools/lobbyserver_cpp/src/lobby/game.hpp

2007-06-05 Thread Giel van Schijndel
[EMAIL PROTECTED] schreef: Speak of char, what about unicode? Will this be added/change ? You need 16bit for unicode char. This is a common misconception. Unicode is nothing more than a huge set of characters. Unicode basically only assigns a number to every character (glyph really) it

[Warzone-dev] [bug #9278] droid.c:1063: droidUpdate: Assertion `psDroid-listSize 10' failed.

2007-06-05 Thread M. Bossert
URL: http://gna.org/bugs/?9278 Summary: droid.c:1063: droidUpdate: Assertion `psDroid-listSize 10' failed. Project: Warzone Resurrection Project Submitted by: tomboy64 Submitted on: Dienstag 05.06.2007 um 23:19

Re: [Warzone-dev] Add back CPU delays? +patch?

2007-06-05 Thread Dennis Schridde
Am Mittwoch, 6. Juni 2007 schrieb [EMAIL PROTECTED]: On Tue, 05 Jun 2007 18:21:43 -0400 Giel van Schijndel [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] schreef: Hmm. I like easy approach, which would be, as before. When paused, game loops through this over and over, so it is one big

Re: [Warzone-dev] [Warzone-commits] r1463 - in /trunk : lib/framework/wzglobal.h lib/ivis_common/ivisdef.h tools/lobbyserver_cpp/src/lobby/game.hpp

2007-06-05 Thread Dennis Schridde
Am Dienstag, 5. Juni 2007 schrieb Giel van Schijndel: Per Inge Mathisen schreef: and system/C library calls ask for char, not UBYTE. Nor do they ask for a uint8_t or int8_t, which is the reason I've switched that piece of code back to using char. Plus the fact that when using string

Re: [Warzone-dev] Add back CPU delays? +patch?

2007-06-05 Thread vs2k5
On Tue, 05 Jun 2007 19:50:04 -0400 Giel van Schijndel [EMAIL PROTECTED] wrote: So the one and only SDL_delay call will never have ANY effect on 2nd loop. This really is the most important info you've given by now. This explains where the problem is, know if only we knew what you mean

[Warzone-dev] [bug #9279] segfault aud.c, break on line 70 r1469

2007-06-05 Thread Jose Ivey
URL: http://gna.org/bugs/?9279 Summary: segfault aud.c, break on line 70 r1469 Project: Warzone Resurrection Project Submitted by: urbanvoyeur Submitted on: Wednesday 06/06/2007 at 01:49 Category: Engine: Sound

[Warzone-dev] [bug #9280] asserts blocking campaign

2007-06-05 Thread M. Bossert
URL: http://gna.org/bugs/?9280 Summary: asserts blocking campaign Project: Warzone Resurrection Project Submitted by: tomboy64 Submitted on: Mittwoch 06.06.2007 um 02:32 Category: Campaign Severity: 2 -