On Tue, 2003-12-02 at 12:33, David Luff wrote:
The latest version of TaxiDraw is now up at: www.nottingham.ac.uk/~eazdluf/TaxiDraw-0p0p7-preAlpha-w32bin.zip - Windows Binary (statically linked) [322K] www.nottingham.ac.uk/~eazdluf/TaxiDraw-0p0p7-preAlpha-src.tar.gz - source and makefile for Linux [56K], requires wxGTK-dev. Summary of changes from 0.0.6 to 0.0.7: Taxiways can be selected, copied, pasted and moved in groups. Use the mouse to draw a selection box. Should make repetitive dispersal areas easier :-) Some warnings fixed. Makefile now capitalised (remove the old one if unzipping into same directory). Cheers - Dave _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
David,
With gcc3.2.2(Redhat 9), I had to rescope t[T]wy_list_iterator to compile :
--- TaxiDrawCanvas.cpp_old 2003-12-02 13:47:22.000000000 -0500
+++ TaxiDrawCanvas.cpp 2003-12-02 13:47:55.000000000 -0500
@@ -1310,7 +1310,8 @@
raw->DeselectAllTaxiways();
double av_x = 0.0;
double av_y = 0.0;
- for(twy_list_iterator itr = tlist.begin(); itr != tlist.end(); ++itr) {
+ twy_list_iterator itr;
+ for(itr = tlist.begin(); itr != tlist.end(); ++itr) {
Point3D p((*itr)->lon, (*itr)->lat, 0.0);
Point3D p2 = raw->ortho.ConvertToLocal(p);
av_x += p2.x();
@@ -1339,7 +1340,8 @@
} else {
double av_x = 0.0;
double av_y = 0.0;
- for(Twy_list_iterator Itr = _cTwys.begin(); Itr != _cTwys.end(); ++Itr) {
+ Twy_list_iterator Itr;
+ for(Itr = _cTwys.begin(); Itr != _cTwys.end(); ++Itr) {
Point3D p((*Itr).lon, (*Itr).lat, 0.0);
Point3D p2 = raw->ortho.ConvertToLocal(p);
av_x += p2.x();
Looks good and thanks, Simon.
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
