[Gcblue-commits] gcb_wx/include/ai Nav.h,1.3,1.4
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-11-27 22:21:38
|
Update of /cvsroot/gcblue/gcb_wx/include/ai In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6732/include/ai Modified Files: Nav.h 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: Nav.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/ai/Nav.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Nav.h 10 Sep 2005 21:48:06 -0000 1.3 --- Nav.h 27 Nov 2005 22:21:28 -0000 1.4 *************** *** 54,57 **** --- 54,58 ---- void AddWaypoint(double lon_rad, double lat_rad, float alt_m); void ClearWaypoints(); + void EditWaypoint(size_t idx, double lon_rad, double lat_rad, float alt_m); bool GetLoopState() const; const std::vector<GeoPoint>& GetWaypoints() const; |