Re: Contribution on Java-freeciv

"Ben Hutchison" <[email protected]> Mon, 15 Apr 2002 10:01:44 +0100
Newsgroups gmane.games.freeciv.java
Message-ID <014f01c1e45c$3a893800$1401a8c0@VENUS>
Olivier,

I think the way arrow (move) keys are handled in the submitted patch may
cause some flexibility/extensiblity problems in the future.

It seemed that a move packet was constructed and dispatched to the server
from inside the key event handler. This would probably need to be changed
if/when other ways of moving are added (eg mouse click or scripting), if any
centralized logging/diagnostics were added, or if the user wished to remap
keys->actions.

I think a public move() API that sent the move packet would limit these
problems. Then all client code that wished to move pieces can do so in a
uniform manner.

Regards
Ben

----- Original Message -----
From: "Leprince Olivier" <[email protected]>
To: <freeciv-java-0/[email protected]>
Sent: Thursday, April 11, 2002 5:25 PM
Subject: [FreeCiv-Java] Contribution on Java-freeciv


> Hello,
>
> I discovered a few weeks ago that the Java Freeciv
> project rebirthed from its ashes. I really desire
> to be involved in the new adventure even if, once
> again, the enthousiasm seems to be low.
> My name is Olivier and I am a french developper.
>
> As I am behind a proxy, I can't connect directly with
> the cvs-server, but I would like to submit patches to
> the project.
>
> Maybe someone could checkin my development for me in
> the CVS tree. The Zip file contains a diff file that
> should be apply on the cvs tree released on 02/04/2002
> and two new classes. Units may now move and the screen
> is updated when so.
>
> Thanks in advance.
> Olivier
>
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com