]>
git.mxchange.org Git - flightgear.git/log
fredb [Sun, 14 Jun 2009 11:01:37 +0000 (11:01 +0000)]
Projection matrix and texture size should be coherent
fredb [Sun, 14 Jun 2009 11:00:01 +0000 (11:00 +0000)]
Suppress warnings
ehofman [Sat, 13 Jun 2009 12:43:58 +0000 (12:43 +0000)]
don't forget to include the new header for the tardist
ehofman [Sat, 13 Jun 2009 07:55:25 +0000 (07:55 +0000)]
latest changes for JSBSim (1.0 prerelease)
jmt [Thu, 11 Jun 2009 22:54:51 +0000 (22:54 +0000)]
Whoops, type codes for localizers and ILSs were swapped in the nav.dat reader
jmt [Thu, 11 Jun 2009 21:53:30 +0000 (21:53 +0000)]
Directly associate runways objects with their ILS navrecord (if one exists)
jmt [Thu, 11 Jun 2009 09:47:26 +0000 (09:47 +0000)]
Fix a bad copy-and-paste bug in namedFindClosest, which broke things in the
multiple-matches case.
frohlich [Thu, 11 Jun 2009 09:26:45 +0000 (09:26 +0000)]
Remove old osg 2.2 code.
Modified Files:
src/Main/renderer.cxx
frohlich [Thu, 11 Jun 2009 09:19:32 +0000 (09:19 +0000)]
Remove dead variables.
Modified Files:
./src/Model/acmodel.cxx ./src/Model/acmodel.hxx
torsten [Thu, 11 Jun 2009 08:52:34 +0000 (08:52 +0000)]
- fill in probe[0] before using
- add a note about the mixing of SGGeoc and SGGeod
torsten [Wed, 10 Jun 2009 19:52:39 +0000 (19:52 +0000)]
- use SGGeodesy
- fade out strong lift when disabled
- some tiny optimizations
jmt [Tue, 9 Jun 2009 20:16:32 +0000 (20:16 +0000)]
Remove some remaining non-route-related uses of SGWayPoint.
jmt [Tue, 9 Jun 2009 20:16:08 +0000 (20:16 +0000)]
Replace CourseAndDistance uses in traffic code with SGGeodesy calls.
jmt [Tue, 9 Jun 2009 19:39:18 +0000 (19:39 +0000)]
Convert waypoint::CourseAndDistance users to use SGGeodesy helper functions.
jmt [Tue, 9 Jun 2009 12:16:21 +0000 (12:16 +0000)]
Update FGViewer position clients to work with SGGeod directly
jmt [Tue, 9 Jun 2009 12:15:48 +0000 (12:15 +0000)]
Replace plain doubles with SGGeod in FGViewer for position and target pos.
torsten [Mon, 8 Jun 2009 19:39:37 +0000 (19:39 +0000)]
immediately fetch a metar if real-weather-fetch is re-enabled at runtime
frohlich [Sun, 7 Jun 2009 11:24:42 +0000 (11:24 +0000)]
Also take the current BVH nodes transform into account.
Modified Files:
src/FDM/groundcache.cxx
frohlich [Sun, 7 Jun 2009 11:23:54 +0000 (11:23 +0000)]
No need to zero the _props variable.
This reference is released by the SGSharedPtr destructor anyway.
Modified Files:
src/Scripting/NasalSys.cxx
fredb [Sat, 6 Jun 2009 17:10:33 +0000 (17:10 +0000)]
Update MSVC 7.1 projects
fredb [Sat, 6 Jun 2009 16:11:57 +0000 (16:11 +0000)]
disambiguate pow usage
frohlich [Sat, 6 Jun 2009 10:40:50 +0000 (10:40 +0000)]
Read FG_ROOT/preferences.xml if we can find that.
Modified Files:
fgviewer.cxx
frohlich [Sat, 6 Jun 2009 10:39:56 +0000 (10:39 +0000)]
Link with a minimal set of libraries.
Remove plibs file utility library.
Modified Files:
Makefile.am
frohlich [Sat, 6 Jun 2009 07:46:08 +0000 (07:46 +0000)]
Remove unused header.
Modified Files:
src/Scenery/scenery.cxx
torsten [Fri, 5 Jun 2009 09:14:22 +0000 (09:14 +0000)]
some minor optimization
jmt [Fri, 5 Jun 2009 00:13:53 +0000 (00:13 +0000)]
Dave Luff's patch to fix findNextWithPartialId
ehofman [Thu, 4 Jun 2009 11:03:27 +0000 (11:03 +0000)]
return the len of the string
torsten [Thu, 4 Jun 2009 09:59:29 +0000 (09:59 +0000)]
- METAR winds have magnetic heading
- memory leak in read_table()
frohlich [Thu, 4 Jun 2009 04:30:51 +0000 (04:30 +0000)]
More default setup for FG_ROOT
Modified Files:
fgviewer/Makefile.am fgviewer/fgviewer.cxx
torsten [Wed, 3 Jun 2009 22:18:58 +0000 (22:18 +0000)]
that cleanup code was not working
frohlich [Wed, 3 Jun 2009 19:31:59 +0000 (19:31 +0000)]
Add some camera manipulators to the viewer.
Set up more of the flightgear internal environment.
Modified Files:
utils/fgviewer/fgviewer.cxx
torsten [Wed, 3 Jun 2009 16:29:58 +0000 (16:29 +0000)]
Add variable winds (direction and gusts) for the boundary layer if defined in METAR.
torsten [Wed, 3 Jun 2009 16:19:27 +0000 (16:19 +0000)]
calculate internal properties only once on read()
mfranz [Tue, 2 Jun 2009 14:59:38 +0000 (14:59 +0000)]
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."
mfranz [Mon, 1 Jun 2009 10:32:44 +0000 (10:32 +0000)]
Dave LUFF: Fix buffer overrun with longer runways
ehofman [Mon, 1 Jun 2009 08:52:34 +0000 (08:52 +0000)]
Upgrade to JSBSim 1.0-prerelease
torsten [Sun, 31 May 2009 10:18:45 +0000 (10:18 +0000)]
Save more than 20 percent execution time by avoiding multiple calculation of properties.
fredb [Sat, 30 May 2009 16:26:01 +0000 (16:26 +0000)]
Update MSVC 7.1 projects
fredb [Sat, 30 May 2009 16:17:22 +0000 (16:17 +0000)]
Update MSVC 7.1 projects
torsten [Fri, 29 May 2009 10:26:35 +0000 (10:26 +0000)]
new command line option --metar="some metar"
new handling of real-weather-fetch
major code cleanup
ehofman [Mon, 25 May 2009 11:51:08 +0000 (11:51 +0000)]
small fixes
frohlich [Mon, 25 May 2009 05:03:27 +0000 (05:03 +0000)]
Make it compile with gcc-4.4.0
Modified Files:
utils/GPSsmooth/UGear_command.cxx
frohlich [Mon, 25 May 2009 05:02:11 +0000 (05:02 +0000)]
Better error message when materials cannot be loaded.
Modified Files:
fgviewer.cxx
ehofman [Sun, 24 May 2009 14:23:59 +0000 (14:23 +0000)]
Fix cacheFree
ehofman [Sun, 24 May 2009 14:09:46 +0000 (14:09 +0000)]
* 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.
torsten [Sat, 23 May 2009 12:48:18 +0000 (12:48 +0000)]
jean pellotier: test for positions near the pole was in fact a test for positions near the equator.
frohlich [Sat, 23 May 2009 12:04:54 +0000 (12:04 +0000)]
Add osg stats and other usefull stuff.
Modified Files:
utils/fgviewer/fgviewer.cxx
frohlich [Sat, 23 May 2009 12:02:23 +0000 (12:02 +0000)]
Avoid division by zero.
Modified Files:
src/Instrumentation/inst_vertical_speed_indicator.cxx
mfranz [Sat, 23 May 2009 11:13:29 +0000 (11:13 +0000)]
don't write past end of buffer
fredb [Sat, 23 May 2009 06:50:58 +0000 (06:50 +0000)]
Update MSVC 7.1 projects - Add fgviewer to the solution
fredb [Sat, 23 May 2009 06:50:14 +0000 (06:50 +0000)]
Update MSVC 7.1 projects - Remove useless directories in link command
frohlich [Fri, 22 May 2009 18:23:01 +0000 (18:23 +0000)]
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
frohlich [Fri, 22 May 2009 18:20:58 +0000 (18:20 +0000)]
Adapt to simgears changes.
The season is already checked by the properties.
Modified Files:
src/Main/fg_init.cxx
torsten [Fri, 22 May 2009 18:19:25 +0000 (18:19 +0000)]
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.
torsten [Fri, 22 May 2009 09:42:15 +0000 (09:42 +0000)]
wrong value for station_elevation_ft, meters != feet
fredb [Thu, 21 May 2009 14:49:57 +0000 (14:49 +0000)]
Functions should always return a value
fredb [Thu, 21 May 2009 14:44:55 +0000 (14:44 +0000)]
Functions should always return a value
torsten [Wed, 20 May 2009 09:24:56 +0000 (09:24 +0000)]
check for dt <= 0 aka paused sim
timoore [Tue, 19 May 2009 22:14:35 +0000 (22:14 +0000)]
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.
timoore [Tue, 19 May 2009 22:14:04 +0000 (22:14 +0000)]
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.
torsten [Mon, 18 May 2009 20:34:43 +0000 (20:34 +0000)]
added support for the <abs> element
torsten [Mon, 18 May 2009 20:27:57 +0000 (20:27 +0000)]
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
frohlich [Sat, 16 May 2009 17:39:23 +0000 (17:39 +0000)]
Fix Carriers without catapults and wires.
Modified Files:
src/AIModel/AICarrier.cxx
fredb [Sat, 16 May 2009 09:40:48 +0000 (09:40 +0000)]
Remove few warnings
fredb [Sat, 16 May 2009 09:39:41 +0000 (09:39 +0000)]
Update MSVC 7.1 projects
fredb [Sat, 16 May 2009 09:39:10 +0000 (09:39 +0000)]
Functions should always return a value
mfranz [Thu, 14 May 2009 20:55:09 +0000 (20:55 +0000)]
turn a few #include paths from the "foo" form to <foo>
The quotes form is normally only used for headers with path relative
to the including file's path, though the standard doesn't strictly
mandate this. This is consistent with the rest of sg/fg, it makes the
code's intent clearer and helps to find headers. (And it's a few
milliseconds faster, too.)
mfranz [Thu, 14 May 2009 20:48:31 +0000 (20:48 +0000)]
use safer and faster property methods instead of creating property
paths via snprintf+strncat+absolute paths every time
mfranz [Tue, 12 May 2009 20:51:02 +0000 (20:51 +0000)]
use safer and faster property methods instead of creating property
paths via snprintf+strncat+absolute paths every time (more to come)
mfranz [Tue, 12 May 2009 15:07:06 +0000 (15:07 +0000)]
testair.cxx is a 21 lines long, obsolete test application. After removing
all lines that refer to no longer existing headers/classes/functions, then
this is what remains: int main() { printf("boo!\n"); return 0; }
ehofman [Mon, 11 May 2009 08:46:03 +0000 (08:46 +0000)]
fixes for compiling without syntax validation.
ehofman [Sun, 10 May 2009 12:23:35 +0000 (12:23 +0000)]
Sync. with JSBSim CVS
fredb [Fri, 8 May 2009 16:45:49 +0000 (16:45 +0000)]
Allows multi samples > 1
ehofman [Fri, 8 May 2009 09:10:56 +0000 (09:10 +0000)]
Skip one recursive function call for leaf nodes at the cost of a bit of code size. Fix comment support in some cases
fredb [Thu, 7 May 2009 20:25:27 +0000 (20:25 +0000)]
Compile xmlgrep with MSVC 7.1
ehofman [Thu, 7 May 2009 12:23:30 +0000 (12:23 +0000)]
more small fixes
mfranz [Thu, 7 May 2009 10:27:16 +0000 (10:27 +0000)]
leak fixes
mfranz [Wed, 6 May 2009 18:55:20 +0000 (18:55 +0000)]
fix leaks; make destructors virtual
torsten [Wed, 6 May 2009 17:26:05 +0000 (17:26 +0000)]
Fix broken ATC/AI-Frequencies dialog.
ehofman [Wed, 6 May 2009 14:29:12 +0000 (14:29 +0000)]
* Various bugfixes, required to get fgrun working
* add testxml as sort of a stress test application
ehofman [Tue, 5 May 2009 12:50:00 +0000 (12:50 +0000)]
Various bugfixes. This allows me to run fgrun on all FlightGear aircraft in the base packageusing this xml code.
durk [Tue, 5 May 2009 10:36:38 +0000 (10:36 +0000)]
Removed hardcoded performance data.
Tim Moore [Mon, 18 May 2009 10:23:33 +0000 (12:23 +0200)]
Merge branch 'maint' into next
frohlich [Sat, 16 May 2009 08:16:20 +0000 (08:16 +0000)]
Make flightgear compile with todays osg trunk.
Modified Files:
src/Scenery/SceneryPager.cxx src/Scenery/SceneryPager.hxx
src/Scenery/tilemgr.cxx
Tim Moore [Mon, 4 May 2009 14:16:00 +0000 (16:16 +0200)]
AICarrier fixes from Vivian
andy [Fri, 1 May 2009 16:11:23 +0000 (16:11 +0000)]
From Vivian: add a tunable launchbar acceleration, to better support some
of the Jets on the catapult.
ehofman [Fri, 1 May 2009 08:05:37 +0000 (08:05 +0000)]
allow C++ to include the header
ehofman [Fri, 1 May 2009 08:00:17 +0000 (08:00 +0000)]
general cleanups.
ehofman [Thu, 30 Apr 2009 19:26:57 +0000 (19:26 +0000)]
Add support for CDATA
ehofman [Thu, 30 Apr 2009 13:56:50 +0000 (13:56 +0000)]
Fix an off by one problem.
ehofman [Wed, 29 Apr 2009 07:05:22 +0000 (07:05 +0000)]
a small cleanup and make Windows simple_mmap function return the proper value if an error was detected.
ehofman [Tue, 28 Apr 2009 16:47:48 +0000 (16:47 +0000)]
* add printxml, an example utility that walks an xml-tree and prints it
contenst
ehofman [Tue, 28 Apr 2009 13:59:26 +0000 (13:59 +0000)]
* changes to the code to allow walking the xml-tree using "*" as a node name
ehofman [Mon, 27 Apr 2009 20:26:28 +0000 (20:26 +0000)]
brighten te sky color towards the sun at dusk and dawn
ehofman [Mon, 27 Apr 2009 19:27:29 +0000 (19:27 +0000)]
Ouch, forgot to allocate memory for the root node in xmlInitBuffer. Update xmlgrep to allow compiling it using xmlInitBuffer instead of xmlOpen
ehofman [Mon, 27 Apr 2009 17:03:16 +0000 (17:03 +0000)]
zero is a valid file descriptor, use -1 instead and better not use 'open' as a variable name.
ehofman [Mon, 27 Apr 2009 16:54:46 +0000 (16:54 +0000)]
* add xmlInitBuffer() for processing of a preallocated buffer
* add xmlErrorGetColumnNo to get the column number of the syntax error
* pass an error at a higher level to lower levels
* detect a number of extra syntax errors
ehofman [Mon, 27 Apr 2009 11:50:08 +0000 (11:50 +0000)]
fix a buffer overflow
ehofman [Mon, 27 Apr 2009 09:45:59 +0000 (09:45 +0000)]
catch one more syntax error and remove a stale debug printf
torsten [Sun, 26 Apr 2009 09:18:13 +0000 (09:18 +0000)]
just in case that someone does not like ridge lift at all, set the property
/environment/ridge-lift/enabled=true
works also at runtime.
And some tiny code optimization.