David Megginson | 1 Jan 2003 19:47
Picon

CVS: FlightGear/src/Model modelmgr.cxx,1.3,1.4

Update of /var/cvs/FlightGear-0.9/FlightGear/src/Model
In directory seneca:/tmp/cvs-serv11161

Modified Files:
	modelmgr.cxx 
Log Message:
Work around G++ 2.95 bug by removing use of STL find() function.

Index: modelmgr.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/Model/modelmgr.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** modelmgr.cxx	31 Dec 2002 18:26:06 -0000	1.3
--- modelmgr.cxx	1 Jan 2003 18:47:50 -0000	1.4
***************
*** 12,17 ****
  #include "model.hxx"

- SG_USING_STD(find);
- 

  FGModelMgr::FGModelMgr ()
--- 12,15 ----
***************
*** 136,141 ****
  FGModelMgr::remove_instance (Instance * instance)
  {
!     _instances.erase(find(_instances.begin(), _instances.end(), instance));
(Continue reading)

cvsroot | 1 Jan 2003 23:08

Base CVS update:'FlightGear/FlightGear/Aircraft/pa28-161/Models'

Date: Wed Jan  1 17:08:39 EST 2003
Author: cvsroot

Update of /home/cvsroot/FlightGear/FlightGear/Aircraft/pa28-161/Models
In directory bitless:/tmp/cvs-serv2918/pa28-161/Models

Modified Files:
	pa28-161.ac pa28-161.xml 
Added Files:
	panel-2d.xml 
Log Message:
Tinted the interior slightly (to be replaced with textures later).

Started adding 2D instruments on the panel.
David Luff | 3 Jan 2003 16:01
Picon

CVS: FlightGear/src/ATC ATCmgr.hxx,1.4,1.5

Update of /var/cvs/FlightGear-0.9/FlightGear/src/ATC
In directory seneca:/tmp/cvs-serv18429

Modified Files:
	ATCmgr.hxx 
Log Message:
Fix compiler warning

Index: ATCmgr.hxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/ATC/ATCmgr.hxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ATCmgr.hxx	17 Dec 2002 17:19:14 -0000	1.4
--- ATCmgr.hxx	3 Jan 2003 15:01:16 -0000	1.5
***************
*** 199,203 ****

      // Return a pointer to a class in the list (external interface to this is through GetATCPointer)
!     FGATC* FGATCMgr::FindInList(const char* id, atc_type tp);

      // Search a specified freq for matching stations
--- 199,203 ----

      // Return a pointer to a class in the list (external interface to this is through GetATCPointer)
!     FGATC* FindInList(const char* id, atc_type tp);

      // Search a specified freq for matching stations
(Continue reading)

David Luff | 3 Jan 2003 17:30
Picon

CVS: FlightGear/src/ATC ground.cxx,1.4,1.5

Update of /var/cvs/FlightGear-0.9/FlightGear/src/ATC
In directory seneca:/tmp/cvs-serv20492

Modified Files:
	ground.cxx 
Log Message:
Fix problem with cout

Index: ground.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/ATC/ground.cxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ground.cxx	20 Dec 2002 09:48:09 -0000	1.4
--- ground.cxx	3 Jan 2003 16:30:44 -0000	1.5
***************
*** 32,35 ****
--- 32,36 ----

  SG_USING_STD(ifstream);
+ SG_USING_STD(cout);

  FGGround::FGGround() {
***************
*** 90,94 ****
  		//cout << "Read in ground network element type = " << buf << endl;
  		if(!strcmp(buf, "[End]")) {		// TODO - maybe make this more robust to spelling errors by just looking
for '['
! 			cout << "Done reading " << path.c_str() << endl;
(Continue reading)

cvsroot | 3 Jan 2003 17:49

Base CVS update:'FlightGear/FlightGear/Aircraft/seahawk'

Date: Fri Jan  3 11:49:56 EST 2003
Author: cvsroot

Update of /home/cvsroot/FlightGear/FlightGear/Aircraft/seahawk
In directory bitless:/tmp/cvs-serv18516/Aircraft/seahawk

Log Message:
Directory /home/cvsroot/FlightGear/FlightGear/Aircraft/seahawk added to the repository
cvsroot | 3 Jan 2003 17:58

Base CVS update:'FlightGear/FlightGear'

Date: Fri Jan  3 11:58:08 EST 2003
Author: cvsroot

Update of /home/cvsroot/FlightGear/FlightGear
In directory bitless:/tmp/cvs-serv18572

Modified Files:
	Thanks 
Log Message:
Lee Elliott:

Added a Hawker Sea Hawk: --aircraft=seahawk-yasim.
cvsroot | 3 Jan 2003 17:58

Base CVS update:'FlightGear/FlightGear/Aircraft'

Date: Fri Jan  3 11:58:08 EST 2003
Author: cvsroot

Update of /home/cvsroot/FlightGear/FlightGear/Aircraft
In directory bitless:/tmp/cvs-serv18572/Aircraft

Added Files:
	seahawk-yasim-set.xml 
Log Message:
Lee Elliott:

Added a Hawker Sea Hawk: --aircraft=seahawk-yasim.
cvsroot | 3 Jan 2003 17:58

Base CVS update:'FlightGear/FlightGear/Aircraft-yasim'

Date: Fri Jan  3 11:58:08 EST 2003
Author: cvsroot

Update of /home/cvsroot/FlightGear/FlightGear/Aircraft-yasim
In directory bitless:/tmp/cvs-serv18572/Aircraft-yasim

Added Files:
	seahawk-yasim.xml 
Log Message:
Lee Elliott:

Added a Hawker Sea Hawk: --aircraft=seahawk-yasim.
cvsroot | 3 Jan 2003 17:58

Base CVS update:'FlightGear/FlightGear/Aircraft/seahawk'

Date: Fri Jan  3 11:58:08 EST 2003
Author: cvsroot

Update of /home/cvsroot/FlightGear/FlightGear/Aircraft/seahawk
In directory bitless:/tmp/cvs-serv18572/Aircraft/seahawk

Added Files:
	SeaHawk.3ds seahawk-model.xml seahawk-readme.txt 
Log Message:
Lee Elliott:

Added a Hawker Sea Hawk: --aircraft=seahawk-yasim.
David Megginson | 4 Jan 2003 19:47
Picon

CVS: FlightGear/src/Main fg_commands.cxx,1.13,1.14

Update of /var/cvs/FlightGear-0.9/FlightGear/src/Main
In directory seneca:/tmp/cvs-serv23638/src/Main

Modified Files:
	fg_commands.cxx 
Log Message:
Patch from Julian Foad to fix wrapping behaviour for property-adjust
and property-multiply:

Firstly, change back to wrapping modulo the interval, with "min <= x < 
max" semantics.  I believe the previous implementation did that.  The 
inline function that Norman mentioned also does that.

Secondly, make it snap to the nearest value (min + N*resolution) when a 
"resolution" tag is present, taking special care of floating-point 
precision.  Or perhaps specify "number of divisions in the interval" as 
an integer, instead of "resolution" by which I meant a floating-point 
"size of a division".

[also fixed]

While working on this file I noticed some potentially serious warnings:

fg_commands.cxx: In function `bool do_property_adjust(const 
SGPropertyNode*)':
fg_commands.cxx:435: warning: control reaches end of non-void function
fg_commands.cxx: In function `bool do_property_multiply(const 
SGPropertyNode*)':
fg_commands.cxx:465: warning: control reaches end of non-void function
/usr/local/include/simgear/misc/props.hxx: At top level:
(Continue reading)


Gmane