[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]
--- Jason Dorje Short <jdorje@xxxxxxxxxxx> wrote:
> Guillermo Lopez Alejos wrote:
>
> >>To compile with e.g. Feb-27 patch you better
> >>take the Feb-27 CVS snapshot. not the current CVS.
> >>
> >>I need to update the patch so that it would
> >>compile with the current CVS.
> >
> >
> > Yes, I've seen that I can't patch the current versión. Anyway I've not
> > been able to compile the patched Feb-27 CVS snapshot. I'm using Debian
> > SID and I think the only client I can compile is the GTK 2.0, and
> > puppeteer is GTK dependant.
>
> I use debian unstable and can compile and run all clients except
> gui-mui. (Of course gui-sdl doesn't compile at all.)
>
> Why is puppeteer written as an add-on to gui-gtk rather than as its own
> gui? It should be a separate gui-txt IMO.
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.
So I have chosen gtk because I am on debian woody and the spectator
(is that the correct name?) was not yet implemented when I started with freeciv
code.
I agree that there should be gui-txt
and that one of the possible way of implementation is through puppeter language.
This is on my TODO list for the next one or two minor digit sub-versions.
2)
I wanted to put unit ID to canvas under each unit as it is done
for names under each city.
That should be done for each gui separately. So I chosen the one I used.
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.
nikodimka
>
> jason
>
>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
[freeciv-ai] Re: puppeteer patches builded over versions that do not compile, nikodimka, 2004/07/17
|
|