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: nikodimka <nikodimka@xxxxxxxxx>
Cc: 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: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 17 Jul 2004 10:32:42 -0500

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.

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

-mike


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