Update of /cvsroot/gcblue/gcb_wx/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6732/scripts
Modified Files:
Menu.py UnitCommands.py
Log Message:
- Added waypoint drag edit feature to gui. User can adjust waypoints on
map screen by clicking and dragging
- Fixed sound disable to include music. Previously sound failure would disable
sound effects, but then play music leading to a crash.
- Added random feature targeting to missiles. Missiles should now lock on
to a random feature of the target instead of always hitting the center.
Index: UnitCommands.py
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/scripts/UnitCommands.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** UnitCommands.py 10 Sep 2005 21:48:58 -0000 1.22
--- UnitCommands.py 27 Nov 2005 22:21:29 -0000 1.23
***************
*** 81,84 ****
--- 81,87 ----
UI.AddNavWaypoint(deg_to_rad*lon_deg, deg_to_rad*lat_deg)
+ def EditWaypoint(UI, idx, lon, lat):
+ UI.EditNavWaypoint(idx, lon, lat)
+
def AddPatrolOrderGroup(GI):
unit_count = GI.GetUnitCount()
Index: Menu.py
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/scripts/Menu.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** Menu.py 10 Sep 2005 21:48:58 -0000 1.16
--- Menu.py 27 Nov 2005 22:21:29 -0000 1.17
***************
*** 77,83 ****
UnitMenu.AddItem('Set speed','')
UnitMenu.BeginSubMenu()
! UnitMenu.AddItem('30%','Speed30 [1]')
! UnitMenu.AddItem('80%','Speed80 [2]')
! UnitMenu.AddItem('Max','Speed100 [3]')
UnitMenu.EndSubMenu()
--- 77,83 ----
UnitMenu.AddItem('Set speed','')
UnitMenu.BeginSubMenu()
! UnitMenu.AddItem('30% [1]','Speed30')
! UnitMenu.AddItem('80% [2]','Speed80')
! UnitMenu.AddItem('Max [3]','Speed100')
UnitMenu.EndSubMenu()
|