[Gcblue-commits] gcb_wx/src/graphics tcGameView.cpp,1.15,1.16 tcMapView.cpp,1.35,1.36
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-12-08 23:28:08
|
Update of /cvsroot/gcblue/gcb_wx/src/graphics In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29232/src/graphics Modified Files: tcGameView.cpp tcMapView.cpp Log Message: Index: tcMapView.cpp =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/src/graphics/tcMapView.cpp,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** tcMapView.cpp 27 Nov 2005 22:34:58 -0000 1.35 --- tcMapView.cpp 8 Dec 2005 23:27:55 -0000 1.36 *************** *** 2421,2425 **** wxString argString = wxString::Format(",%d,%f,%f", editPointIdx-1, geoPoint.x, geoPoint.y); ! mpCommandInterface->AddPythonCommandGeneral("EditWaypoint", argString.c_str(), hookedId); editPointIdx = -1; --- 2421,2425 ---- wxString argString = wxString::Format(",%d,%f,%f", editPointIdx-1, geoPoint.x, geoPoint.y); ! mpCommandInterface->AddPythonCommandGeneral("EditActiveWaypoint", argString.c_str(), hookedId); editPointIdx = -1; Index: tcGameView.cpp =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/src/graphics/tcGameView.cpp,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** tcGameView.cpp 10 Sep 2005 21:47:38 -0000 1.15 --- tcGameView.cpp 8 Dec 2005 23:27:55 -0000 1.16 *************** *** 153,158 **** navpoints.push_back(pcurrent); // add current position } ! // copy waypoints ! for (size_t k=0; k<waypoints.size(); k++) { navpoints.push_back(waypoints[k]); --- 153,158 ---- navpoints.push_back(pcurrent); // add current position } ! // copy waypoints, starting with current waypoint (don't draw completed waypoints) ! for (size_t k=nav->GetCurrentWaypoint(); k<waypoints.size(); k++) { navpoints.push_back(waypoints[k]); |