Re: [Warzone-dev] Current problems

2007-01-27 Thread Ari Johnson

On 1/27/07, Dennis Schridde [EMAIL PROTECTED] wrote:

Am Samstag, 27. Januar 2007 schrieb Ari Johnson:
 One thing that would help immensely right now would be to see the
 following screenshots taken on a PC (for my comparison and progress):
 1. The part of the UI where you set up a new multiplayer game
 2. In-game with the zoom all the way in
 3. In-game with the zoom all the way out

 #2 and #3 depend on the minimap being visible on your screenshot, of
 course.  Thanks to anyone who can help me out here!


Thanks.  I can see that there are some other colors I need to work on.
What I am having a hard time with is where exactly to do the color
twiddling.  Should I do it in the ivis code or in the warzone code?  I
am thinking the ivis code is the best place to do it, because that's
where most of the other twiddling (such as bit-shifting things into
color slots) seems to occur.  If anyone has a preference, let me know.
Otherwise I'll be doing it in the ivis code (unless that turns out to
be impossible to fix everything).

I also see that the minimap view window is kind of messed up on
Windows, too.  I have found some math tweaks that make it look a lot
nicer.  I will submit those as a patch here rather than committing to
subversion.  See the attachment.

Ari


minimap-viewport-fix.patch
Description: Binary data
___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] Current problems

2007-01-27 Thread Troman


- Original Message - 
From: Ari Johnson [EMAIL PROTECTED]

To: Development list warzone-dev@gna.org
Sent: Saturday, January 27, 2007 4:27 AM
Subject: Re: [Warzone-dev] Current problems



On 1/26/07, Christian Ohm [EMAIL PROTECTED] wrote:

On Friday, 26 January 2007 at 22:09, Ari Johnson wrote:
 1. I think that the minimap's display area indicator is supposed to be
 a yellow outline with a lighter yellow interior.  This is what gets
 drawn when I zoom all the way in, although it's drawn in kind of the
 wrong shape, as if it were just zoomed in until you went cross-eyed at
 it.
 2. When you zoom to regular levels, out enough to see more than a
 couple units at a time, it is drawn in the right shape but does not
 have a filled-in light yellow appearance, just the outline.

Actually it isn't yellow. There's a grey trapezoid indicating the field
of view. If you zoom in, the parallels are shortened, they overlap, and
the overlapping area is overlayed with a lighter gray, like the
selection box should be since r603. Since both are yellow in your case,
the two problems might be connected somehow.


That helps to know.  Thanks!

Anyhow, I fixed the crash in saving the game.  Loading the game
resulted in a different crash, which I also fixed, but then there was
another one:

7. The following error occurs when loading a saved game, at least in
campaign mode:
error:  eventSetContextVar: Variable type mismatch (1/0)
error:  Assert in Warzone: event.c:779 : eventSetContextVar
(FALSE), last script event: 'none'
event.c:779: failed assertion `(0)'


No clue about this one, do you know when this problem started? I see you 
fixed something related to loading/saving in r682, was it this problem that 
you fixed?


Troman


___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] Current problems

2007-01-27 Thread Ari Johnson

On 1/27/07, Troman [EMAIL PROTECTED] wrote:


- Original Message -
From: Ari Johnson [EMAIL PROTECTED]
To: Development list warzone-dev@gna.org
Sent: Saturday, January 27, 2007 4:27 AM
Subject: Re: [Warzone-dev] Current problems


 On 1/26/07, Christian Ohm [EMAIL PROTECTED] wrote:
 On Friday, 26 January 2007 at 22:09, Ari Johnson wrote:
  1. I think that the minimap's display area indicator is supposed to be
  a yellow outline with a lighter yellow interior.  This is what gets
  drawn when I zoom all the way in, although it's drawn in kind of the
  wrong shape, as if it were just zoomed in until you went cross-eyed at
  it.
  2. When you zoom to regular levels, out enough to see more than a
  couple units at a time, it is drawn in the right shape but does not
  have a filled-in light yellow appearance, just the outline.

 Actually it isn't yellow. There's a grey trapezoid indicating the field
 of view. If you zoom in, the parallels are shortened, they overlap, and
 the overlapping area is overlayed with a lighter gray, like the
 selection box should be since r603. Since both are yellow in your case,
 the two problems might be connected somehow.

 That helps to know.  Thanks!

 Anyhow, I fixed the crash in saving the game.  Loading the game
 resulted in a different crash, which I also fixed, but then there was
 another one:

 7. The following error occurs when loading a saved game, at least in
 campaign mode:
 error:  eventSetContextVar: Variable type mismatch (1/0)
 error:  Assert in Warzone: event.c:779 : eventSetContextVar
 (FALSE), last script event: 'none'
 event.c:779: failed assertion `(0)'

No clue about this one, do you know when this problem started? I see you
fixed something related to loading/saving in r682, was it this problem that
you fixed?


No - this came up after I made that fix.  I haven't traced back where
the two variables it is comparing come from.  I'm sure that following
them back to their sources will reveal why they aren't matching as
expected.

As to your response to #6, it seems to be kind of random but somehow
relates to what units I have selected at the time, I think.  The
problem is that when it happened this last time I was watching my
factory production and none of them was done producing a unit when it
crashed.  Otherwise I would say right away that it must be due to unit
production scripts.  Let me know what you find, if anything.

___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] Music playlists

2007-01-27 Thread Troman


- Original Message - 
From: Troman [EMAIL PROTECTED]

To: Troman [EMAIL PROTECTED]
Sent: Saturday, January 27, 2007 6:35 PM
Subject: tmp



Troman schreef:


- Original Message - From: Troman [EMAIL PROTECTED]
To: Troman [EMAIL PROTECTED]
Sent: Friday, January 26, 2007 10:44 PM
Subject: tmp2

Dennis Schridde schreef:

Am Donnerstag, 25. Januar 2007 18:38 schrieb Troman:

- Original Message -
From: Troman [EMAIL PROTECTED]
To: Troman [EMAIL PROTECTED]
Sent: Thursday, January 25, 2007 5:57 PM
Subject: temp


Wel the functions on their own look quite good to me.
Their prototypes however... Let's just say that I don't like the
idea of
passing pointers into the scripting engine.


Why not? That's the way most of the scripting stuff works right now.
Scripts currently work with a lot of pointers passed from WZ,
although from
the scriptor's point of view there's no difference between
integers/bools
or pointers to some internal wz structures.
Not that it really matters to me. If we just work with integer ids,
that
would mean we have less different types to define for scripts (I don't
really like the idea of flooding scripts with dozens of new types,
unless
really needed, but i'm not yet sure what would be optimal for us).


The fact that that's the currently employed technique hardly makes it be
good.

Not just because of that, it simply works well, I had no issues with
pointers whatsoever.

And indeed from the scripter there is no difference between a
regular integer or a pointer. Which makes it all the more dangerous to
pass pointers into scripts. This could easily result in a segfault
beyond our control.

The way it is now you can't do anything to a pointer but only access
it, bison would simply not compile script if you tried to manipulate a
pointer, there are no operations that pointers support. You can't even
set it to NULL using scripts, that makes pointers safe. What you can
do is pass it to some internal function for it to mess it up and
that's it. So that's not an issue.

Ah so if I understand it correctly the scripts can only use pointers for
API calls and only change their value through them?


Yes, exactly.


In that case it
wouldn't be as dangerous as I thought it was.

BTW why don't we just use forums for such discussions? This starts
to look
a bit awkward to me. Maybe we can ask Kamaze to set up some
protected area
for the developers and those participating in the mailinglist
discussion?
Personally i'd also be fine with a public forum, not sure if this
would
work well though.


I think most of us are going well with a mailinglist and prefer it
this way.
At least to me it's much simpler to fire up my mail client and watch
several
threaded discussions. Forums have that flat, time-related style
(lost the
words... Allready getting late. I mean they only have one direction,
you
can't split of a discussion as easily) which makes the inconvenient
IMO...


Yep, I'm one of them, I really do prefer an email client above a forum.


Well no forum then. It's just when replying you have to count those
'greater than' signs to find out who you are actually refering to and
when you have more than 10 that looks messy not to mention that all
text is cluttered.

Hmm, well, I could advise the Thunderbird thingy again. It turns those
''-signs into nice quote blocks for viewing purposes. Although I
thought MS outlook did the same.

--
Giel 



___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] Current problems

2007-01-27 Thread Troman


- Original Message - 
From: Ari Johnson [EMAIL PROTECTED]

To: Development list warzone-dev@gna.org
Sent: Saturday, January 27, 2007 6:37 PM
Subject: Re: [Warzone-dev] Current problems



On 1/27/07, Troman [EMAIL PROTECTED] wrote:


- Original Message -
From: Ari Johnson [EMAIL PROTECTED]
To: Development list warzone-dev@gna.org
Sent: Saturday, January 27, 2007 4:27 AM
Subject: Re: [Warzone-dev] Current problems


 On 1/26/07, Christian Ohm [EMAIL PROTECTED] wrote:
 On Friday, 26 January 2007 at 22:09, Ari Johnson wrote:
  1. I think that the minimap's display area indicator is supposed to 
  be

  a yellow outline with a lighter yellow interior.  This is what gets
  drawn when I zoom all the way in, although it's drawn in kind of the
  wrong shape, as if it were just zoomed in until you went cross-eyed 
  at

  it.
  2. When you zoom to regular levels, out enough to see more than a
  couple units at a time, it is drawn in the right shape but does not
  have a filled-in light yellow appearance, just the outline.

 Actually it isn't yellow. There's a grey trapezoid indicating the 
 field
 of view. If you zoom in, the parallels are shortened, they overlap, 
 and

 the overlapping area is overlayed with a lighter gray, like the
 selection box should be since r603. Since both are yellow in your 
 case,

 the two problems might be connected somehow.

 That helps to know.  Thanks!

 Anyhow, I fixed the crash in saving the game.  Loading the game
 resulted in a different crash, which I also fixed, but then there was
 another one:

 7. The following error occurs when loading a saved game, at least in
 campaign mode:
 error:  eventSetContextVar: Variable type mismatch (1/0)
 error:  Assert in Warzone: event.c:779 : eventSetContextVar
 (FALSE), last script event: 'none'
 event.c:779: failed assertion `(0)'

No clue about this one, do you know when this problem started? I see you
fixed something related to loading/saving in r682, was it this problem 
that

you fixed?


No - this came up after I made that fix.  I haven't traced back where
the two variables it is comparing come from.  I'm sure that following
them back to their sources will reveal why they aren't matching as
expected.

As to your response to #6, it seems to be kind of random but somehow
relates to what units I have selected at the time, I think.  The
problem is that when it happened this last time I was watching my
factory production and none of them was done producing a unit when it
crashed.  Otherwise I would say right away that it must be due to unit
production scripts.


I'm sure it is related to unit production somehow. Maybe it was AI that 
produced a unit.



Let me know what you find, if anything.


I will. 



___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] Current problems

2007-01-27 Thread Ari Johnson

On 1/27/07, Troman [EMAIL PROTECTED] wrote:


- Original Message -
From: Ari Johnson [EMAIL PROTECTED]
To: Development list warzone-dev@gna.org
Sent: Saturday, January 27, 2007 6:37 PM
Subject: Re: [Warzone-dev] Current problems


 On 1/27/07, Troman [EMAIL PROTECTED] wrote:

 - Original Message -
 From: Ari Johnson [EMAIL PROTECTED]
 To: Development list warzone-dev@gna.org
 Sent: Saturday, January 27, 2007 4:27 AM
 Subject: Re: [Warzone-dev] Current problems


  On 1/26/07, Christian Ohm [EMAIL PROTECTED] wrote:
  On Friday, 26 January 2007 at 22:09, Ari Johnson wrote:
   1. I think that the minimap's display area indicator is supposed to
   be
   a yellow outline with a lighter yellow interior.  This is what gets
   drawn when I zoom all the way in, although it's drawn in kind of the
   wrong shape, as if it were just zoomed in until you went cross-eyed
   at
   it.
   2. When you zoom to regular levels, out enough to see more than a
   couple units at a time, it is drawn in the right shape but does not
   have a filled-in light yellow appearance, just the outline.
 
  Actually it isn't yellow. There's a grey trapezoid indicating the
  field
  of view. If you zoom in, the parallels are shortened, they overlap,
  and
  the overlapping area is overlayed with a lighter gray, like the
  selection box should be since r603. Since both are yellow in your
  case,
  the two problems might be connected somehow.
 
  That helps to know.  Thanks!
 
  Anyhow, I fixed the crash in saving the game.  Loading the game
  resulted in a different crash, which I also fixed, but then there was
  another one:
 
  7. The following error occurs when loading a saved game, at least in
  campaign mode:
  error:  eventSetContextVar: Variable type mismatch (1/0)
  error:  Assert in Warzone: event.c:779 : eventSetContextVar
  (FALSE), last script event: 'none'
  event.c:779: failed assertion `(0)'

 No clue about this one, do you know when this problem started? I see you
 fixed something related to loading/saving in r682, was it this problem
 that
 you fixed?

 No - this came up after I made that fix.  I haven't traced back where
 the two variables it is comparing come from.  I'm sure that following
 them back to their sources will reveal why they aren't matching as
 expected.

 As to your response to #6, it seems to be kind of random but somehow
 relates to what units I have selected at the time, I think.  The
 problem is that when it happened this last time I was watching my
 factory production and none of them was done producing a unit when it
 crashed.  Otherwise I would say right away that it must be due to unit
 production scripts.

I'm sure it is related to unit production somehow. Maybe it was AI that
produced a unit.


I am sure I can get it to crash again.  Let me know if there is any
information from the GDB output that would help you.



 Let me know what you find, if anything.

I will.


___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev



___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


[Warzone-dev] Gamer's Hell puts up 2.0.5??

2007-01-27 Thread vs2k5


http://www.gamershell.com/news/35836.html

This version adds basic map editing ingame, beacons in multiplayer 
mode and some UI enhancements
Warzone 2010 is a 3D RTS game developed by Pumpkin Studios and 
published by Eidos Interactive in 1999 for both PC and PlayStation. 
A fan group called Pumpkin-2 managed to petition Eidos, the legal 
owner of the source, to make Warzone open-source. Now the game is 
being developed with lots of features added, such as increased 
multiplayer unit-limit, support for Glide, several compatibility 
fixes for Windows XP, and most recently, the introduction of static 
shadows.

We do not event support Glide.  That is old 3dfx api! 

Did someone submit this to them ?





Concerned about your privacy? Instantly send FREE secure email, no account 
required
http://www.hushmail.com/send?l=480

Get the best prices on SSL certificates from Hushmail
https://www.hushssl.com?l=485


___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev