[Gcblue-commits] gcb_wx/scripts Menu.py, 1.26, 1.27 UnitCommands.py, 1.29, 1.30
Status: Alpha
Brought to you by:
ddcforge
From: Dewitt C. <ddc...@us...> - 2006-09-28 02:01:56
|
Update of /cvsroot/gcblue/gcb_wx/scripts In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv32752/scripts Modified Files: Menu.py UnitCommands.py Log Message: Initial airbase automation work Index: UnitCommands.py =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/scripts/UnitCommands.py,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** UnitCommands.py 5 Sep 2006 01:04:24 -0000 1.29 --- UnitCommands.py 28 Sep 2006 02:01:52 -0000 1.30 *************** *** 427,431 **** ! --- 427,435 ---- ! def AddCAPMission(UI): ! if (not UI.HasFlightPort()): ! return ! FP = UI.GetFlightPortInfo() ! FP.AddCAPMission() Index: Menu.py =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/scripts/Menu.py,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** Menu.py 16 Sep 2006 14:01:24 -0000 1.26 --- Menu.py 28 Sep 2006 02:01:52 -0000 1.27 *************** *** 155,158 **** --- 155,162 ---- if (UnitInfo.HasFlightPort()): UnitMenu.AddItem('Flight deck [f]', 'ShowFlightPanel') + UnitMenu.AddItem('Add mission', '') + UnitMenu.BeginSubMenu() + UnitMenu.AddItem('CAP test', 'AddCAPMission') + UnitMenu.EndSubMenu() if (UnitInfo.IsPlayerControlled()): |