$Id: BUGS,v 1.33 2002/11/11 19:27:54 chakie Exp $

OPEN BUGS

Some in-game dialogs can be activated twice. For instance if the player
presses F1 twice in a row then two HelpBrowser states are activated. Closing
the help browser dialog still leaves the game in the second HelpBrowser state,
but without any visual clue as to what is going on. Hitting Escape closes the
second HelpBrowser state too. States should check for this?
UPDATE: At least HelpBrowser can't be activated twice, see
state.py how I "fixed" this... --msa

The "wait" cursor used in the setup screens lacks the white color. The
cursor files seem to be somehow wrong. Need to check the cursor and
fix. It works, but is mostly invisible...


Changing size (to smaller at least) leaves some artifacts on the right border.
Seems like parts of hexes?
- Yes, correct.

Noticed a weird combination of ending the turn and immediately dragging
windows. It mixed up somehow, the action phase play buttons came available
but I still had to end the turn again. Will test more later.

"full-screen" gfx pictures must take into account window size 
=> center gfx, black borders around it?
(e.g. take big resolution, surrender game)


Exiting Civil from the front dialogs via the window manager can leave the 
AI client running. 



MSA's NITPICKING SECTION
(can be considered as "enhancements, not bugs", sometimes of
questionable value...)


G's Nitpicks:

Running Civil at a lower res means the Game Over screen appears at the lower res.
As such, buttons and info is positioned off screen...


##############################################################################

ON HOLD FOR NOW


Clearer visual signs when we are in action mode, and when in "real" play
mode. Clearer visual signs how to end turn, and how to end action phase.
- what can we do about this? 


##############################################################################


FIXED BUGS

Retreating state-machine is wrong. Still refers to "retreatinginfantry" etc.
FIXED

engine/ai/rally.py will rally units that are disorganized. But it doesn't 
know wether the unit should be, say, limbered or unlimbered. Thus we should
maybe have "disorganized_limbered" instead of "disorganized_artillery".
FIXED

Better modes for units. A few of the current ones are a bit silly. Instead of
having "meleeing_infantry" we should have "meleeing_formation" and
"meleeing_column" so that we know the original mode of the unit, and what mode
it should get after the melee is over. Same goes for a lot of modes.
FIXED

Clicking "Load game", then "Cancel", followed by "New Game" and "Scenario" 
results in no scenarios being listed... 
FIXED


The input dialog in-game crashes. At least when I tried to change the name
of a saved screenshot. Should be a simple fix. 
FIXED. Requires Pygame 1.5.3+

The in-game dialog "Change combat policy" keeps drawing over itself over
and over again, making the text thicker and thicker. It should clear the
area before drawing.


Game loading should work. Will try before 0.80 milestone. FIXED. Old saved 
games are invalid though. Or you need to fix <localplayer> to <localplayer/>.


Some dialog layers seem to assume the screen is 1024 pixels wide, as they use
the magic constant 512 for calculations. Will break when the screen size is
changed. FIXED


The flag scenario.playing is not handled in event_loop.py => Civil will never
actually quit when doing an "Quit Civil". FIXED

LOS doesn't work at all? Try scenario10, move unit to the west where
the enemies should be. Nothing is displayed.
- this should work now. There was a missing unit.calcView() that meant that
  units never recalculated what they saw.


Num Lock may not be pressed in-game. Nothing works if it is. Strangely all 
works during setup even if it's selected. FIXED


During action phase unit info window does not update the info. Needs to 
connect a signal. FIXED


Changing combat policy dialog has "wrong offset" when clicking the
checkboxes. FIXED


Choosing units doesn't work properly when the map has scrolled away
from (0,0). Some offset bug... FIXED


The little yellow rectangle in the minimap is too small. It does not take into
account the fact that the panel is no more. FIXED


Help browser shouldn't just raise & quit if a help file can't be parsed.
(or some section is missing) FIXED
