]>
git.mxchange.org Git - flightgear.git/log
torsten [Fri, 24 Apr 2009 10:11:10 +0000 (10:11 +0000)]
Melchior FRANZ: fix array subscript is above array bounds
torsten [Fri, 24 Apr 2009 08:20:48 +0000 (08:20 +0000)]
Patrice Poly: correction for the lee side
attempt to fix nan issue
fredb [Mon, 20 Apr 2009 20:18:15 +0000 (20:18 +0000)]
Update MSVC 7.1 projects - add ridge lift
fredb [Mon, 20 Apr 2009 20:17:34 +0000 (20:17 +0000)]
Remove spurious semi-colon
ehofman [Mon, 20 Apr 2009 19:56:09 +0000 (19:56 +0000)]
fix a case where a single-element root path (e.g. /printer) would not pass xmlNodeGetPath
torsten [Mon, 20 Apr 2009 18:32:41 +0000 (18:32 +0000)]
restoring original copyright of David Culp
ehofman [Mon, 20 Apr 2009 17:05:03 +0000 (17:05 +0000)]
* Setting an error when a node isn't found isn't he best way,
need to find another way to report that.
* Fix a bug where an error was incorrectly set in xmlNodeCopyName
ehofman [Mon, 20 Apr 2009 16:46:39 +0000 (16:46 +0000)]
* fix a problem where attributes or elements starting with the same letter
sequence could give a false negative result
* Add a 'clear' attribute to the xmlErrorGet functions that indicates whether
the error should be cleared or not
* detect more xml syntax errors
torsten [Mon, 20 Apr 2009 14:20:05 +0000 (14:20 +0000)]
Implementation of ridge lift from Patrice Poly based on an algorithm of Ian Forster-Lewis
fredb [Sat, 18 Apr 2009 22:20:50 +0000 (22:20 +0000)]
errno is a reserved macro in some compilers
ehofman [Sat, 18 Apr 2009 21:28:19 +0000 (21:28 +0000)]
Fix a typo.
ehofman [Sat, 18 Apr 2009 21:25:23 +0000 (21:25 +0000)]
* Introduce a root-node that can hold extra information which is necessary
for thread safety under windows
* Add xmlErrorGetString, xmlErrorGetLineNo for syntax error detetction
* Add xmlErrGetNo for detection of, and clearing the last error
fredb [Sat, 18 Apr 2009 14:18:26 +0000 (14:18 +0000)]
Update MSVC 7.1 projects - add xmlgrep
fredb [Sat, 18 Apr 2009 14:13:13 +0000 (14:13 +0000)]
Compile xmlgrep with MSVC 7.1
ehofman [Thu, 16 Apr 2009 19:03:22 +0000 (19:03 +0000)]
* Rename xmlGetNode functions to xmlNodeGet for better consistancy
* likewise for xmlCopyNode en xmlCompareNode
* add xmlAttributeGetDouble, xmlAttributeGetInt, xmlAttributeGetString
xmlAttributeCopyString and xmlAttributeCompareString functions
* fix some small bugs and problems along the way
* add support for filtering on attribute value in xmlgrep
ehofman [Thu, 16 Apr 2009 06:48:20 +0000 (06:48 +0000)]
Sync. w. JSBSim: fix a few unexpected glitches
curt [Wed, 15 Apr 2009 18:20:29 +0000 (18:20 +0000)]
Be compatible with newer versions of tail and gnuplot.
curt [Mon, 13 Apr 2009 18:41:31 +0000 (18:41 +0000)]
newest gnuplot doesn't like the "set terminal png color" command,
change to "set terminal png"
ehofman [Mon, 13 Apr 2009 11:47:57 +0000 (11:47 +0000)]
Sync. w. JSBSim CVS
ehofman [Sun, 12 Apr 2009 11:43:06 +0000 (11:43 +0000)]
Remove unused code
frohlich [Sun, 12 Apr 2009 09:53:05 +0000 (09:53 +0000)]
Fix a problem with node traversal masks and paged model loading that
shows up as a non solid carrier under some circumstance.
Modified Files:
AIBase.cxx AIBase.hxx AIShip.cxx
ehofman [Sat, 11 Apr 2009 12:28:23 +0000 (12:28 +0000)]
Let the fog color transition into the sky dome to give a more natural effect
curt [Fri, 10 Apr 2009 18:45:41 +0000 (18:45 +0000)]
Don't compute radio station range when nav1 slaved to gps.
curt [Fri, 10 Apr 2009 18:40:54 +0000 (18:40 +0000)]
One more minor tweak on glideslope handling when slaved to gps.
curt [Thu, 9 Apr 2009 15:36:42 +0000 (15:36 +0000)]
Better handling of glide slope and in range flags when slaved to external
GPS.
ehofman [Thu, 9 Apr 2009 10:42:32 +0000 (10:42 +0000)]
Also adjust diffuse based on visibility although probably nobody will notice the difference
mfranz [Tue, 7 Apr 2009 15:05:57 +0000 (15:05 +0000)]
Ctrl-Shift-click on the '.' entry fires listeners of the parent node.
This can be used to validate atomic branches after individual members
have been changed.
(This is useful no matter how the discussion on aggregate property types
ends, and not meant to enforce/accelerate a decision.)
ehofman [Sat, 4 Apr 2009 09:20:33 +0000 (09:20 +0000)]
fog color and cloud color are the same anyhow, remove one of them in the ambient color calculation
ehofman [Fri, 3 Apr 2009 07:56:59 +0000 (07:56 +0000)]
logarithmic decrease in shinines/specular and limited linear increased ambient color due to reduced visibility.
mfranz [Thu, 2 Apr 2009 18:14:50 +0000 (18:14 +0000)]
Ron JENSEN: fix division by zero problem (asin -> atan2; navradio.cxx)
ehofman [Tue, 31 Mar 2009 08:09:11 +0000 (08:09 +0000)]
forgot one small fix
ehofman [Tue, 31 Mar 2009 08:06:17 +0000 (08:06 +0000)]
better use of const and fix a bunch of warnings
ehofman [Mon, 30 Mar 2009 20:10:41 +0000 (20:10 +0000)]
Adjust the lighting once more, the previous behavior wasn't really satisfactory to me. Now specular is also influenced by visibility.
durk [Mon, 30 Mar 2009 05:59:18 +0000 (05:59 +0000)]
Maik Justus: Crash Fix.
ehofman [Sun, 29 Mar 2009 11:41:45 +0000 (11:41 +0000)]
Adding ambient support for ac3d aircraft models reveiled a mistake in the scne ambient calculation. Decreasing visibility now increases ambient color giving a nice dark color on bright days and a much more visible color on normal days.
torsten [Sat, 28 Mar 2009 13:04:36 +0000 (13:04 +0000)]
added new features:
- conditions for InputValues
- multiple InputValues
some more code cleanup
torsten [Sat, 28 Mar 2009 13:03:46 +0000 (13:03 +0000)]
added new features:
- conditions for InputValues
- multiple InputValues
mfranz [Fri, 27 Mar 2009 20:04:42 +0000 (20:04 +0000)]
gui/embedded nasal: don't rely on the nasal system being available
ehofman [Fri, 27 Mar 2009 11:44:33 +0000 (11:44 +0000)]
Fixes:
* line 343: comparison between signed and unsigned integer expressions
* line 441: 'lon', 'lat', 'slr' and 'alt' might be used uninitialized
* line 565: enumeration value 'etUnknown' not handled in switch
mfranz [Fri, 27 Mar 2009 09:19:41 +0000 (09:19 +0000)]
Csaba HALASZ: fix uninitialized _aspect_ratio member in Main/viewer.cxx
ehofman [Thu, 26 Mar 2009 09:25:17 +0000 (09:25 +0000)]
Sync. w. JSBSIm one more time to fix at least one bug
ehofman [Wed, 25 Mar 2009 10:00:46 +0000 (10:00 +0000)]
Sync. w. JSBSim cvs
mfranz [Mon, 23 Mar 2009 18:40:46 +0000 (18:40 +0000)]
FGNasalModelData: use model XML path as module source
mfranz [Mon, 23 Mar 2009 15:23:50 +0000 (15:23 +0000)]
degrade MP chat messages from SG_ALERT fo SG_WARN
(they should not drown real error messages)
mfranz [Sun, 22 Mar 2009 18:39:47 +0000 (18:39 +0000)]
wxradar: display transponder-id by default, fall back to callsign
mfranz [Sun, 22 Mar 2009 17:04:02 +0000 (17:04 +0000)]
assign a unique module name to ai/mp embedded nasal (again): __model%u
durk [Sun, 22 Mar 2009 13:49:51 +0000 (13:49 +0000)]
Allow the AI Traffic controller to set a transponder code. This code is
used in ATC chatter, and writted to the property, so it can -in principle-
be picked up by the radar.
mfranz [Thu, 19 Mar 2009 15:08:49 +0000 (15:08 +0000)]
don't keep 'nasal-dir-initialized' node after removing
fredb [Thu, 19 Mar 2009 13:17:46 +0000 (13:17 +0000)]
Support old compilers
torsten [Thu, 19 Mar 2009 10:30:26 +0000 (10:30 +0000)]
- created a class for InputValues
- moved common code into the base class FGXMLAutoComponent
- adapted the documentation
torsten [Thu, 19 Mar 2009 10:05:47 +0000 (10:05 +0000)]
added documentation for global elements and adapted to sourcecode modifications
mfranz [Wed, 18 Mar 2009 18:24:50 +0000 (18:24 +0000)]
geodinfo: make vector origin altitude configurable
frohlich [Wed, 18 Mar 2009 07:10:49 +0000 (07:10 +0000)]
Remove unused switch node.
Modified Files:
src/Model/acmodel.cxx src/Model/acmodel.hxx
mfranz [Tue, 17 Mar 2009 22:01:34 +0000 (22:01 +0000)]
wxradar: read aircraft data from the property tree, rather than AIBase
This allows to display objects that are in /ai/models/, but not managed
by the AI manager, and it follows fgfs' design principle that subsystems
should communicate over the property tree (if possible). This is a tad
slower, but the radar is only updated once every second.
frohlich [Tue, 17 Mar 2009 12:26:27 +0000 (12:26 +0000)]
Update with changes in simgear.
Modified Files:
src/Main/renderer.cxx src/Main/main.cxx
frohlich [Tue, 17 Mar 2009 06:51:48 +0000 (06:51 +0000)]
Fix a problem with two concurent 'round to multiple of basic simulation
time' code paths. The problem may lead to skipped fdm updates at very high
frame rates. The most visible effect of that was that the aircraft
slips backwards wrt the forward moving carrier.
Remove unused stuff.
Modified Files:
configure.ac projects/VC7.1/FlightGear.vcproj
projects/VC8/FlightGearLib.vcproj src/Cockpit/cockpit.cxx
src/FDM/Makefile.am src/FDM/flight.cxx src/FDM/flight.hxx
src/FDM/SP/Balloon.cxx src/FDM/SP/BalloonSim.cpp
src/FDM/SP/BalloonSim.h src/Main/Makefile.am
src/Main/fg_init.cxx src/Main/main.cxx src/Time/Makefile.am
Removed Files:
src/Time/fg_timer.cxx src/Time/fg_timer.hxx
frohlich [Tue, 17 Mar 2009 05:33:31 +0000 (05:33 +0000)]
Remove unused stuff.
Modified Files:
src/Main/main.cxx src/Main/main.hxx
frohlich [Tue, 17 Mar 2009 05:32:39 +0000 (05:32 +0000)]
Use simgear vector instead of plib vectors.
Modified Files:
SP/Balloon.cxx SP/BalloonSim.cpp SP/BalloonSim.h
mfranz [Mon, 16 Mar 2009 23:27:27 +0000 (23:27 +0000)]
nasal syntax: handle bracket error correctly
frohlich [Mon, 16 Mar 2009 16:37:39 +0000 (16:37 +0000)]
Port over remaining Point3D usage to the more type and unit safe SG* classes.
Remove leftover headers from plib/sg.
Modified Files:
src/AIModel/AIBase.cxx
src/AIModel/AIFlightPlanCreateCruise.cxx
src/ATCDCL/AIEntity.cxx src/ATCDCL/AIEntity.hxx
src/ATCDCL/AIGAVFRTraffic.cxx src/ATCDCL/AIGAVFRTraffic.hxx
src/ATCDCL/AILocalTraffic.cxx src/ATCDCL/AILocalTraffic.hxx
src/ATCDCL/AIMgr.cxx src/ATCDCL/ATC.hxx
src/ATCDCL/ATCDialog.cxx src/ATCDCL/ATCProjection.cxx
src/ATCDCL/ATCProjection.hxx src/ATCDCL/ATCutils.cxx
src/ATCDCL/ATCutils.hxx src/ATCDCL/approach.cxx
src/ATCDCL/commlist.cxx src/ATCDCL/ground.cxx
src/ATCDCL/ground.hxx src/ATCDCL/tower.cxx
src/ATCDCL/tower.hxx src/Airports/calc_loc.cxx
src/Airports/dynamics.cxx src/Airports/groundnetwork.cxx
src/Airports/parking.cxx src/Airports/runwayprefs.cxx
src/Airports/simple.cxx src/Cockpit/cockpit.cxx
src/Cockpit/hud.hxx src/Cockpit/hud_card.cxx
src/Cockpit/hud_rwy.cxx src/Environment/environment.cxx
src/FDM/UFO.cxx src/FDM/SP/MagicCarpet.cxx src/GUI/dialog.hxx
src/Instrumentation/HUD/HUD.hxx
src/Instrumentation/HUD/HUD_runway.cxx
src/Instrumentation/KLN89/kln89.cxx src/Main/fg_init.cxx
src/Main/viewer.cxx src/Main/viewmgr.cxx
src/Model/panelnode.cxx src/MultiPlayer/mpmessages.hxx
src/Scenery/tilemgr.cxx src/Traffic/SchedFlight.cxx
src/Traffic/TrafficMgr.cxx
frohlich [Mon, 16 Mar 2009 11:57:35 +0000 (11:57 +0000)]
Remove unused variables.
Modified Files:
src/ATCDCL/AIEntity.cxx src/ATCDCL/AIEntity.hxx
src/ATCDCL/AIGAVFRTraffic.hxx src/ATCDCL/AILocalTraffic.cxx
frohlich [Mon, 16 Mar 2009 11:43:19 +0000 (11:43 +0000)]
Remove unsed code.
Modified Files:
ATCProjection.cxx ATCProjection.hxx
frohlich [Mon, 16 Mar 2009 09:47:59 +0000 (09:47 +0000)]
Make use of the fast bv intersection tests even for the croaser altitude
queries. This also fixes some issues with the carrier and the croaser
altitude values that is used when no hit is found.
Include some ifdefed out debugging code, that might be interresting.
Modified Files:
groundcache.hxx groundcache.cxx
mfranz [Sun, 15 Mar 2009 19:18:14 +0000 (19:18 +0000)]
Roy V. OVESEN: add support for heading bug
frohlich [Sun, 15 Mar 2009 18:18:21 +0000 (18:18 +0000)]
Make a simulation reset on the carrier work again.
Modified Files:
src/FDM/flight.cxx src/FDM/groundcache.cxx
src/FDM/groundcache.hxx
mfranz [Sun, 15 Mar 2009 11:45:39 +0000 (11:45 +0000)]
remove redundant checks (and one indentation level)
frohlich [Sun, 15 Mar 2009 11:26:31 +0000 (11:26 +0000)]
Fix some sim time issues with the locations of the ground cache and the
queries in there.
Modified Files:
flight.cxx flight.hxx groundcache.cxx
groundcache.hxx JSBSim/JSBSim.cxx YASim/YASim.cxx
YASim/YASim.hxx
frohlich [Sun, 15 Mar 2009 11:05:28 +0000 (11:05 +0000)]
The simtime alread contains the increment. So do not add that twice.
Modified Files:
src/AIModel/AIShip.cxx
mfranz [Sun, 15 Mar 2009 10:44:37 +0000 (10:44 +0000)]
Merge branch 'master' of ../.fg.osg
frohlich [Sat, 14 Mar 2009 12:27:12 +0000 (12:27 +0000)]
Set the reference time the transform is meant for.
Modified Files:
src/AIModel/AICarrier.cxx src/AIModel/AIShip.cxx
torsten [Fri, 13 Mar 2009 22:35:37 +0000 (22:35 +0000)]
Add documentation of new <condition> element
frohlich [Thu, 12 Mar 2009 19:37:32 +0000 (19:37 +0000)]
Fix cmpiler warning.
Modified Files:
Rotorpart.cpp Rotorpart.hpp
frohlich [Thu, 12 Mar 2009 18:34:57 +0000 (18:34 +0000)]
Adapt to SGTimeStamp changes.
Modified Files:
configure.ac src/Cockpit/panel.cxx src/FDM/Makefile.am
src/FDM/flight.hxx src/FDM/ExternalNet/ExternalNet.hxx
src/Instrumentation/marker_beacon.cxx src/Main/Makefile.am
src/Main/fg_init.cxx src/Main/main.cxx
src/MultiPlayer/multiplaymgr.cxx src/Time/fg_timer.cxx
utils/GPSsmooth/MIDG_main.cxx utils/GPSsmooth/UGear_main.cxx
utils/GPSsmooth/gps_main.cxx
fredb [Thu, 12 Mar 2009 07:50:36 +0000 (07:50 +0000)]
Update MSVC 7.1 projects
fredb [Thu, 12 Mar 2009 07:50:01 +0000 (07:50 +0000)]
Win32 fix
frohlich [Thu, 12 Mar 2009 06:21:35 +0000 (06:21 +0000)]
Improove FGTileMgr::scenery_available for small ranges.
Use SGGeod in FGTileMgr, FGScenery apis.
Modified Files:
src/AIModel/AIBallistic.cxx src/Main/main.cxx
src/Scenery/scenery.cxx src/Scenery/scenery.hxx
src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx
src/Scripting/NasalSys.cxx
frohlich [Thu, 12 Mar 2009 06:18:53 +0000 (06:18 +0000)]
More robust behaviour when the tilemanager reports 'no scenery'.
Insert log if this happens.
Modified Files:
flight.cxx groundcache.cxx
mfranz [Thu, 12 Mar 2009 00:05:45 +0000 (00:05 +0000)]
add <label-offset> param for adjusting number labels in scales
mfranz [Wed, 11 Mar 2009 21:21:24 +0000 (21:21 +0000)]
restore consistent coding-style; remove obsolete code; fix typo
mfranz [Wed, 11 Mar 2009 19:10:12 +0000 (19:10 +0000)]
allow to change/reload HUD by setting path in /sim/path/path[1]
frohlich [Wed, 11 Mar 2009 05:36:29 +0000 (05:36 +0000)]
Avoid casts if there is a method for the apropriate job.
Modified Files:
src/Main/main.cxx
torsten [Mon, 9 Mar 2009 22:25:51 +0000 (22:25 +0000)]
Make hardcoded error values configurable.
This patch introduces the optional elements
<config>
<spin-thresh>0.8</spin-thresh>
<max-roll-error-deg>40</max-roll-error-deg>
<max-pitch-error-deg>12</max-pitch-error-deg>
</config>
under the corresponding /instrumentation/attitude-indicator element.
The values are initialized to the shown default values if omitted.
These are the values of the former hardcoded constants.
durk [Sun, 8 Mar 2009 17:14:05 +0000 (17:14 +0000)]
A set of additions related to allow the use of SID and STAR procedures.
The current code still has some rough edges, in particular memory still
needs to be deallocated where possible, and the actual use of the code
needs more testing. This code has been running without noticable problems,
so I think it's ready for some wider exposure. Detailed changes include:
- Finetuning of the SID/STAR data concept.
- Preloading of all SIDs, from one xml file.
- ATC determines which SID should be used and echoes this over the com1 or
com2 radio.
frohlich [Sun, 8 Mar 2009 10:09:28 +0000 (10:09 +0000)]
Fix problem introduced with yesterdays viewer change.
Modified Files:
src/Main/viewer.cxx
frohlich [Sat, 7 Mar 2009 21:48:26 +0000 (21:48 +0000)]
Silence valgrind error.
Modified Files:
src/Main/viewer.cxx
mfranz [Sat, 7 Mar 2009 17:57:20 +0000 (17:57 +0000)]
don't call change-only listeners at first trigger event
frohlich [Sat, 7 Mar 2009 15:21:13 +0000 (15:21 +0000)]
Avoid SGLocation usage.
Again, the previous commit did not complete for some reason.
Modified Files:
configure.ac src/AIModel/AIBase.cxx
src/ATCDCL/AILocalTraffic.cxx src/FDM/Makefile.am
src/FDM/flight.hxx src/FDM/LaRCsim/LaRCsim.cxx
src/Main/Makefile.am src/Main/fg_init.cxx src/Main/main.cxx
src/Main/viewer.cxx src/Main/viewer.hxx
src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx
frohlich [Sat, 7 Mar 2009 15:02:20 +0000 (15:02 +0000)]
Avoid SGLocation usage.
Modified Files:
configure.ac src/AIModel/AIBase.cxx
src/ATCDCL/AILocalTraffic.cxx src/FDM/Makefile.am
src/FDM/flight.hxx src/FDM/LaRCsim/LaRCsim.cxx
src/Main/Makefile.am src/Main/fg_init.cxx src/Main/main.cxx
src/Main/viewer.cxx src/Main/viewer.hxx
src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx
frohlich [Sat, 7 Mar 2009 13:32:41 +0000 (13:32 +0000)]
ompute some vectors from the current view when they are used.
Simplifies the update hell in the viewer a bit.
Modified Files:
src/Main/renderer.cxx src/Main/viewer.cxx src/Main/viewer.hxx
src/Time/tmp.cxx
frohlich [Sat, 7 Mar 2009 11:47:54 +0000 (11:47 +0000)]
Remove SGLocation based api.
Modified Files:
src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx
frohlich [Sat, 7 Mar 2009 11:44:39 +0000 (11:44 +0000)]
Use the positon from the model placment.
Use SGGeod based apis in the scenery/tilemanager.
Remove ground query that is no longer used.
Modified Files:
src/Main/main.cxx
frohlich [Sat, 7 Mar 2009 11:43:25 +0000 (11:43 +0000)]
Use the position from the model placement.
Modified Files:
src/Sound/fg_fx.cxx
frohlich [Sat, 7 Mar 2009 11:37:29 +0000 (11:37 +0000)]
Use api's with objects instead of scalars.
Modified Files:
src/AIModel/AIAircraft.cxx
frohlich [Sat, 7 Mar 2009 11:29:32 +0000 (11:29 +0000)]
Use an AIEntity variable for the ground elevation instead of SGLocation.
Modified Files:
AIEntity.cxx AIEntity.hxx AILocalTraffic.cxx
frohlich [Sat, 7 Mar 2009 11:26:00 +0000 (11:26 +0000)]
Use new function.
Modified Files:
src/FDM/groundcache.cxx
frohlich [Sat, 7 Mar 2009 11:24:47 +0000 (11:24 +0000)]
Add scenery functions working on SGGeod in place of SGLocation.
frohlich [Fri, 6 Mar 2009 16:37:12 +0000 (16:37 +0000)]
Update groundcache api:
Make leaner interfaces to the groundcache.
Remove legacy interfaces.
Update users of them.
Add new query routines for 'nearest point' and 'body with given id'.
Modified Files:
src/FDM/flight.cxx src/FDM/flight.hxx src/FDM/groundcache.cxx
src/FDM/groundcache.hxx src/FDM/JSBSim/JSBSim.cxx
src/FDM/JSBSim/JSBSim.hxx src/FDM/YASim/FGGround.cpp
src/FDM/YASim/FGGround.hpp src/FDM/YASim/Gear.cpp
src/FDM/YASim/Gear.hpp src/FDM/YASim/Ground.cpp
src/FDM/YASim/Ground.hpp src/FDM/YASim/Model.cpp
frohlich [Thu, 5 Mar 2009 06:07:08 +0000 (06:07 +0000)]
Set the motion transform id in the collection step.
Modified Files:
src/FDM/groundcache.cxx
frohlich [Tue, 3 Mar 2009 07:58:20 +0000 (07:58 +0000)]
Casaba Halász: Fix some const warnings.
Modified Files:
src/FDM/YASim/Rotor.cpp src/FDM/YASim/Rotor.hpp
src/GUI/fonts.cxx
frohlich [Tue, 3 Mar 2009 07:54:39 +0000 (07:54 +0000)]
Remove the StaticLeaf visitor methods.
Modified Files:
src/FDM/groundcache.cxx