jmt
110dd605a0
Fix unrealistic-but-convenient direct-drive from the route-manager to the autopilot code. A new boolean config prop, 'drive-autopilot' exists, to disable this behaviour.
2009-10-12 07:56:15 +02:00
jmt
bde366e0e3
Make GPS slaved mode on the navradio slightly more robust. Not done yet.
2009-10-12 07:55:51 +02:00
jmt
3637482916
Fix various route-manager issues - HUD display of waypoints, some potential divide-by-zeroes when paused or stationary, and Win32 compilation.
2009-10-12 07:54:09 +02:00
ehofman
33e816abb9
Split up FGFX into a dedicated effects class (FGFX) and a sample queue class. Register the sample queue cass as 'queue' at the SoundManager and tie it to the listener position.
2009-10-08 10:38:10 +02:00
ehofman
c56113d0dd
add the option to tie a SampleGroup to the listener position and orientation
2009-10-08 10:38:05 +02:00
jmt
bc7ac3493e
Refactor airway code to use SGGeod in external APIs. First of various changes to make airways more useful in GPS/FMS modules.
2009-10-08 10:37:21 +02:00
jmt
cb6647ff13
Fix an issue which VC90 warns about - using 'this' in initialiser lists.
2009-10-07 08:26:23 +02:00
jmt
4b5518808b
Use boost string algorithms to avoid dependence on C-library extensions missing in MSVC. Also they're just nicer.
2009-10-07 08:26:10 +02:00
jmt
72d9c254f4
Numerical robustness for the GPS code, when dt or last_speed_kts is zero.
2009-10-07 08:26:00 +02:00
jmt
23ce537168
Update for screen-dumps in PNG format instead of PPM.
2009-10-07 08:24:59 +02:00
ehofman
5107a9d07f
(try to) properly align model and viewer
2009-10-07 08:23:41 +02:00
Tim Moore
696007e503
include header for auto_ptr
2009-10-06 11:20:19 +02:00
jmt
d784810430
Land the GPS/route-manager re-write. Many things are better, many other things will be better, some things are no doubt broken. Please be patient and report problems on the mailing list.
2009-10-06 10:44:01 +02:00
ehofman
b64259b295
allow disabling sound completely (note: openal gets initialized but shuts down a bit later leaving the soundmanager to handle only very specific commands). At this time by specifying '--prop:/sim/sound/enabled=false', not sure why '--disable-sound' doesn't work properly
2009-10-06 10:23:15 +02:00
ehofman
446b200edc
Add the Sound Manager before any other subsystem that uses it. This makes sure the SoundMgr is available at construction time which makes the code much cleaner. Call the update_last() after any other class
2009-10-06 10:23:03 +02:00
ehofman
86f462933d
Initial commit of the new sound system, expect more updates to follow
2009-10-06 10:22:09 +02:00
Tim Moore
5f134cdec8
Merge branch 'topic/atis' into merge/master-atis
2009-10-06 10:21:19 +02:00
jmt
2d5924939e
Extend FGPositioned API to support queries by name as well as ident.
2009-10-06 07:29:03 +02:00
jmt
5c2dbb4239
Extender iterative search APIs with a 'has-next' return arg, to enable better iteration UI.
2009-10-06 07:28:38 +02:00
durk
b40321380d
New feature: Allow the loading of shared models that are not located inside
...
the base package, but are maintained in the SVN repository of the custom
scenery project.
2009-10-06 07:27:39 +02:00
jmt
90106c59ce
Dialog support for conditional enable and visible flags, and re-running layout when conditions change. Used by the GPS code, but potentially in many other places I expect.
2009-10-04 02:06:48 +02:00
jmt
26cd4f92c5
Fix another crash in the autobrake code, with 'aircraft' (eg, ATC) with no weight-on-wheels flag. Thanks to Jacob Burbach for the report.
2009-10-04 02:05:51 +02:00
durk
47a7952f89
Stuart Buchanan:
...
Improvements to the cloudsystem:
- A new xml format
- Texture indexing based on the position of the sprite in the cloud
mass, allowing more control over the texture set.
- Improved fog and shading
- Better sprite distribution
- A more natural distribution of clouds, so no more obvious grids.
2009-10-04 02:05:08 +02:00
jmt
c08cc9693e
Bugfix use of type checks in FGPositioned::findAllWithIdentSortedByRange
2009-10-04 02:04:18 +02:00
torsten
26859ad4b9
Non platform specific:
...
- normalize axes events
- handle relative and absolute axes separately in own classes
- ignore tolerance for relative axes, they can fire the same event multiple times which must not be ignored.
2009-10-04 02:02:47 +02:00
Tim Moore
4023bdaf26
Merge branch 'jmt/navradio'
...
The previous merge claimed to have merged this branch; it didn't because
I had reset the branch to someplace weird.
2009-10-01 23:50:21 +02:00
Tim Moore
8b10bb12f5
Merge branches 'jmt/navradio', 'jmt/cleanup' and 'torsten/gps-fix'
2009-10-01 15:17:24 +02:00
curt
28b847da09
Smooth out the time-to-intercept radial computation so it's a bit more useful.
2009-10-01 00:16:30 +02:00
Tim Moore
9ebd19babf
Use boost::to_lower_copy instead of function from simgear
...
The simgear function is about to get removed.
2009-10-01 00:15:37 +02:00
jmt
4ec0d64c50
Allow airports system to function without an environment manager - useful in some tests I'm writing.
2009-09-30 08:14:39 +02:00
jmt
e1555ba9a5
Positioned support for adding user waypoints.
2009-09-30 08:13:09 +02:00
Tim Moore
d59088dc1a
Try to improve frame rate and reduce jitter
...
Signed-off-by: v meazza <vivian.meazza@lineone.net>
Conflicts:
src/AIModel/AIGroundVehicle.cxx
2009-09-30 08:08:09 +02:00
jmt
5755b7ae0e
Further extensions to FGPositioned to support ongoing GPS work.
2009-09-29 00:01:56 +02:00
jmt
04b30f322d
Extend FGPositioned to allow mapping from a string to a type.
2009-09-29 00:01:47 +02:00
daveluff
57d5e18074
Remove the GPSPage base class, that only KLN89Page was derived from.
2009-09-28 23:56:23 +02:00
jmt
739196c912
Refactor the XMLAuto parsing code to no longer warn about every node handled by the base class (FGXMLAutoComponent). As a side effect, issue better warnings when an unrecognised node is encountered.
2009-09-23 23:11:07 +02:00
Tim Moore
13ff5da4be
Merge branch 'jmt/reciprocal'
2009-09-23 07:44:02 +02:00
torsten
eb8dd47971
Alex Buzin: Fix wrong calculation of temperature and dewpoint
2009-09-22 22:51:46 +02:00
jmt
4ccef76fc4
Auto-brake enhancements: support for JSBSim aircraft, Airbus-style combined MAX/RTO modes, correct disengage behaviour and more disengage conditions.
2009-09-22 22:51:29 +02:00
torsten
27d68533d7
Catch a possible NAN at insanely low but greater than zero speeds
2009-09-22 22:48:14 +02:00
jmt
289023da1d
Don't crash with UFO FDM, etc, or other FDMs that don't define global props needed - just go into passive mode.
2009-09-21 22:51:40 +02:00
jmt
263ff7d93d
Don't look for /velocities/groundspeed-kts during initialisation.
2009-09-21 22:51:40 +02:00
jmt
4d67c69462
A generic, configurable autobrake system. Not fully features yet, but works quite nicely in the 777, including RTO modes and auto-disengage on pilot input.
2009-09-21 22:51:40 +02:00
torsten
3714a0ef51
Fix the temperature computation.
2009-09-20 22:51:36 +02:00
torsten
694cae5e91
Ron Jensen:
...
While troubleshooting the new environment I discovered the metar station
elevation (station_elevation_ft) is never being set because there is a
local variable that overrides it.
2009-09-20 22:51:36 +02:00
Tim Moore
6db8687a75
Merge branch 'tat/configure'
2009-09-20 22:44:58 +02:00
jmt
b49ad1aaed
Remove plib/fnt.h from panel header.
2009-09-20 16:46:32 +02:00
jmt
9d97531b82
Replace one SGD_ constant with a local one, in LaRCsim.
2009-09-20 16:46:32 +02:00
jmt
59895306a5
Remove <plib/sg> includes.
2009-09-20 16:46:32 +02:00
jmt
956ecf1cf2
Remove use of plig/sg from render-area-2d.
2009-09-20 00:20:17 +02:00
jmt
0dbf2de0b6
Remove audio update from main.cxx, back to FGFX (but keep the timing-dependent piece done artificially late)
2009-09-20 00:20:17 +02:00
jmt
0c8c8380b1
Break viewmgr.hxx dependency on on viewer.hxx.
2009-09-20 00:20:17 +02:00
Tim Moore
f4a8570cdd
use boost::tie instead of make_ref
2009-09-19 23:55:09 +02:00
Csaba Halasz
a71a5cdf45
fix ATIS on 64bit machines
2009-09-19 23:50:41 +02:00
v meazza
179186e414
MSVC fixes for atis merge.
...
Avoid dynamic arrays such as char msg[len]; they are a gcc-ism.
2009-09-19 23:50:31 +02:00
jmt
3c84e07a25
FGFX clean-ups, conversion of one more sgVec user.
2009-09-19 12:10:17 +02:00
Tim Moore
08c0556dc7
Merge branch 'vivian/train' into next
2009-09-18 22:04:52 +02:00
Tim Moore
a9c47780a8
Merge branch 'jmt/cleanup' into next
2009-09-18 21:56:38 +02:00
Tim Moore
7a14ec7e32
Merge branch 'jd/atis' into next
2009-09-18 21:52:30 +02:00
jmt
05626756e7
Put back an unfortunate include, until ViewMgr can be fixed to not inline FGViewer destructor calls.
2009-09-18 20:25:54 +02:00
jmt
3c62011f03
Drat, this is really needed. Yuck, yuck, yuck.
2009-09-18 20:25:54 +02:00
jmt
8b649b06c4
Header clean-ups in viewer/view-mgr.
2009-09-18 20:25:54 +02:00
jmt
14a09673b9
ATIS overhaul by John Denker, adapted to trunk by me.
...
8:: AWOS is available at AWOS locations. (Previously only ATIS was
implemented.)
9:: ATIS phraseology now more nearly conforms to international
standard METAR pattern, and therefore to usual FAA practice.(*)
Items marked with a (*) are fully implemented in the /text/ of the
ATIS message, but the voiced version of the message is degraded by
limitations of the FGFS built-in text-to-speech system.
10:: ATIS now reports sky condition.(*)
11:: ATIS now reports multiple layers of clouds, not just the lowest
layer.(*)
12:: ATIS now takes field elevation into account when calculating
sky condition and ceiling.
13:: ATIS now reports dewpoint.(*)
14:: ATIS now can handle negative quantities (temperature and dewpoint).(*)
15:: ATIS can now report report fractional-mile visibility.(*)
16:: ATIS now uses magnetic (not true) wind directions, as it should.
17:: ATIS generates correct runway number and suffix (nine right,
one one left).
18:: ATIS can be received on nav frequencies, not just comm.
19:: Nothing bad happens if the same ATIS is tuned up on more than
one receiver.
20:: ATIS can be updated at times other than at the top of the hour.
21:: ATIS listens for an "attention" signal, and responds to changes
in the weather by issuing a new ATIS message (somewhat like a
"special observation").
22:: ATIS volume now responds to radio volume setting.
23:: Area-related services (i.e. approach radar) are handled
more-nearly consistently with radio-frequency related services.
24:: ATIS sequence-letter generation has been fixed.
25:: ATIS messages are now in the property tree, so they can be read
e.g. via the http interface.
2009-09-18 20:18:54 +02:00
vmeazza
5c7d8c7b68
Add support for tunnel, y-offset and limit update rate
...
Signed-off-by: vmeazza <vivian.meazza@lineone.net>
2009-09-18 20:03:38 +02:00
Tim Moore
2936c45923
Merge branch 'master' into next
2009-09-18 10:39:48 +02:00
torsten
949981a6d7
only complain about binary record length mismatch if mode is binary.
2009-09-18 10:38:34 +02:00
Tim Moore
0044bd4436
Merge branch 'jmt/navradio' into next
2009-09-17 22:55:43 +02:00
jmt
a683b5e0ed
NavRadio: By way of an experiment, make false courses/lobes disable-able via a property.
2009-09-17 22:55:18 +02:00
Tim Moore
e888e209e3
Merge branch 'tat/configure' into next
2009-09-17 22:54:58 +02:00
torsten
16eefc84d1
Tatsuhiro Nishioka:
...
Patches for configure.ac and Makefile.am files in FG/SG so Mac developers can build these in a unix way.
These also enables Mac developers to choose either PLIB framework or PLIB static libs.
2009-09-17 22:54:42 +02:00
Tim Moore
37ffe7be35
Merge branch 'jmt/navradio' into next
2009-09-17 22:53:30 +02:00
jmt
5947f3fcd5
NavRadio DME in-range flag, and audio code improvements. By John Denker, adapted to current trunk by me.
2009-09-17 22:53:15 +02:00
Tim Moore
19d2d70da6
Merge branch 'jmt/reciprocal' into next
2009-09-17 22:52:17 +02:00
jmt
29f84492a2
Different approach to handling the paired-ILS-on-opposite-runways situation. This uses additional information we now store (in FGRunway) to be more explicit about the behaviour (i.e only look at paired navids), and crucially, does not misbehave near either threshold. Instead it always switches about the runway midpoint (so back-course/missed-approaches are broken as before), leading to stable behaviour when touching down.
...
I am pretty confident this is (was, from FS2004) also the 'solution' taken by MSFS.
2009-09-17 22:51:44 +02:00
jmt
44bc440d32
Associate non-ILS localisers with their runway.
2009-09-17 22:51:44 +02:00
jmt
d4d1d827d0
Make FGRunway track reciprocal runways.
2009-09-17 22:51:44 +02:00
Tim Moore
2ef77e4314
Merge branch 'jmt/navradio' into next
2009-09-17 22:49:07 +02:00
jmt
bf830f681d
One more divide by zero fix from Torsten.
2009-09-17 22:48:10 +02:00
jmt
ebf5dcb828
Work around the penaltyForNav broken-ness, by ensuring GS behaves sanely even if non-matches LOC and GS transmitters are selected. Which happens. Yuck.
2009-09-17 22:47:57 +02:00
jmt
c1598361ca
navradio: fix crash spotted by Torsten, when nav range is unspecified.
2009-09-17 22:47:45 +02:00
jmt
a650cf4239
Fix the has-gs flag when switching to a VOR (thanks Torsten), and expose GS validity via a new gs-in-range boolean prop, as suggested by John Denker.
2009-09-17 22:47:32 +02:00
jmt
971e87bb49
Logging: less verbose about navaids we didn't align.
2009-09-17 22:45:30 +02:00
jmt
daadb16370
Logging: less verbose traffic-manager startup.
2009-09-17 22:45:30 +02:00
jmt
fbf7d58c25
Logging: less verbose panel loading.
2009-09-17 22:45:29 +02:00
Tim Moore
d11ad100cc
Merge branch 'topic/atmos-merge' into next
...
John Denker's atmosphere changes. Original commit message:
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e.
the top of the mesosphere. Correctly exhibits the HALT phenomenon.
2009-09-12 15:51:11 +02:00
jmt
3c48943e81
Various LOC/GS improvements from John Denker, adapted to trunk by me (hopefully not introducing too many bugs along the way). Includes:
...
- false LOC courses and GS lobes
- LOC sensitivity based on runway dimensions
- GS cutoff based on range
- More accurate GS deviation computation, making final approach more stable
2009-09-12 15:47:52 +02:00
curt
606f9173b2
Avoid strtof() for portability reasons.
2009-09-12 15:47:52 +02:00
curt
bf423ef0ca
Handle "double" type fields correctly for ascii input data. Previously double
...
data was being down-cast to float and the loss of precision impacted data types like lon/lat positions dramatically, preventing smooth replay of data.
2009-09-12 15:47:52 +02:00
frohlich
d09c0ec8b9
Disable collisions with the MP aircraft again.
...
Modified Files:
src/AIModel/AIMultiplayer.cxx
2009-09-12 15:47:52 +02:00
jmt
5f16e4da60
Add clamped degrees deviation for glideslope.
2009-09-12 15:47:52 +02:00
Tim Moore
a6db6d89ff
Merge branch 'jsd/atmos' into topic/atmos-merge
...
Conflicts:
src/Environment/environment.cxx
src/Environment/environment.hxx
John Denker's atmosphere changes. Original commit message:
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e.
the top of the mesosphere. Correctly exhibits the HALT phenomenon.
2009-09-10 12:31:04 +02:00
Tim Moore
7b6d15d537
cleanup of atmosphere patch
...
Remove some dead code and space changes. Replace boost::tuple with std::pair,
but do use boost::tie.
2009-09-10 11:42:42 +02:00
John Denker
abc7ae96a5
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e. the top of the mesosphere. Correctly exhibits the HALT phenomenon.
2009-09-10 10:59:51 +02:00
jmt
77a8b4db30
Add normalised heading deflection property to navradio.
2009-09-09 23:42:21 +02:00
daveluff
08dfa30d87
Fix MSVC compilation
2009-09-09 08:56:32 +02:00
torsten
a893748d4e
Tatsuhiro Nishioka:
...
Handle number keys on Keypad properly on Mac OS X
2009-09-09 08:56:32 +02:00
ehofman
10611c1522
Dont execute code in case the soundmanager isn't properly initialized
2009-09-09 08:56:32 +02:00
jmt
049e1ae23e
Fix compilation - missing include of globals.hxx
2009-09-09 08:56:32 +02:00
jmt
6fa1b3dfd0
Add normalised glideslope deviation property to nav-radio.
2009-09-09 08:56:32 +02:00
jmt
e2f0d1960e
Further re-factoring of nav-radio code, again no functionality changed should occur. Radio reception / GPS slaving / Glideslope handling and CDI updating are all separate functions now.
2009-09-09 08:56:32 +02:00
ehofman
e8db3a514a
Dont execute code in case the soundmanager isn't properly initialized
2009-09-09 08:56:32 +02:00
jmt
80e67b17c2
Set runway elevation to the airport elevation, and don't reset ILS/LOC elevation when aligning with runways.
2009-09-09 08:56:31 +02:00
frohlich
2f6107982c
Use the new vector conversion functions.
...
Modified Files:
src/FDM/groundcache.cxx src/Main/renderer.cxx
src/Main/viewer.cxx src/Scenery/scenery.cxx
2009-09-09 08:56:31 +02:00
frohlich
5c56757303
Move dynamic_casts to EffectGeode into the findMaterial method.
...
Modified Files:
src/Scenery/scenery.cxx
2009-09-09 08:56:31 +02:00
frohlich
690231ff64
Fix a problem introduced with the past vector changes.
...
Fix a potential nan problem with the scenery_available method.
Modified Files:
src/Scenery/scenery.cxx
2009-09-09 08:56:31 +02:00
ehofman
1fa48722b4
One last update; remember whether input or output is requested. This will make sure FlightGear isn't communicating in both directions all the time.
2009-09-09 08:56:31 +02:00
ehofman
aeefd12522
Don't forget to clear the previous configuration
2009-09-09 08:56:31 +02:00
ehofman
ea4a3ee1df
Make FGIO a proper subsystem and add a reinit method for the generic protocol. This should allow for easy runtime reloading of the configuration file.
2009-09-09 08:56:31 +02:00
ehofman
f220feb684
Sync. with JSBSim (CVS) again
2009-09-09 08:56:31 +02:00
frohlich
d9d725f28d
Remove obsolete version test.
...
Modified Files:
src/Main/fg_os_osgviewer.cxx
2009-09-09 08:56:31 +02:00
frohlich
4e7b084568
Simplify, fix some comments.
...
Modified Files:
src/Main/viewer.cxx
2009-09-09 08:56:31 +02:00
frohlich
93d2f8a963
Correct logic to determine if we really have a hit.
...
Modified Files:
src/Scenery/scenery.cxx
2009-09-09 08:56:31 +02:00
frohlich
cb10d714fd
Initialize all members.
...
Modified Files:
src/AIModel/AIAircraft.cxx src/AIModel/AIBase.cxx
2009-09-09 08:56:31 +02:00
frohlich
ccb9e64caf
Avoid division by zero.
...
Modified Files:
src/Instrumentation/dme.cxx
2009-09-09 08:56:31 +02:00
torsten
e98d7a1ea4
Tatsuhiro Nishioka:
...
FG crashes at exit at very high likelihood.
The cause of the crash is that some subsystems (input and gui) call get_subsystems() at their destructor.
This is very dangerous since SGSubSystemMgr::get_subsystem() can refer to already deleted subsystems.
2009-09-09 08:56:31 +02:00
frohlich
8676c2bbd8
Replace the SGVec*::sg() methods with the equivalent SGVec*::data() calls.
...
Modified Files:
src/Traffic/Schedule.cxx src/Sound/fg_fx.cxx src/Main/main.cxx
src/Instrumentation/navradio.cxx
src/AIModel/AIFlightPlanCreateCruise.cxx
2009-09-09 08:56:30 +02:00
torsten
a26ca9f3e3
Tatsuhiro Nishioka:
...
Fixed: wrong event name for abs-hat0-y
Modified: let AxisElement to generate normalized input (-1.0 to 1.0).
This can be temporal and can be removed when AxisEvent normalizes its value.
Modified: clean up code
Added: some comments so other Mac developers can see what's going on
2009-09-09 08:56:30 +02:00
jmt
80a6317ab6
Re-structure the nav-radio code, in preparation for cleaner GPS-slave separation. No functionality changes (hopefully).
2009-09-09 08:56:30 +02:00
jmt
5a01c55335
Allow the joystick hat to move the view, even when the sim is paused.
2009-09-09 08:56:30 +02:00
jmt
25c55f67bf
More precise matching of ILS records to navaids.
2009-09-03 00:02:48 +02:00
ehofman
98b5e7e6fe
Bertrand Coconnier:
...
Additionally to the original fix (problem with the Tec2b matrix initialization) I have modified the code for the "STRUCTURE" contacts in order not to generate NaNs when the z direction of the body frame is normal to the ground normal. Now there should no longer be any NaN generated by the landing gear code.
2009-09-03 00:02:48 +02:00
jmt
294a7b675a
Add support for processing the ICAO.ils.xml scenery data into ILS/LOC nav records.
2009-09-03 00:02:48 +02:00
durk
ce084ab1c5
Two minor (codewise) fixes to ensure everything works as advertised:
...
- Make sure to initialize the groundnetwork after succesful loading.
- Ensure that the AI groundnetwork code proximity detection code used the
correct values for bearing. (Note that detecting the proximity of the
user aircraft appears still to be broken. I'll look into that later).
2009-09-03 00:02:48 +02:00
durk
1ae2b59333
Added two missing files from JSBSim.org that were missing in the last sync.
2009-09-03 00:02:48 +02:00
ehofman
48cad71a70
Sync with JSBSim CVS again
2009-09-03 00:02:48 +02:00
curt
f07a83c73a
Allow setting of NED velocities.
2009-09-03 00:02:48 +02:00
jmt
2dee4ef14f
Update FGRunway to process information from threshold.xml files.
2009-09-03 00:02:47 +02:00
jmt
7ff374ef8b
Trigger lazy loading of Airport data from the scenery on access.
2009-09-03 00:02:47 +02:00
torsten
b1e2b7ee20
missing declaration of SGPropertyNode
2009-09-03 00:02:47 +02:00
jmt
cc0c19f62e
XMLLoader re-factoring.
2009-09-03 00:02:47 +02:00
jmt
1c015387ba
Initial framing for reading in-scenery airport data.
2009-09-03 00:02:47 +02:00
torsten
a1a610f7d5
- added support for MAC OSX and initial hotplug support from Tatsuhiro Nishioka
...
- added support for per-device <nasal> <open> and <close>
2009-09-03 00:02:47 +02:00
Tim Moore
be4b46b894
change back unsigned byte count to signed (multiplaymgr)
...
Also, small fixes to generic protocol from AndersG
2009-08-27 00:12:44 +02:00
Tim Moore
acbcf94bde
AIGroundVehicle from Vivian Meazza
2009-08-25 12:52:50 +02:00
Tim Moore
5b29cd4cc0
fix warnings in Multiplayer, Scripting, and Time
2009-08-24 18:07:19 +02:00
Tim Moore
62620177aa
Fix transmission of float and double values in generic protocol
...
gcc -Wall -Werror turned up some problems with the type-punning of pointers
used to write the message buffer; it turns out that truncated ints were being
written to the message buffer when values needed to be swapped to network byte
order.
2009-08-24 18:06:06 +02:00
Tim Moore
0a64405cad
fix warnings in Main
2009-08-24 18:03:49 +02:00
Tim Moore
67c7d8642a
fix warnings in Instrumentation
...
Mostly signed comparisons and order of initializers in constructors
2009-08-24 18:02:15 +02:00
Tim Moore
8238bcddbd
fix warnings in GUI code
2009-08-24 18:00:10 +02:00
Tim Moore
185ede0159
Fix order of initializers in constructor
2009-08-24 17:58:27 +02:00
Tim Moore
5a1e0d92f4
fix gcc warnings
...
Mostly comment out unused variables.
2009-08-24 17:57:32 +02:00
Tim Moore
1e049f24b0
fixes to remove warnings
...
Comment out unused variables; fix a real bug in uiuc_gear().
2009-08-24 17:56:39 +02:00
Tim Moore
bfe942268e
Initialize some variables
2009-08-24 17:54:48 +02:00
Tim Moore
c6d4f3b0ff
Fix to LaRCsim interpolation code
...
Is this code still used? I don't know, but -Wall -Werror turned up a problem.
2009-08-24 17:53:57 +02:00
Tim Moore
d838ef5f40
compilation fixes for gcc -Wall -Werror
...
Most are cosmetic, but the changes in the FGATCInstruction constructor
fix unitialized members.
2009-08-24 17:13:31 +02:00
torsten
b3ceb9a2fd
warning fixes
2009-08-23 21:43:10 +02:00
torsten
8d98e4cd49
warning fixes
2009-08-23 21:43:10 +02:00
torsten
1b08957f2a
Olaf Flebbe: the plib/ul.h is needed for the TGT_PLATFORM Macro to make the tags <windows> or
...
<mac> work in the joystick xml files.
2009-08-23 21:43:10 +02:00
ehofman
9a01f8bf73
temporary fix for a division by zero problem for some aircraft
2009-08-23 21:43:10 +02:00
torsten
b772e5872a
add option <grab/> to the device configuration. If this is set to 'true', the events from this devices are exclusively handled by our handler and are not distributed to other driver(s).
2009-08-23 21:43:10 +02:00
torsten
cd89ce7d0a
warning fixes
2009-08-23 21:43:10 +02:00
torsten
6ba395969c
warning fixes
2009-08-23 21:43:09 +02:00
torsten
2ea02594c0
even more warning fixes
2009-08-23 21:43:09 +02:00
torsten
e294ab7b39
warning fixes
2009-08-23 21:43:09 +02:00
torsten
e0b2d43fb4
the warning extinguisher hits again...
2009-08-23 21:43:09 +02:00
torsten
c672f2aba5
warning fixes
2009-08-23 21:43:09 +02:00
torsten
4d977e9411
warning fixes
2009-08-23 21:43:09 +02:00
torsten
5e9864994c
fix warnings (order of initialization)
2009-08-23 21:43:09 +02:00
fredb
f2b9b9f441
Compile under MSVC9 again
2009-08-23 21:43:09 +02:00
ehofman
5ee9cd1fcc
Add Bertrand Coconnier's latest landing gear code
2009-08-23 21:43:09 +02:00
torsten
5a04b82dfc
Tom P: magnetic-variation isn't boolean.
2009-08-23 21:43:09 +02:00
fredb
4c29f8711b
Compile under MSVC9 again
2009-08-23 21:43:08 +02:00
ehofman
83675c7216
Changed my mind, the 'scene specular' color is actually the diffuse color and the sun specular color is the scene specular color
2009-08-23 21:43:08 +02:00
ehofman
37e1581964
forgot a few untie's and fix a small bug
2009-08-23 21:43:08 +02:00
ehofman
cf25f69d36
Update to the latest version of JSBSim
2009-08-23 21:43:08 +02:00
ehofman
25a99a2417
Expose the color of the sun (which is not the scene specular color anymore)
2009-08-23 21:43:08 +02:00
curt
0590333e53
Fix a bug that is screwing me!
2009-08-23 21:43:08 +02:00
fredb
efbe6984c2
Win32 fix and suppress one warning
2009-08-23 21:43:08 +02:00
timoore
8bac481865
fgviewer: support random objects, vegetation, and static models
2009-08-23 21:43:08 +02:00
torsten
8cf74b8f2d
Add a debug property to make devices print out incoming events on the console.
2009-08-12 23:45:55 +02:00
torsten
3231561e5a
fixed typo. Thanks m.
2009-08-12 23:45:54 +02:00
torsten
d7eab6061c
be compatible with older kernels
2009-08-12 23:45:54 +02:00
torsten
da9a4c3216
missing dbus include path
2009-08-12 23:45:54 +02:00
torsten
5c57153e62
Advanced input subsystem - Step3: Adding support for the Linux event devices
2009-08-12 23:45:54 +02:00
timoore
3bce312213
Get fgviewer working as a part of fgfs
...
Move fgviewer code into fgfs binary. Its osgViewer-style main function is
called from bootstrap.cxx if the --fgviewer argument is passed to fgfs.
Use fgfs initialization functions in fgviewer codepath. Read
command-line arguments and autosave.xml.
2009-08-12 23:45:54 +02:00
frohlich
bb2e5fb2c9
Use the 'all but self' capability of the scenery elevaton code instead of
...
playing with node masks.
Modified Files:
src/AIModel/AIAircraft.cxx src/AIModel/AIBallistic.cxx
src/AIModel/AIBase.cxx src/AIModel/AIBase.hxx
src/AIModel/AIShip.cxx src/AIModel/AIShip.hxx
src/AIModel/AIThermal.cxx src/ATCDCL/AILocalTraffic.cxx
2009-08-10 23:31:21 +02:00
fredb
71d7f043a8
Compile under MSVC9
2009-08-10 07:14:38 +02:00
timoore
b65f0ae0dc
From Till Busch - reload shaders command
...
Also, more documentation for effects.
2009-08-10 07:14:38 +02:00
torsten
aea9c750f3
Advanced input subsystem - Step2: Split up current input subsystem
...
- encapsulate code into classes
- create separate subsystem for keyboard, mouse and joystick
- group new subsystems into subsystemgroup "input"
2009-08-08 08:37:15 +02:00
frohlich
aac4bec5c7
Add a possible node not to visit.
...
Modified Files:
scenery.cxx scenery.hxx
2009-08-08 08:37:14 +02:00
torsten
0c2db22988
Advanced input subsystem - Step1: cleanup dependencies
2009-08-08 08:37:14 +02:00
torsten
c5f63a4ac1
Advanced input subsystem - Step1: cleanup dependencies
2009-08-08 08:37:14 +02:00
fredb
abe00db6aa
Compile under MSVC9 again
2009-08-08 08:37:14 +02:00
ehofman
a7976b835d
Sync. with JSBSim
2009-08-08 08:37:14 +02:00
fredb
94caa0b891
Fix case typo
2009-07-27 23:52:33 +02:00
fredb
9718338560
Compile under MSVC9
2009-07-27 23:52:33 +02:00
daveluff
443f3f3654
Fix the rendering of the KLN89 on the 2D panel that was broken during the move to osg. This is an interim step with the aim being to eventually use render-to-texture.
2009-07-27 23:52:32 +02:00
torsten
0c1c224443
At startup, fetch METAR for closest airport that has one, which is not necessarily the same.
2009-07-27 23:52:32 +02:00
Tim Moore
7d6c567fde
Refer to property types using props:: namespace
...
BOOL, FLOAT etc. conflict with typedefs in windows.h.
2009-07-17 14:54:12 +02:00
Tim Moore
ddb6551a91
SGRawValue::DefaultValue is now a function
2009-07-17 11:47:11 +02:00
timoore
e2b21c1e0c
Property predicate for techniques
2009-07-16 12:10:48 +02:00
timoore
d7a07bdd58
Find material from EffectGeode and Effect
...
The scenery now uses the Effect class.
2009-07-16 12:10:48 +02:00
timoore
890b584b8f
Enable EffectCullVisitor
2009-07-16 12:10:48 +02:00
timoore
ca3bd1c309
accomodate changed getDisplayName interface in yasim::Hitch
2009-07-16 12:10:47 +02:00
timoore
5cf18d30c6
Support for VEC3D and VEC4D properties.
...
Tiny update to property_list for extended properties.
New property types in nasal.
2009-07-16 12:10:47 +02:00
timoore
4cc3084256
SGPropertyNode::Type moves to simgear::props namespace
2009-07-16 12:10:47 +02:00
Tim Moore
e342d879e8
Radar patch from Vivian
2009-07-12 01:02:58 +02:00
ehofman
a4a593745e
Hopefuly fix what might be a 64-bit OS problem
2009-07-12 00:55:33 +02:00
ehofman
f5ab3756a1
although the official name is 'bool' also support 'boolean' for backward compatibility.
2009-07-02 08:59:16 +02:00
ehofman
38d538cdb8
Add the statement about the wrong received-buffer size again which might be a useful debugging tool.
2009-07-02 08:59:16 +02:00