Re: [Warzone-dev] Using OBJ (wavefront) for moddeling data.

2007-05-20 Thread The Watermelon
On 5/19/07, Dennis Schridde [EMAIL PROTECTED] wrote: Am Samstag, 19. Mai 2007 schrieb The Watermelon: this patch is by no means working properly,but with these 2 things fixed it should be usable: 1.Change terrain vertices back to int/change float multiplication/division to shift or use new

Re: [Warzone-dev] Using OBJ (wavefront) for moddeling data.

2007-05-20 Thread Per Inge Mathisen
On 5/19/07, Kamaze [EMAIL PROTECTED] wrote: I would be suprised if you find a common file format which supports connectors. Common or not, Quake III's MD3 file format supports connectors. It also supports animations, which we also need. However, like most formats, it stores triangles, instead

Re: [Warzone-dev] [Warzone-commits] r1305 - in /trunk/lib: netplay/netplay.c sound/cdaudio.c

2007-05-20 Thread Giel van Schijndel
Stefan Huehner schreef: Author: shuehner Date: Sun May 20 15:51:53 2007 New Revision: 1305 URL: http://svn.gna.org/viewcvs/warzone?rev=1305view=rev Log: 2 small fixes in function declarations : () - (void) Modified: trunk/lib/netplay/netplay.c trunk/lib/sound/cdaudio.c

Re: [Warzone-dev] [Warzone-commits] r1305 - in /trunk/lib: netplay/netplay.c sound/cdaudio.c

2007-05-20 Thread Stefan Huehner
On Sun, May 20, 2007 at 04:01:27PM +0200, Giel van Schijndel wrote: Stefan Huehner schreef: Author: shuehner Date: Sun May 20 15:51:53 2007 New Revision: 1305 URL: http://svn.gna.org/viewcvs/warzone?rev=1305view=rev Log: 2 small fixes in function declarations : () - (void)

[Warzone-dev] SVN trunk broken

2007-05-20 Thread Per Inge Mathisen
Whenever I approach an enemy oil rig in a skrimish, the game asserts for me with most recent svn trunk, no local modifications: error : gridStartIterate: coords off grid error : Assert in Warzone: mapgrid.c:276 : gridStartIterate ((x = 0) (x gridWidth*GRID_UNITS) (y = 0) (y

Re: [Warzone-dev] SVN trunk broken

2007-05-20 Thread Per Inge Mathisen
On 5/20/07, Per Inge Mathisen [EMAIL PROTECTED] wrote: Whenever I approach an enemy oil rig in a skrimish, the game asserts for me with most recent svn trunk, no local modifications: I should add, it asserts when I approach an enemy oil rig with a combat unit. It works in revision 1295. So it

Re: [Warzone-dev] [Warzone-commits] r1305 - in /trunk/lib: netplay/netplay.c sound/cdaudio.c

2007-05-20 Thread Giel van Schijndel
Stefan Huehner schreef: On Sun, May 20, 2007 at 04:01:27PM +0200, Giel van Schijndel wrote: Stefan Huehner schreef: Author: shuehner Date: Sun May 20 15:51:53 2007 New Revision: 1305 URL: http://svn.gna.org/viewcvs/warzone?rev=1305view=rev Log: 2 small fixes in function

Re: [Warzone-dev] SVN trunk broken

2007-05-20 Thread Giel van Schijndel
Per Inge Mathisen schreef: On 5/20/07, Per Inge Mathisen [EMAIL PROTECTED] wrote: Whenever I approach an enemy oil rig in a skrimish, the game asserts for me with most recent svn trunk, no local modifications: I should add, it asserts when I approach an enemy oil rig with a combat

[Warzone-dev] Suggestion for Profiling.

2007-05-20 Thread Kamaze
Just found this: http://silverspaceship.com/src/iprof/ Maybe someone find this usefull. I read that it isn't ported to other plattforms yet, but here a quote from the readme: ### PLATFORM SUPPORT IProf requires a small amount--less than fifty lines--ofplatform-specific

[Warzone-dev] code formatting

2007-05-20 Thread Giel van Schijndel
Looking at various pieces of code I'm getting quite annoyed, seeing that quite often in the same file (or even in the same function for that matter) uses of tabs and spaces are being mixed up for the purpose of indentation. Therefore I propose we do a one time run over the codebase with a a code

[Warzone-dev] hack to prevent transporters being blown up

2007-05-20 Thread Giel van Schijndel
Some people have reported problems when their transport got stuck that they couldn't blow it up. (E.g. http://wz2100.net/forum/index.php?topic=606.0 ) This is most certainly the direct result from a so called hack to prevent Transporter's being blown up in droid.c (just for that exact string,

Re: [Warzone-dev] code formatting

2007-05-20 Thread Per Inge Mathisen
On 5/20/07, Giel van Schijndel [EMAIL PROTECTED] wrote: Therefore I propose we do a one time run over the codebase with a a code formatter. You realize that this will screw up svn blame, right? It is an invaluable bug hunting tool, and am I still annoyed with myself that I did not work harder

Re: [Warzone-dev] [Warzone-commits] r1310 - in /trunk/src: droid.c structure.c

2007-05-20 Thread Dennis Schridde
Am Sonntag, 20. Mai 2007 schrieb Giel van Schijndel: Author: muggenhor Date: Sun May 20 18:37:11 2007 New Revision: 1310 URL: http://svn.gna.org/viewcvs/warzone?rev=1310view=rev Log: * remove debug macro TEST_EW (EW as in something dirty perhaps?) Reading the comment just above #define

Re: [Warzone-dev] SVN trunk broken

2007-05-20 Thread Dennis Schridde
Am Sonntag, 20. Mai 2007 schrieb Per Inge Mathisen: On 5/20/07, Per Inge Mathisen [EMAIL PROTECTED] wrote: Whenever I approach an enemy oil rig in a skrimish, the game asserts for me with most recent svn trunk, no local modifications: I should add, it asserts when I approach an enemy oil

Re: [Warzone-dev] hack to prevent transporters being blown up

2007-05-20 Thread Dennis Schridde
Am Sonntag, 20. Mai 2007 schrieb Giel van Schijndel: Some people have reported problems when their transport got stuck that they couldn't blow it up. (E.g. http://wz2100.net/forum/index.php?topic=606.0 ) This is most certainly the direct result from a so called hack to prevent Transporter's

Re: [Warzone-dev] [Warzone-commits] r1310 - in /trunk/src: droid.c structure.c

2007-05-20 Thread Roman
Am Sonntag, 20. Mai 2007 schrieb Giel van Schijndel: Author: muggenhor Date: Sun May 20 18:37:11 2007 New Revision: 1310 URL: http://svn.gna.org/viewcvs/warzone?rev=1310view=rev Log: * remove debug macro TEST_EW (EW as in something dirty perhaps?) Reading the comment just above #define

Re: [Warzone-dev] [Warzone-commits] r1310 - in /trunk/src: droid.c structure.c

2007-05-20 Thread Dennis Schridde
Am Sonntag, 20. Mai 2007 schrieb Roman: Am Sonntag, 20. Mai 2007 schrieb Giel van Schijndel: Author: muggenhor Date: Sun May 20 18:37:11 2007 New Revision: 1310 URL: http://svn.gna.org/viewcvs/warzone?rev=1310view=rev Log: * remove debug macro TEST_EW (EW as in something dirty

Re: [Warzone-dev] [Warzone-commits] r1310 - in /trunk/src: droid.c structure.c

2007-05-20 Thread Roman
Am Sonntag, 20. Mai 2007 schrieb Roman: Am Sonntag, 20. Mai 2007 schrieb Giel van Schijndel: Author: muggenhor Date: Sun May 20 18:37:11 2007 New Revision: 1310 URL: http://svn.gna.org/viewcvs/warzone?rev=1310view=rev Log: * remove debug macro TEST_EW (EW as in something dirty

Re: [Warzone-dev] SVN trunk broken

2007-05-20 Thread Per Inge Mathisen
On 5/20/07, Dennis Schridde [EMAIL PROTECTED] wrote: It must have been broken very very recently as while I was testing my commits I went into the enemy bases a few times and nothing happened. (I didn't do that for all commits though.) The problem arrived with revision 1303 as far as I can

Re: [Warzone-dev] SVN trunk broken

2007-05-20 Thread Dennis Schridde
Am Sonntag, 20. Mai 2007 schrieb Per Inge Mathisen: On 5/20/07, Dennis Schridde [EMAIL PROTECTED] wrote: It must have been broken very very recently as while I was testing my commits I went into the enemy bases a few times and nothing happened. (I didn't do that for all commits though.)

Re: [Warzone-dev] SVN trunk broken

2007-05-20 Thread Per Inge Mathisen
Patch that fixes the problem. No idea why it works. But it seems to. - Per Index: src/structure.c === --- src/structure.c (revision 1311) +++ src/structure.c (working copy) @@ -5846,7 +5846,7 @@ barrel.z = 0; } -

Re: [Warzone-dev] SVN trunk broken

2007-05-20 Thread Per Inge Mathisen
On 5/20/07, Per Inge Mathisen [EMAIL PROTECTED] wrote: Patch that fixes the problem. No idea why it works. But it seems to. Shorter diff. Still seems to work fine. - Per Index: src/structure.c === --- src/structure.c (revision

Re: [Warzone-dev] hack to prevent transporters being blown up

2007-05-20 Thread vs2k5
On Sun, 20 May 2007 15:42:39 -0400 Dennis Schridde [EMAIL PROTECTED] wrote: Am Sonntag, 20. Mai 2007 schrieb Giel van Schijndel: Some people have reported problems when their transport got stuck that they couldn't blow it up. (E.g. http://wz2100.net/forum/index.php?topic=606.0 ) This is

Re: [Warzone-dev] code formatting

2007-05-20 Thread vs2k5
On Sun, 20 May 2007 15:04:12 -0400 Per Inge Mathisen [EMAIL PROTECTED] wrote: On 5/20/07, Giel van Schijndel [EMAIL PROTECTED] wrote: Therefore I propose we do a one time run over the codebase with a a code formatter. You realize that this will screw up svn blame, right? It is an invaluable