Anders Gidenstam
a2972051a9
Added an --materials-file option to select the materials file to use at startup.
...
The property /sim/rendering/materials-file can also be used for this purpose.
2011-09-03 21:48:50 +02:00
Durk Talsma
77e844a78d
Merge branch 'next' of git@gitorious.org:fg/flightgear into next
2011-09-03 11:40:51 +02:00
Durk Talsma
e65f53b571
Read groundnet node information from the scenery, and (optionally) write it to a cache file. Note that this mechanism should be extended, so that the cache files will be updated whenever the terrain files are changing. The current patch also uncovers a bug, in the sense that the groundnetwork destructor is never called. Presumably this is due to the way airports are allocated in flightgear. Because the ground networks are never saved, I am periodically saving the cache files; but this behavior should probably be changed later on.
...
The current patch incorporates work contributed by Adrian Musceac.
2011-09-03 11:26:17 +02:00
Dmitry Marakasov
a3df9dd120
Fix bashisms in configure.ac
2011-09-01 23:01:48 +04:00
Mathias Froehlich
1c1722a2e9
Adapt to recent simgear hla/rti changes.
2011-08-31 20:02:00 +02:00
Torsten Dreyer
f835561fbe
Fix typo
2011-08-31 19:54:59 +02:00
James Turner
ab96d0b966
Fix utilities linkage, add OpenThreads
2011-08-31 03:08:52 -07:00
Torsten Dreyer
d83715903a
Fix cmake build with SP_FDMS (missing BalloonSim.cxx)
2011-08-29 21:09:26 +02:00
Erik Hofman
1e9120a8ac
Add proper conversion factor
2011-08-29 18:34:57 +02:00
Torsten Dreyer
b4400f8316
Add convenience std::string versions for fg[G|S]etXXX
...
Add inline wrappers functions for fgGetXXX and fgSetXXX
to make life with std::string easier
2011-08-27 17:19:36 +02:00
Torsten Dreyer
7ae9122f4e
Final warning before egt_degf gets purged
2011-08-26 14:05:38 +02:00
Torsten Dreyer
54f1b83f98
refactor the realwx-controller
...
clean up the code and prepare for new real-weather sources
2011-08-26 09:01:31 +02:00
Torsten Dreyer
4599893fa9
fix #416 : reciprocal filter broken
2011-08-25 22:25:20 +02:00
James Turner
59883995be
Update VisualStudio projects to link against Winsock2 instead of Winsock1
2011-08-25 20:05:17 +01:00
ThorstenB
cc020fe9df
Avoid excessive load when no navaids are in range
...
When no navaid is found, '_ref_navaid_id_node->setStringValue("")' results
in a listener firing, which requests another navaid update when no navaid
is available.
=> Resulted in FGPositioned::findClosest being called in every update loop,
when no navaid was within range.
2011-08-24 23:17:05 +02:00
James Turner
557c95a5ec
Change default (non-set) MP hosts to be an empty string instead of '0'
2011-08-24 09:44:52 +01:00
James Turner
51e307a742
Make errno dependency explicit, since raw_socket.hxx won't expose it, soon.
2011-08-23 10:25:17 +01:00
Torsten Dreyer
b82ea065c3
Add the frequency to the navinfo hash
2011-08-22 09:18:04 +02:00
ThorstenB
d76a0b09f8
Use SG_LOG(&strerror) instead of "perror".
...
Also clean-up some error messages.
2011-08-20 23:13:42 +02:00
ThorstenB
cf2236351c
Avoid some useless file accesses
...
Empty "markers" in between scenery search paths shouldn't be
considered when building search paths.
2011-08-20 23:13:27 +02:00
ThorstenB
18983c5387
Avoid "no disk in drive" popups on Win7 systems
...
Stray accesses to exchangeable drives cause pop-up error boxes on
Win7 systems, blocking the entire process.
2011-08-20 23:13:17 +02:00
Torsten Dreyer
3fbbe3134a
new global function for aircraft position
...
add a new function to get the aircraft's position instead
of reading /position/* properties
2011-08-20 08:54:47 +02:00
ThorstenB
104507ad8b
#410 : multiplay manager reporting errors
...
receive on a non-blocking socket may return 0, which does not indicate an
error - and does not mean "errno" was upated. So do not check "errno",
errors there belong to calls elsewhere...
Error message apparently triggered constantly with FG2.4.0 on Windows.
2011-08-18 22:36:44 +02:00
ThorstenB
ae6623655c
#403 : 2D horizontal scrolling on Mac OS
...
Ignore events with X-axis scrolling only (getScrollingDeltaY() == 0).
Thanks to Tatsuhiro Nishioka.
2011-08-18 21:32:24 +02:00
Frederic Bouvier
8e5e8fc14f
Don't put the version in registry keys to propagate settings from version to version and avoid leftovers
2011-08-17 07:56:11 +02:00
Curtis L. Olson
a5de08e240
Fix a couple issues with non-referenced files missing from the source
...
distribution (and thus breaking the build.)
2011-08-15 22:50:39 -05:00
Frederic Bouvier
0362af3f64
MS VC8/VS2005 project files are deprecated and unmaintained
2011-08-15 19:42:32 +02:00
Frederic Bouvier
1c1947eab2
Remove obsolete msvc build files
2011-08-15 19:29:27 +02:00
ThorstenB
f22a36c59c
Fix replay NaN issue due to unrecorded/uninitialized data.
...
Replay was setting spoiler/speedbrake properties, however these were never
recorded/initialized, resulting in NaNs being introduced.
2011-08-13 16:53:47 +02:00
ThorstenB
20914e49cd
Tatsuhiro Nishioka: #403 , scroll up/down for Mac OS
...
Support osgViewer's Scroll_2D event (so far only available for Mac)
2011-08-12 23:28:57 +02:00
ThorstenB
28496bb6ac
#359 : jumping mouse control axis in "constrained" mouse modes
...
Experimental patch - let's see if this helps those who saw the issue,
otherwise we'll try a different patch...
2011-08-12 00:24:25 +02:00
ThorstenB
e9a9f8c96d
Use some more logging class variety.
...
Stop using SG_GENERAL and SG_ALL everywhere. Using different
classes makes switching the classes really useful...
2011-08-12 00:09:26 +02:00
Vivian Meazza
ce97a1e4c5
Bugfix: Ballistic objects with "expiry" set were not instantiating correctly.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-08-11 21:46:51 +02:00
Mathias Froehlich
5093cbed43
Do not delete disabled network protocols twice.
2011-08-11 20:35:44 +02:00
Durk Talsma
cfa08438ae
Merge branch 'durk-atc' into next
2011-08-10 21:42:12 +02:00
Durk Talsma
552aa5419f
Some fine tuning of the ATC messages related to ground to tower transfer.
...
Removal of obsolete debugging messages. Let's hope I caught them all.
2011-08-10 21:39:28 +02:00
ThorstenB
5bd8828fe6
Allow bidirectional support for generic interfaces.
2011-08-10 00:05:10 +02:00
Durk Talsma
b603344d69
Merge branch 'next' into durk-atc
2011-08-09 20:09:14 +02:00
Torsten Dreyer
1e7d072eed
Add LOD to each AI model
...
Add a LOD (range animation) to each AI model if the property
/sim/rendering/static-lod/ai is set to any number greater than
zero. AI models get loaded but only displayed when closer than
the number given in the property (in meters).
If the property is absent or it's value is less or equal 0.0
than no LOD is added to the AI model.
2011-08-09 18:02:37 +02:00
Frederic Bouvier
5e30675c70
Fix issue #398 : Menubar - Help > Help opens strange path when including space character
2011-08-08 23:26:58 +02:00
Durk Talsma
8212c88969
Fix state changes related to hold position and resume taxi ATC instruction.
2011-08-08 21:50:44 +02:00
Durk Talsma
b5025ccf5d
Merge branch 'next' into durk-atc
2011-08-08 20:20:21 +02:00
James Turner
a18dc00f4a
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-08-08 18:17:15 +01:00
James Turner
3c9f4ad73e
Switch RealWx to use simgear::HTTP class. Also tweak metar-proxy to send a HTTP status response.
2011-08-08 18:16:49 +01:00
Mathias Froehlich
fc38d69823
Fixes #397 : YASim aircraft start at >32000ft instead of runway
...
The usual 'modify code before checkin but past testing' Problem.
Return the elevation of the intersection result instead of the
elevation of the querys start point.
2011-08-08 19:12:14 +02:00
Durk Talsma
5f3804e816
AI/ATC enhancements:
...
- Better transistion between taxi and takeoff phases.
- Skipping the pushback stages when a gate doesn't require push-back.
- Some test code always chooses the user aircraft as the one that has to hold position.
2011-08-07 21:38:50 +02:00
Frederic Bouvier
c28825d9de
More work toward an international fgadmin
2011-08-07 20:26:34 +02:00
Frederic Bouvier
db85ebff95
Typo in project file
2011-08-07 20:02:09 +02:00
Frederic Bouvier
74d9e3f225
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
2011-08-07 19:51:11 +02:00
Frederic Bouvier
3a17ef2f1a
Get rid of plib to enumerate files. Get a list of files when the directory names contains UTF-8 characters. Doesn't fix issues #394 though because untarka functions should be utf-8 aware
2011-08-07 19:50:35 +02:00