This is the mail archive of the
xconq7@sourceware.cygnus.com
mailing list for the Xconq project.
Re: Examine other player units at end of game
- To: hronne at pp dot sbbs dot se
- Subject: Re: Examine other player units at end of game
- From: Jim Kingdon <kingdon at panix dot com>
- Date: Mon, 15 May 2000 22:33:35 -0400 (EDT)
- Cc: xconq7 at sourceware dot cygnus dot com
- References: <l03130300b53cf3341556@[212.112.4.88]>
> Your patch certainly works, but it has some unexpected consequences. If you
> choose the "See All" option side_sees_unit is set for all units, which
> means that you can now select (and therefore also give commands to) enemy
> units as well.
OK, so does that mean that do_move_to in tcltk/tkcmd.c and friends all
need calls to side_controls_unit? Or is there some cleaner place to
put this (preferably in the kernel code rather than the frontend code
but I didn't dig far enough to see where it might go)?
I guess I don't see the need for a red selection box - having it also
be black would work for me. Not that I'd scream hard about red. It
just seems like one of those user interface features which is pretty
confusing until you figure out what it means.
> The ability to select enemy units during play in order to examine them
> (when allowed) is actually something I implemented last year on the mac. I
> made the selection boxes red for enemy units in order to distinguish them
> from your own units. However, I had to hack the mac menu and command line
> code to make sure that a player can give commands only to his own units.
> Perhaps we should do the same thing in the unix interface.