]>
git.mxchange.org Git - flightgear.git/log
Tim Moore [Sun, 20 Dec 2009 11:05:07 +0000 (12:05 +0100)]
Merge branch 'timoore/merge-effects'
Tim Moore [Sun, 20 Dec 2009 10:11:16 +0000 (11:11 +0100)]
Merge branch 'ehofman/sound'
Tim Moore [Sun, 29 Nov 2009 11:44:11 +0000 (12:44 +0100)]
Change boost version to 1.37 again
boost/tr1 doesn't support unordered_map before, and I don't want to
test for it myself.
Tim Moore [Sun, 22 Nov 2009 21:54:53 +0000 (22:54 +0100)]
Drop boost version back to 1.34
Tim Moore [Sat, 21 Nov 2009 23:19:43 +0000 (00:19 +0100)]
updated documentation of effects
Still a work in progress...
Tim Moore [Sun, 15 Nov 2009 00:18:01 +0000 (01:18 +0100)]
bump boost version to 1.37
Tim Moore [Thu, 12 Nov 2009 09:58:42 +0000 (10:58 +0100)]
Attach an empty shader program to the scene graph root
This establishes a default state of using the OpenGL fixed function pipeline.
Otherwise a shader program from a state set can leak into state sets that don't
use shaders at all.
Tim Moore [Tue, 3 Nov 2009 11:41:00 +0000 (12:41 +0100)]
Changes for animated effects
Tim Moore [Tue, 3 Nov 2009 11:41:00 +0000 (12:41 +0100)]
Move the property expression code back to simgear.
Tim Moore [Sun, 8 Nov 2009 20:53:02 +0000 (21:53 +0100)]
Don't allocate string temporaries for comparisons.
ehofman [Thu, 10 Dec 2009 09:56:42 +0000 (09:56 +0000)]
activate atc settings in the sound mixer dialog
Tim Moore [Thu, 10 Dec 2009 06:26:38 +0000 (07:26 +0100)]
Clean up autoconf test for osg::CullSettings::CLEAR_MASK
ehofman [Tue, 8 Dec 2009 14:43:29 +0000 (14:43 +0000)]
Activate external-view checkbox for avionics
ehofman [Tue, 8 Dec 2009 09:53:29 +0000 (09:53 +0000)]
if volume is too low, skip the function entirely
ehofman [Tue, 8 Dec 2009 09:48:00 +0000 (09:48 +0000)]
John Denker:
Suggestion: It might be helpful to promote each of
the .c files to .cxx.
Rationale:
-- The configure/makefile system handles CFLAGS
differently from CXXFLAGS.
-- It is important for the *info programs to
compiled and run in exactly the same environment
as the main fgfs program. Some users depend on
compiler or linker flags such as rpath that
strongly affect the results of the *info programs.
-- There is no downside; you code compiles just
fine as-is under the c++ compiler.
second part of the original commit, for ehofman/sound
Tim Moore [Mon, 7 Dec 2009 05:59:04 +0000 (06:59 +0100)]
Change int to unsigned in sound device traversal
ehofman [Wed, 2 Dec 2009 09:34:06 +0000 (09:34 +0000)]
add avionics enable/disable and volume control to the sound fx class.
ehofman [Tue, 1 Dec 2009 10:37:49 +0000 (10:37 +0000)]
Turned out a tied proeprty can't be used as a user archive, use a different one
ehofman [Tue, 1 Dec 2009 09:08:08 +0000 (09:08 +0000)]
The problem with the current test is that HAVE_CULLSETTINGS_CLEAR_MASK is always defined, either with a value of 1 or a value of 0 while the test in the code checks for '#if defined(HAVE_CULLSETTINGS_CLEAR_MASK)'
ehofman [Mon, 30 Nov 2009 14:24:16 +0000 (14:24 +0000)]
update to allow selection of a new sound device
ehofman [Mon, 30 Nov 2009 12:05:20 +0000 (12:05 +0000)]
Change of thoughts since it makes life easier:
/sim/sound/working enable/disable the use of OpenAL
/sin/sound/enabled master mute/unmute
ehofman [Mon, 30 Nov 2009 09:31:55 +0000 (09:31 +0000)]
Fix for older OpenAL versions.
ehofman [Mon, 30 Nov 2009 08:42:29 +0000 (08:42 +0000)]
add a new command line option: --show-sound-devices
ehofman [Sun, 29 Nov 2009 18:08:46 +0000 (18:08 +0000)]
add alcinfo instead.
Tim Moore [Mon, 30 Nov 2009 08:29:07 +0000 (09:29 +0100)]
Add HAVE_CULLSETTINGS_CLEAR_MASK to configure.ac and check it in camera code
This works around a behavior / interface change in OSG post 2.9.6.
Csaba Halasz [Sun, 29 Nov 2009 00:57:03 +0000 (01:57 +0100)]
Update camera inheritance masks because of OSG changeset 10838
ehofman [Sun, 29 Nov 2009 10:24:47 +0000 (10:24 +0000)]
New Property layout:
/sim/sound/enabled enable/disable the use of OpenAL
/sin/sound/pause master mute, effects all SampleGroups
/sim/sound/volume master volume
/sim/sound/effects/enabled enable/disable (mute) sound fx
/sim/sound/effects/volume effects volume
/sim/sound/chatter/enabled enable/disable (mute) atc chatter
/sim/sound/chatter/volume chatter (sample queue) volume
ehofman [Sat, 28 Nov 2009 13:33:54 +0000 (13:33 +0000)]
List all available playback devices under '/sim/sound/devcies'
ehofman [Sat, 28 Nov 2009 10:42:52 +0000 (10:42 +0000)]
* Fix --disable-sound
* Add a new command line option: --sound-device=""
This makes OpenAL use the sepcified audio device instead of the default
output device. (Look for playback devices when calling openal-info of alcinfo)
Tim Moore [Fri, 27 Nov 2009 05:41:43 +0000 (06:41 +0100)]
Merge branch 'luff/kln89'
Tim Moore [Fri, 27 Nov 2009 05:40:47 +0000 (06:40 +0100)]
Merge branch 'jmt/gps'
Conflicts:
src/Instrumentation/gps.cxx
Tim Moore [Thu, 26 Nov 2009 22:32:38 +0000 (23:32 +0100)]
Merge branch 'jmt/dialog'
Tim Moore [Thu, 26 Nov 2009 22:32:20 +0000 (23:32 +0100)]
Merge branch 'ehofman/sky'
Tim Moore [Thu, 26 Nov 2009 22:31:59 +0000 (23:31 +0100)]
Merge branch 'ehofman/jsbsim'
Tim Moore [Thu, 26 Nov 2009 22:31:45 +0000 (23:31 +0100)]
Merge branches 'csaba/commlist' and 'csaba/recip'
ehofman [Mon, 23 Nov 2009 09:35:59 +0000 (09:35 +0000)]
proper listener velocity calculation, this has no effect yet but is required when other models start emitting sounds.
ehofman [Thu, 19 Nov 2009 15:28:37 +0000 (15:28 +0000)]
Tie samplegroup 'avionics' to the listener, just in case no other device is created that does it.
ehofman [Mon, 16 Nov 2009 13:36:25 +0000 (13:36 +0000)]
restore listener position with offset
jmt [Sat, 14 Nov 2009 11:10:34 +0000 (11:10 +0000)]
Dave Perry:
Allows using a nasal filter to smoothly park the gs needle when out
of range or frequency changes to a station w/o gs.
ehofman [Thu, 12 Nov 2009 20:42:24 +0000 (20:42 +0000)]
temporarily remove listener (viewer) and source offsets. they mess things up
ehofman [Wed, 11 Nov 2009 13:35:58 +0000 (13:35 +0000)]
put the debugging quat strings as doubles under /sim/current-view/debug instead.
ehofman [Wed, 11 Nov 2009 08:22:30 +0000 (08:22 +0000)]
put the debugging quat strings as doubles under /sim/current-view/debug instead.
ehofman [Tue, 10 Nov 2009 14:29:25 +0000 (14:29 +0000)]
Pass the north-east-down velocty directly to the sample_group and do the calculations there.
ehofman [Mon, 9 Nov 2009 10:36:55 +0000 (10:36 +0000)]
fix a typo
ehofman [Mon, 9 Nov 2009 10:35:49 +0000 (10:35 +0000)]
Add a description of the 'type' tag
ehofman [Mon, 9 Nov 2009 10:28:59 +0000 (10:28 +0000)]
allow sound effects in the configuration file to be added to the 'avionics' sample group by setting '<type>avionics</type>'.
ehofman [Mon, 9 Nov 2009 10:28:59 +0000 (10:28 +0000)]
sun postition fixes
Was: allow sound effects in the configuration file to be added to the 'avionics' sample group by setting '<type>avionics</type>'.
but this change obviously snuck in with that.
ehofman [Mon, 9 Nov 2009 09:21:49 +0000 (09:21 +0000)]
Remove old MSVC6.0 files that doen't work anymore
Tim Moore [Mon, 9 Nov 2009 09:24:46 +0000 (10:24 +0100)]
don't define constant objects in header files
ehofman [Sun, 8 Nov 2009 13:41:03 +0000 (13:41 +0000)]
John Denker:
Together with previous patch, make view reference frame, view offset,
and current view visible in property tree.
Also some comments about the concepts behind these variables.
Csaba Halasz [Tue, 13 Oct 2009 15:57:00 +0000 (17:57 +0200)]
Fix label printing in ATCDialog
Csaba Halasz [Tue, 13 Oct 2009 15:56:06 +0000 (17:56 +0200)]
Do not pollute comm list by inserting not found elements in FGCommList::FindByPos
Csaba Halasz [Tue, 13 Oct 2009 15:54:27 +0000 (17:54 +0200)]
Use wider search in FGCommList::FindByPos
jmt [Sat, 7 Nov 2009 00:18:21 +0000 (00:18 +0000)]
Case insensitivity for findNextByPartialId.
jmt [Sat, 7 Nov 2009 00:16:52 +0000 (00:16 +0000)]
In the route-manager, track the departure and destination airport objects
* Expose the airport names as properties
* Use tied properties to simplify the code
jmt [Fri, 6 Nov 2009 23:12:35 +0000 (23:12 +0000)]
Make Nasal airportinfo() tolerant of invalid airport idents.
daveluff [Sat, 7 Nov 2009 00:18:08 +0000 (00:18 +0000)]
Enable correct DTO waypoint selection
daveluff [Thu, 5 Nov 2009 20:27:56 +0000 (20:27 +0000)]
Allow all approaches to be selected at airports with more than 3 approaches
ehofman [Fri, 6 Nov 2009 01:05:43 +0000 (01:05 +0000)]
first stab at reorganizing fgUpdateSunPos() to make it use quats
ehofman [Thu, 5 Nov 2009 13:46:49 +0000 (13:46 +0000)]
Save a costly SGVec3d::fromGeod() calculation
Csaba Halasz [Sun, 25 Oct 2009 15:08:38 +0000 (16:08 +0100)]
Added some null pointer checks in FGAILocalTraffic to handle airports without tower
Csaba Halasz [Sun, 25 Oct 2009 15:23:31 +0000 (16:23 +0100)]
Re-apply the reciprocal patch from cvs rev 1.3 and correct an order of magnitude regression in HeadingIndicatorFG
torsten [Sun, 25 Oct 2009 14:45:23 +0000 (14:45 +0000)]
Ron Jensen:
This little patch makes the KT-70 read 888-8888 when in self-test mode.
This is the correct behavior, the current behavior, where it reads the
flight level and squawk code in self-test is incorrect.
Tim Moore [Fri, 6 Nov 2009 22:39:17 +0000 (23:39 +0100)]
Merge branches 'durk/scenery' and 'ehofman/fog'
Tim Moore [Fri, 6 Nov 2009 22:38:42 +0000 (23:38 +0100)]
Merge branch 'topic/moon'
Tim Moore [Fri, 6 Nov 2009 22:38:37 +0000 (23:38 +0100)]
Merge branch 'timoore/atmos'
Tim Moore [Fri, 6 Nov 2009 22:38:29 +0000 (23:38 +0100)]
Merge branch 'tat/configure'
Tim Moore [Fri, 6 Nov 2009 22:37:14 +0000 (23:37 +0100)]
Merge branch 'aperry/tsync'
ehofman [Thu, 5 Nov 2009 12:49:29 +0000 (12:49 +0000)]
pass the geodetic position and view orientation quat to the sky repositioning function
ehofman [Thu, 5 Nov 2009 09:18:27 +0000 (09:18 +0000)]
John Denker:
Add a view debugging functions and represent the viewer quats in the property tree for debugging.
Do a nontrivial calculation, demonstrating how to find the 12:00 orientation given the view and the view offset. it, and observe that the 12:00 direction does not change when you change the view offset, which is a nontrivial result.
Erik: This already proved to be useful since I now obserbed that the sky and fog coloring code depends on view offset rather that the view orientations. This is why those effects are out of line in some views.
daveluff [Tue, 3 Nov 2009 22:55:36 +0000 (22:55 +0000)]
Allow the DIR page to be exited properly using the inner knob
daveluff [Tue, 3 Nov 2009 22:54:05 +0000 (22:54 +0000)]
Make the comments about switching to the DIR page more useful
ehofman [Tue, 3 Nov 2009 12:58:35 +0000 (12:58 +0000)]
I really have no idea why but the velocity should be 100 times larger than feet-per-second suggests to work properly. oh and change sign
ehofman [Tue, 3 Nov 2009 09:59:05 +0000 (09:59 +0000)]
Use the proper absolute position for the listener
jmt [Mon, 2 Nov 2009 23:35:10 +0000 (23:35 +0000)]
Dynamic combo-boxes; read values from the property tree.
jmt [Mon, 2 Nov 2009 23:33:07 +0000 (23:33 +0000)]
Check one potential source of the prime-meridian crash.
ehofman [Mon, 2 Nov 2009 12:22:45 +0000 (12:22 +0000)]
rocket engine and piston engine fixes
ehofman [Mon, 2 Nov 2009 13:48:09 +0000 (13:48 +0000)]
minor upodate by John
ehofman [Mon, 2 Nov 2009 13:26:45 +0000 (13:26 +0000)]
John Denker: Simplify redundant code and superfluous variable
ehofman [Mon, 2 Nov 2009 10:31:42 +0000 (10:31 +0000)]
Position and orientation fixes for the sound code, thanks to Tim Moore
ehofman [Sun, 1 Nov 2009 14:53:36 +0000 (14:53 +0000)]
proper sound orientation(?) and comment out velocity since it messes with OpenAL in such a way that volume doesn't work properly anymore
Tim Moore [Sat, 31 Oct 2009 22:00:11 +0000 (23:00 +0100)]
Revert lighting "cleanup" for now.
The osgViewer headlight appears to be critical for enabling lighting.
ehofman [Sat, 31 Oct 2009 14:20:14 +0000 (14:20 +0000)]
another attempt at getting something useful without any result.
Tim Moore [Fri, 30 Oct 2009 10:32:58 +0000 (11:32 +0100)]
fix moon lighting at night
This hasn't worked since the OSG port was initially checked in. A real
phase-of-the-moon bug!
ehofman [Thu, 29 Oct 2009 13:34:43 +0000 (13:34 +0000)]
Commit the current state of affairs to see if it fixes the position code for others
ehofman [Wed, 28 Oct 2009 14:29:38 +0000 (14:29 +0000)]
initlialize _playing for FGATC. Proper listerner orientation based on view offset. proper velocity orientation
ehofman [Wed, 28 Oct 2009 14:28:17 +0000 (14:28 +0000)]
sync. w. JSBSim CVS
jmt [Wed, 28 Oct 2009 08:27:19 +0000 (08:27 +0000)]
Bugfix - don't exclude seaports or heliports when looking up by ICAO.
jmt [Tue, 27 Oct 2009 19:23:56 +0000 (19:23 +0000)]
Check for an empty search query in GPS searches, and fix test code.
daveluff [Tue, 27 Oct 2009 00:32:57 +0000 (00:32 +0000)]
Remove the unecessary distinction between waypoints of the core approach and waypoints of the missed approach procedure
Tim Moore [Mon, 26 Oct 2009 22:46:17 +0000 (23:46 +0100)]
Remove system typedefs for MSC in net_fdm.hxx
They are defined by stdint.hxx now.
Tim Moore [Mon, 26 Oct 2009 21:40:43 +0000 (22:40 +0100)]
stdint.h or equivalent is needed for net_fdm.hxx
jmt [Mon, 26 Oct 2009 20:23:33 +0000 (20:23 +0000)]
Better idents for waypoints defined by lon/lat.
ehofman [Mon, 26 Oct 2009 19:52:11 +0000 (19:52 +0000)]
MSVC fix
ehofman [Mon, 26 Oct 2009 19:49:33 +0000 (19:49 +0000)]
mingw fix
ehofman [Mon, 26 Oct 2009 13:29:58 +0000 (13:29 +0000)]
Sync. w. JSBSim cvs
ehofman [Mon, 26 Oct 2009 13:31:41 +0000 (13:31 +0000)]
Csaba Halasz: C++-ify ATCVoice WriteMessage
ehofman [Mon, 26 Oct 2009 09:47:16 +0000 (09:47 +0000)]
fix a pointer reference.
ehofman [Mon, 26 Oct 2009 09:46:05 +0000 (09:46 +0000)]
Adjust fog color.
Tim Moore [Tue, 20 Oct 2009 08:18:51 +0000 (10:18 +0200)]
more include SGMath.hxx to keep MSVC happy