frohlich
33a2e2128f
Simplify AI model loading.
...
Modified Files:
AIBallistic.cxx AIBallistic.hxx AIBase.cxx AICarrier.hxx
Makefile.am
Removed Files:
AIModelData.cxx AIModelData.hxx
2009-06-23 10:54:10 +02:00
frohlich
8f501de78c
Remove carrier wire and catapult configuration from the scenario file.
...
This is now included in the model xml file.
So, wires and catapults also work even if they are not loaded by an AICarrier.
Modified Files:
AICarrier.cxx AICarrier.hxx
2009-06-23 10:54:10 +02:00
torsten
40d2925126
don't mix geodetic and geocentric coordinates
2009-06-23 10:54:09 +02:00
ehofman
90581f8bf0
changes matching those of generic.?xx
2009-06-23 10:54:09 +02:00
ehofman
36f8519973
* Add proper support for float and double values
...
* properly honour network byte order on little-endian and big-endian systems
* various cleanups and bug-fixes
2009-06-23 10:54:09 +02:00
ehofman
30e925bb38
Anders Gidenstam:
...
Add support for generic binary input.
This patch has been sitting in my source tree since 2007.
2009-06-23 10:54:09 +02:00
ehofman
879b4df9fc
Return an error when not enough tokens are parsed for the generic protocol, that must be better than causing a segmentation fault.
2009-06-23 10:54:09 +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
40ad35acf7
disambiguate pow usage
2009-06-11 16:05:20 +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
torsten
5ae40c1c30
- METAR winds have magnetic heading
...
- memory leak in read_table()
2009-06-11 16:05:19 +02:00
torsten
49b42a171a
that cleanup code was not working
2009-06-11 16:05:19 +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
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
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
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
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