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: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Cc: nikodimka <nikodimka@xxxxxxxxx>, Jason Dorje Short <jdorje@xxxxxxxxxxx>, Guillermo Lopez Alejos <100030179@xxxxxxxxxxxxxxx>, <freeciv-ai@xxxxxxxxxxx>
Subject: [freeciv-ai] Re: puppeteer patches builded over versions that do not compile
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Sun, 18 Jul 2004 01:06:22 +0100 (WET DST)

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.

> > 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





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