ehofman
9e36b86756
* changes to the code to allow walking the xml-tree using "*" as a node name
2009-05-02 00:44:22 +02:00
ehofman
bdccfb587d
brighten te sky color towards the sun at dusk and dawn
2009-05-02 00:44:21 +02:00
ehofman
19c463f810
Ouch, forgot to allocate memory for the root node in xmlInitBuffer. Update xmlgrep to allow compiling it using xmlInitBuffer instead of xmlOpen
2009-05-02 00:44:21 +02:00
ehofman
ee34e97ada
zero is a valid file descriptor, use -1 instead and better not use 'open' as a variable name.
2009-05-02 00:44:21 +02:00
ehofman
228c7aaaa0
* 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
2009-05-02 00:44:21 +02:00
ehofman
1f40ee2366
fix a buffer overflow
2009-05-02 00:44:21 +02:00
ehofman
e0528fc2d4
catch one more syntax error and remove a stale debug printf
2009-05-02 00:44:21 +02:00
torsten
c8d321f3b9
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.
2009-05-02 00:44:21 +02:00
ehofman
0654531fff
* add support for comments inside xml-tags, e.g.: <test><!-- --></test>
2009-05-02 00:44:21 +02:00
ehofman
8862b3e2b3
* add support for self-contained tags like <test/>
...
* fix a problem if a file could not be mmaped
* add a few comments which hopefully makes the code easier to understand
* code cleanups
2009-05-02 00:44:21 +02:00
torsten
1ce2924c28
one final(?) cleanup:
...
- no need for sign() to be a class member
- rename local ground elevation variable and make it method local
2009-05-02 00:44:21 +02:00
torsten
6af3e0eec3
- avoid duplicate computations
...
- move local variables out of the class into the methods
- use SG_xxx constants where applicable
- use indexed properties instead of _0, _1, ...
- code cleanup
2009-05-02 00:44:21 +02:00
torsten
2f868fb68e
Melchior FRANZ: fix array subscript is above array bounds
2009-05-02 00:44:21 +02:00
torsten
4b9a8ae9e4
Patrice Poly: correction for the lee side
...
attempt to fix nan issue
2009-05-02 00:44:21 +02:00
fredb
9e52e8ddb8
Update MSVC 7.1 projects - add ridge lift
2009-05-02 00:44:21 +02:00
fredb
7b20e6caa4
Remove spurious semi-colon
2009-05-02 00:44:20 +02:00
ehofman
8d85732a7d
fix a case where a single-element root path (e.g. /printer) would not pass xmlNodeGetPath
2009-05-02 00:44:20 +02:00
torsten
2fc7f94154
restoring original copyright of David Culp
2009-05-02 00:44:20 +02:00
ehofman
0561c0079a
* 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
2009-05-02 00:44:20 +02:00
ehofman
8dec4a987f
* 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
2009-05-02 00:44:20 +02:00
torsten
7e3531ef5c
Implementation of ridge lift from Patrice Poly based on an algorithm of Ian Forster-Lewis
2009-05-02 00:44:20 +02:00
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