Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: Introduction and Patch Approval Process
Home

[Freeciv-Dev] Re: Introduction and Patch Approval Process

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc:
Subject: [Freeciv-Dev] Re: Introduction and Patch Approval Process
From: col@xxxxxxxxx
Date: Fri, 17 Aug 2001 08:22:25 +0200

"Per I. Mathisen" <Per.Inge.Mathisen@xxxxxxxxxxx> wrote ..
> On Thu, 16 Aug 2001 col@xxxxxxxxx wrote:
> > ahem... I think that the most developpers thought not easy enough as
> > getting sound output is the easiest thing to integrate due having such
> > programs as "play" which is nearly available for every platform.
> 
> Ok, as one of the people developing sound support way back then, let me
> tell you what I was thinking (although I recommend going back to read the
> mail archives from that period):
> 
>  - the server should be in command of sound

That would only cause some traffic

>  - client and server should negotiate which sound to play

There is no reason to do so

>  - the server sends a generic signal of what type of sound it wants

don't spam the net

>  - the client interprets this signal according to the local sound library

ok, but we can do the whole thing by interpreting the events. we will play 
sounds to an event.

> Why make it so complex? Because of modpacks. I have only briefly skimmed
> your patch, but it looks likes it hardcodes current freeciv rules. Not a
> good thing, although it might be a worthwhile start, perhaps.

It is only a start and I will have a look how to integrate modpacks. But we 
will not do it this way because playing sound is more like the GUI with 
different tilesets so it has nothing to do with the server
 
> Another problem is that the server does not send sufficient information to
> the client to allow it to play the sounds it should (for wonders and
> such). So eventually we started looking at cutting down on the verbosity
> of the client-server communication, and putting all the server
> generated text strings in the client. This would also fix the issue
> where the server has a different locale (language) than the client. Again,
> please consult the mail archives for the (lenghty) discussion on this
> topic.

No need for that.
 
> All this is from the top of my head, and I haven't looked at the freeciv
> code in more than a year, so I might be wrong about a thing or two, but I
> hope it helps more than it confuses... ;)

Hmm... I have a plan how to integrate modpacks into my sound output system a 
more easy way...

> I will try to dig out the patches I made, and send them to you. But it is
> huge amount of work that remains, if you wish to go that way.

Please until my patches have found their way into CVS because the you now have 
aren't really the latest...


CU,
David

[Prev in Thread] Current Thread [Next in Thread]