1
0
Fork 0
Commit graph

7840 commits

Author SHA1 Message Date
fredb
3bb6d99542 errno is a reserved macro in some compilers 2009-05-02 00:44:20 +02:00
ehofman
54496730cd Fix a typo. 2009-05-02 00:44:20 +02:00
ehofman
a21dddeffc * 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
2009-05-02 00:44:20 +02:00
fredb
a6563c402c Update MSVC 7.1 projects - add xmlgrep 2009-05-02 00:44:20 +02:00
fredb
e00c4b98ce Compile xmlgrep with MSVC 7.1 2009-05-02 00:44:20 +02:00
ehofman
8943603ef1 * 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
2009-05-02 00:44:20 +02:00
ehofman
86b34010f3 Sync. w. JSBSim: fix a few unexpected glitches 2009-05-02 00:44:20 +02:00
curt
c74cdade0b Be compatible with newer versions of tail and gnuplot. 2009-04-15 23:19:30 +02:00
curt
3b478871dd newest gnuplot doesn't like the "set terminal png color" command,
change to "set terminal png"
2009-04-15 23:19:30 +02:00
ehofman
720b6fa3f6 Sync. w. JSBSim CVS 2009-04-15 23:19:30 +02:00
ehofman
71c9cb9f48 Remove unused code 2009-04-15 23:19:30 +02:00
frohlich
58a427fb12 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
2009-04-15 23:19:30 +02:00
ehofman
30ae6e0564 Let the fog color transition into the sky dome to give a more natural effect 2009-04-15 23:19:30 +02:00
curt
6eec37b1f9 Don't compute radio station range when nav1 slaved to gps. 2009-04-15 23:19:30 +02:00
curt
d83286354c One more minor tweak on glideslope handling when slaved to gps. 2009-04-15 23:19:30 +02:00
curt
12c5a631f6 Better handling of glide slope and in range flags when slaved to external
GPS.
2009-04-15 23:19:30 +02:00
ehofman
2923bd15bc Also adjust diffuse based on visibility although probably nobody will notice the difference 2009-04-15 23:19:29 +02:00
mfranz
a57b626633 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.)
2009-04-15 23:19:29 +02:00
ehofman
c2af121c00 fog color and cloud color are the same anyhow, remove one of them in the ambient color calculation 2009-04-15 23:19:29 +02:00
ehofman
846d756e55 logarithmic decrease in shinines/specular and limited linear increased ambient color due to reduced visibility. 2009-04-15 23:19:29 +02:00
mfranz
0ec4bf22bf Ron JENSEN: fix division by zero problem (asin -> atan2; navradio.cxx) 2009-04-15 23:19:29 +02:00
ehofman
aa30b94750 forgot one small fix 2009-04-15 23:19:29 +02:00
ehofman
306668887a better use of const and fix a bunch of warnings 2009-04-15 23:19:29 +02:00
ehofman
b7e8be8ceb Adjust the lighting once more, the previous behavior wasn't really satisfactory to me. Now specular is also influenced by visibility. 2009-04-15 23:19:29 +02:00
durk
3edf4f35ea Maik Justus: Crash Fix. 2009-04-01 09:23:55 +02:00
ehofman
48ac04456f 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. 2009-04-01 09:23:55 +02:00
torsten
b0dd43e022 added new features:
- conditions for InputValues
- multiple InputValues
some more code cleanup
2009-04-01 09:23:55 +02:00
torsten
57e6d292a0 added new features:
- conditions for InputValues
- multiple InputValues
2009-04-01 09:23:55 +02:00
mfranz
6a590ce9de gui/embedded nasal: don't rely on the nasal system being available 2009-04-01 09:23:54 +02:00
ehofman
1a1b11b96c 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
2009-04-01 09:23:54 +02:00
mfranz
35ed31972a Csaba HALASZ: fix uninitialized _aspect_ratio member in Main/viewer.cxx 2009-04-01 09:23:54 +02:00
ehofman
81b9bb61e5 Sync. w. JSBSIm one more time to fix at least one bug 2009-04-01 09:23:54 +02:00
ehofman
27a7305736 Sync. w. JSBSim cvs 2009-04-01 09:23:54 +02:00
mfranz
3930967645 FGNasalModelData: use model XML path as module source 2009-04-01 09:23:54 +02:00
mfranz
5b32c9ab1c degrade MP chat messages from SG_ALERT fo SG_WARN
(they should not drown real error messages)
2009-04-01 09:23:54 +02:00
mfranz
16dd71a044 wxradar: display transponder-id by default, fall back to callsign 2009-04-01 09:23:54 +02:00
mfranz
de35bbe4ed assign a unique module name to ai/mp embedded nasal (again): __model%u 2009-04-01 09:23:54 +02:00
durk
c478cdd35f 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.
2009-04-01 09:23:54 +02:00
mfranz
b07eec93f1 don't keep 'nasal-dir-initialized' node after removing 2009-04-01 09:23:54 +02:00
fredb
9ff286ea01 Support old compilers 2009-04-01 09:23:54 +02:00
torsten
abcc94d8ee - created a class for InputValues
- moved common code into the base class FGXMLAutoComponent
- adapted the documentation
2009-04-01 09:23:54 +02:00
torsten
042d17dee2 added documentation for global elements and adapted to sourcecode modifications 2009-04-01 09:23:54 +02:00
mfranz
27389e0742 geodinfo: make vector origin altitude configurable 2009-04-01 09:23:54 +02:00
frohlich
5af98c0063 Remove unused switch node.
Modified Files:
	src/Model/acmodel.cxx src/Model/acmodel.hxx
2009-04-01 09:23:53 +02:00
mfranz
3cdd8fedf6 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.
2009-03-18 08:00:09 +01:00
frohlich
5168166a9f Update with changes in simgear.
Modified Files:
 	src/Main/renderer.cxx src/Main/main.cxx
2009-03-18 08:00:09 +01:00
frohlich
183b871b48 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
2009-03-18 08:00:09 +01:00
frohlich
aadf568c91 Remove unused stuff.
Modified Files:
 	src/Main/main.cxx src/Main/main.hxx
2009-03-18 08:00:09 +01:00
frohlich
22888ca8a5 Use simgear vector instead of plib vectors.
Modified Files:
	SP/Balloon.cxx SP/BalloonSim.cpp SP/BalloonSim.h
2009-03-18 08:00:09 +01:00
mfranz
4e13f8e4a0 nasal syntax: handle bracket error correctly 2009-03-18 08:00:09 +01:00