1
0
Fork 0
Commit graph

7963 commits

Author SHA1 Message Date
ehofman
65fd0c9c7a small bugfix 2009-06-23 10:54:08 +02:00
ehofman
84221ac794 Fix a bug in xmlGetString and honour the index attribtute 'n' 2009-06-23 10:54:08 +02:00
ehofman
783fa8dd7d a utility to print an xml file as a property tree 2009-06-23 10:54:08 +02:00
Tim Moore
b588a92b7f adapt to changes in sg_exception interface
sg_location now uses C strings. Also, change uses of sg_throwable to more
specific exceptions like sg_io_exception.
2009-06-16 11:46:47 +02:00
timoore
d30398f2b2 uninitialized variable fix from Vivian Meazza 2009-06-16 11:32:14 +02:00
timoore
f0bfb4d137 Realize viewer explicitly
The osgViewer needs to be "realized" so that, among other things, threading
will start. This is normally done by osgViewer::run, but we don't call
that.
Don't realize graphics contexts; Let osgViewer code do it. This way
osgViewer::isRealized returns the correct answer.
2009-06-15 11:25:06 +02:00
fredb
862f59aded Reserve a special FGPositionned type for pavements 2009-06-15 10:29:45 +02:00
fredb
522787c173 Retrieve the full pavement/taxiway description, made of several words 2009-06-15 10:29:45 +02:00
fredb
97c214e4fc Suppress warnings 2009-06-15 10:29:45 +02:00
fredb
40586c77fd X-Plane 850 airport file format parsing. 810 is still supported and may be mixed with new format.
Ground radar updated to display new pavements.
2009-06-15 10:29:45 +02:00
fredb
73fbc05a6b Projection matrix and texture size should be coherent 2009-06-15 10:29:44 +02:00
fredb
3b024e3dab Suppress warnings 2009-06-15 10:29:44 +02:00
ehofman
d27097d7b8 don't forget to include the new header for the tardist 2009-06-15 10:29:44 +02:00
ehofman
cb435814c1 latest changes for JSBSim (1.0 prerelease) 2009-06-15 10:29:44 +02:00
jmt
21a8522160 Whoops, type codes for localizers and ILSs were swapped in the nav.dat reader 2009-06-15 10:29:44 +02:00
jmt
86d1e4ea9d Directly associate runways objects with their ILS navrecord (if one exists) 2009-06-15 10:29:44 +02:00
jmt
83c29b4f43 Fix a bad copy-and-paste bug in namedFindClosest, which broke things in the
multiple-matches case.
2009-06-11 16:05:21 +02:00
frohlich
e837aefceb Remove old osg 2.2 code.
Modified Files:
	src/Main/renderer.cxx
2009-06-11 16:05:21 +02:00
frohlich
173af5d55f Remove dead variables.
Modified Files:
	./src/Model/acmodel.cxx ./src/Model/acmodel.hxx
2009-06-11 16:05:21 +02:00
torsten
86d11cffce - fill in probe[0] before using
- add a note about the mixing of SGGeoc and SGGeod
2009-06-11 16:05:20 +02:00
torsten
93cc7e0e5b - use SGGeodesy
- fade out strong lift when disabled
- some tiny optimizations
2009-06-11 16:05:20 +02:00
jmt
a29e5ce666 Remove some remaining non-route-related uses of SGWayPoint. 2009-06-11 16:05:20 +02:00
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