1
0
Fork 0
Commit graph

7941 commits

Author SHA1 Message Date
jmt
52bac46535 Replace CourseAndDistance uses in traffic code with SGGeodesy calls. 2009-06-11 16:05:20 +02:00
jmt
6e42458a55 Convert waypoint::CourseAndDistance users to use SGGeodesy helper functions. 2009-06-11 16:05:20 +02:00
jmt
e1583cb28c Update FGViewer position clients to work with SGGeod directly 2009-06-11 16:05:20 +02:00
jmt
2fa160d41a Replace plain doubles with SGGeod in FGViewer for position and target pos. 2009-06-11 16:05:20 +02:00
torsten
6d12675161 immediately fetch a metar if real-weather-fetch is re-enabled at runtime 2009-06-11 16:05:20 +02:00
frohlich
c56b2f0047 Also take the current BVH nodes transform into account.
Modified Files:
	src/FDM/groundcache.cxx
2009-06-11 16:05:20 +02:00
frohlich
ee9dc0c93a No need to zero the _props variable.
This reference is released by the SGSharedPtr destructor anyway.

Modified Files:
	src/Scripting/NasalSys.cxx
2009-06-11 16:05:20 +02:00
fredb
a1c8c2c8af Update MSVC 7.1 projects 2009-06-11 16:05:20 +02:00
fredb
40ad35acf7 disambiguate pow usage 2009-06-11 16:05:20 +02:00
frohlich
4b2d677220 Read FG_ROOT/preferences.xml if we can find that.
Modified Files:
	fgviewer.cxx
2009-06-11 16:05:20 +02:00
frohlich
2d7312e462 Link with a minimal set of libraries.
Remove plibs file utility library.

Modified Files:
 	Makefile.am
2009-06-11 16:05:19 +02:00
frohlich
f291636ee4 Remove unused header.
Modified Files:
 	src/Scenery/scenery.cxx
2009-06-11 16:05:19 +02:00
torsten
0503f82781 some minor optimization 2009-06-11 16:05:19 +02:00
jmt
031f9bb33b Dave Luff's patch to fix findNextWithPartialId 2009-06-11 16:05:19 +02:00
ehofman
373849dab3 return the len of the string 2009-06-11 16:05:19 +02:00
torsten
5ae40c1c30 - METAR winds have magnetic heading
- memory leak in read_table()
2009-06-11 16:05:19 +02:00
frohlich
dd66e37353 More default setup for FG_ROOT
Modified Files:
	fgviewer/Makefile.am fgviewer/fgviewer.cxx
2009-06-11 16:05:19 +02:00
torsten
49b42a171a that cleanup code was not working 2009-06-11 16:05:19 +02:00
frohlich
0c3dc88652 Add some camera manipulators to the viewer.
Set up more of the flightgear internal environment.

Modified Files:
 	utils/fgviewer/fgviewer.cxx
2009-06-03 23:45:33 +02:00
torsten
ab4928f7a9 Add variable winds (direction and gusts) for the boundary layer if defined in METAR. 2009-06-03 23:45:33 +02:00
torsten
1873346d18 calculate internal properties only once on read() 2009-06-03 23:45:33 +02:00
mfranz
cc29182283 Dave LUFF: bugfixes; leave dlg with crsr button; heading info; cleanup
"General cleanup: Fix several potential segfaults, ensure delete
approach dialog can be exited with the crsr button, implement heading
information in DTO mode, make the comments more useful, and remove old
debugging comments."
2009-06-03 00:18:56 +02:00
mfranz
5a200cb5f4 Dave LUFF: Fix buffer overrun with longer runways 2009-06-03 00:18:56 +02:00
ehofman
4aff7b279d Upgrade to JSBSim 1.0-prerelease 2009-06-03 00:18:56 +02:00
torsten
5917e80bf0 Save more than 20 percent execution time by avoiding multiple calculation of properties. 2009-06-03 00:18:56 +02:00
fredb
6de19758a5 Update MSVC 7.1 projects 2009-06-03 00:18:56 +02:00
fredb
182a03d052 Update MSVC 7.1 projects 2009-06-03 00:18:56 +02:00
torsten
4aacda2390 new command line option --metar="some metar"
new handling of real-weather-fetch
major code cleanup
2009-06-03 00:18:56 +02:00
ehofman
2df12dfcdc small fixes 2009-06-03 00:18:56 +02:00
frohlich
e6aa5b2320 Make it compile with gcc-4.4.0
Modified Files:
	utils/GPSsmooth/UGear_command.cxx
2009-06-03 00:18:55 +02:00
frohlich
0d0076d69c Better error message when materials cannot be loaded.
Modified Files:
	fgviewer.cxx
2009-06-03 00:18:55 +02:00
ehofman
a29bd715c1 Fix cacheFree 2009-06-03 00:18:55 +02:00
ehofman
fc0b771cdf * Implement a node cache that can be enabled at compile time.
the node cache prevents recursively walking the xml tree over and over
    again to find the specified nodes.
2009-06-03 00:18:55 +02:00
torsten
301efcd529 jean pellotier: test for positions near the pole was in fact a test for positions near the equator. 2009-06-03 00:18:55 +02:00
frohlich
b180ce7be5 Add osg stats and other usefull stuff.
Modified Files:
	utils/fgviewer/fgviewer.cxx
2009-06-03 00:18:55 +02:00
frohlich
8a6bad9c59 Avoid division by zero.
Modified Files:
	src/Instrumentation/inst_vertical_speed_indicator.cxx
2009-06-03 00:18:55 +02:00
mfranz
70dea9a2c1 don't write past end of buffer 2009-06-03 00:18:55 +02:00
fredb
513e689a4e Update MSVC 7.1 projects - Add fgviewer to the solution 2009-06-03 00:18:55 +02:00
fredb
9a24270f4a Update MSVC 7.1 projects - Remove useless directories in link command 2009-06-03 00:18:55 +02:00
frohlich
0c0b38733e Add a new tool called fgviewer.
Modified Files:
	configure.ac utils/Makefile.am
Added Files:
 	utils/fgviewer/.cvsignore utils/fgviewer/Makefile.am
	utils/fgviewer/fgviewer.cxx
2009-06-03 00:18:54 +02:00
frohlich
28996902a1 Adapt to simgears changes.
The season is already checked by the properties.

Modified Files:
	src/Main/fg_init.cxx
2009-06-03 00:18:54 +02:00
torsten
cef9eb3d73 Clouds in scenario none and metar were above 0ft not above ground elevation, which lead to clouds at or below ground level for high altitude airfields. Reason: For the scenario none, the station_elevation was computed before the terrain was loaded, for METAR scenario station_elevation was not computed at all. 2009-06-03 00:18:54 +02:00
torsten
685132b5d2 wrong value for station_elevation_ft, meters != feet 2009-06-03 00:18:54 +02:00
fredb
8585b2c7b7 Functions should always return a value 2009-06-03 00:18:54 +02:00
fredb
5b93117e2d Functions should always return a value 2009-06-03 00:18:54 +02:00
torsten
a38d050ddf check for dt <= 0 aka paused sim 2009-06-03 00:18:54 +02:00
timoore
8e1248e1e1 Add --enable-fpe option to cause a trap on floating point exceptions
Only on Linux for now; traps on divide by zero and "invalid", which includes
generating a NaN and overflowing an integer conversion.
2009-06-03 00:18:54 +02:00
timoore
0ce5f350ff Fix two sources of floating point exceptions
When a subsystem is updated, dt can be 0 if the program is paused. There
may be other subsystems that don't check that dt is non-zero.
2009-06-03 00:18:54 +02:00
torsten
53ca437c7b added support for the <abs> element 2009-05-20 00:00:06 +02:00
torsten
ec0ed21b73 support
<abs>true</abs>
for input elements.
If set to true, the input value is filtered thru fabs() function.
Defaults to false if absent, so there is no impact for existing configurations
2009-05-20 00:00:06 +02:00