Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2000:
[Freeciv-Dev] Re: jjm: Added Settler's "Connect" feature.
Home

[Freeciv-Dev] Re: jjm: Added Settler's "Connect" feature.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: jjm: Added Settler's "Connect" feature.
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Sun, 2 Jan 2000 20:54:17 +1100 (EST)

We now have, in client/control.c: 
    int goto_state;
    int nuke_state;
    int paradrop_state;
    int connect_state;
These are essentially cursor states for the current unit, right?
Since there can really be only one state active at a time, would 
it make more sense to have a single state variable with an 
enumerated type listing the states?  (And I guess accompanying 
variable(s) state_unit_id etc as required.)

-- David

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