[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]
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
[freeciv-ai] Re: puppeteer patches builded over versions that do not compile, nikodimka, 2004/07/17
|
|