Complete.Org: Mailing Lists: Archives: freeciv-ai: July 2004:
[freeciv-ai] Re: puppeteer patches builded over versions that do not com
Home

[freeciv-ai] Re: puppeteer patches builded over versions that do not com

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: puppeteer patches builded over versions that do not compile
From: nikodimka <nikodimka@xxxxxxxxx>
Date: Sun, 18 Jul 2004 05:23:01 -0700 (PDT)

--- Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx> wrote:
> On Sat, 17 Jul 2004, Mike Kaufman wrote:
> 
> > On Sat, Jul 17, 2004 at 05:42:13AM -0700, nikodimka wrote:
> >
> > > Essentially there is nothing inherent in puppeteer which would
> > > tie it to gtk. Except for the following things.
> > >
> > > 1)
> > > The puppeteer uses some socket code. Such code is different among clients.
> > >
> > > If I would just use unix soket API I wouldnt be sure the it would compile
> > > on windows, shmindows et al. But this required me to become platform 
> > > dependant in
> > > just higher level. Because sdl, gtk etc use different socket related 
> > > mechanizms.
> >
> > this client should not depend on any gui libraries. Use the unix socket
> > API. It can be #ifdefed with the windows socket code later.
> 
> netintf.h has a UNIX/Win32 compatible network layer.

Why then the gui clients do use their toolkits' means of dealing with sockets?
And not just  

> 
> > > 2)
> > > I wanted to put unit ID to canvas under each unit as it is done
> > > for names under each city.
> > >
> > > Right when I'll get some free night this gtk-related part
> > > will be polished a bit and submitted as a separate patch to gtk-client.
> >
> > yeah this is definitely a separate patch.
> 
> ---
> Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
> 
> 
> 
> 
> 



                
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/



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