Tim Moore
15b6c431c0
Merge branch 'timoore/merge-effects'
2009-12-20 12:05:07 +01:00
Tim Moore
b5c46a8d59
Merge branch 'ehofman/sound'
2009-12-20 11:11:16 +01:00
Tim Moore
17df9cc459
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.
2009-12-20 10:34:07 +01:00
Tim Moore
b4f58ef24e
Drop boost version back to 1.34
2009-12-20 10:34:07 +01:00
Tim Moore
cb0472f33e
updated documentation of effects
...
Still a work in progress...
2009-12-20 10:34:07 +01:00
Tim Moore
fcd3348ae6
bump boost version to 1.37
2009-12-20 10:34:07 +01:00
Tim Moore
6acd657a05
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.
2009-12-20 10:34:07 +01:00
Tim Moore
9a94b26609
Changes for animated effects
2009-12-20 10:34:07 +01:00
Tim Moore
3abe700dc8
Move the property expression code back to simgear.
2009-12-20 10:34:07 +01:00
Tim Moore
c4e62cc69f
Don't allocate string temporaries for comparisons.
2009-12-20 10:34:07 +01:00
jmt
88dc75695b
Probably best if the string and its length agree. :)
2009-12-20 08:44:50 +01:00
jmt
3180d5f4f2
Add runway ILS frequency to Nasal airportinfo() query, as discussed on the list.
2009-12-20 08:44:47 +01:00
jmt
718d99f420
Fix for Martin: tolerate runway-associated navaids with a bogus ICAO/runway ident.
2009-12-20 08:39:33 +01:00
torsten
50adab32c1
Ingore unhandled top level elements instead of not loading the autopilot. This (re-)enables usage of <params> at top level and <property alias="../params/foo"/>
2009-12-20 08:37:00 +01:00
James Turner
0637cba24a
Fix findNearest termination - ensure we expand all octree nodes that might contain closer results than the current list.
2009-12-19 23:13:17 +01:00
James Turner
34bbc6d974
Rewrite the spatial index to use a sparse octree on the cartesian coordinates of items.
...
* Fixes errors selecting 'nearest' items, including duplicates
* Stable behaviour around the poles and dateline
* Decently efficient, even for 'everything within 500nm' queries
2009-12-19 23:13:17 +01:00
torsten
2b3e07cc5f
document the <period> element
2009-12-18 07:11:13 +01:00
torsten
506f6894e4
- introduce some typedefs for SGSharedPtr<>
...
- add a <period> element to input and output of each filter to support periodical values like headings. See README.digitalfilters for details.
2009-12-18 07:11:10 +01:00
curt
ea281051d8
Compute glide slope target rate of climb in fpm as well as fps.
2009-12-18 07:10:13 +01:00
ehofman
b0e87c8d6e
A better way to stringize the predefined SimGear version number
2009-12-14 22:49:47 +01:00
ehofman
ba77293c10
John Denker: Fancier --version information.
2009-12-14 22:49:42 +01:00
mfranz
b1e8917266
add mirror button (useful for asymmetric aircraft, like the BV-141)
2009-12-14 06:58:06 +01:00
mfranz
fdd252e1c5
comments++; log++; remove obsolete code; prepare for Python3
2009-12-12 00:12:58 +01:00
mfranz
fe6d306493
YASim importer plugin for Blender
2009-12-12 00:12:51 +01:00
ehofman
61ffbf4615
activate atc settings in the sound mixer dialog
2009-12-12 00:12:19 +01:00
jmt
35cb89626e
As discussed on the mailing list, make the 'nearest' GPS command use scratch lat/lon as the search origin if they are valid.
2009-12-12 00:11:41 +01:00
jmt
c453d1a0cc
Fix reset crash, thanks to Joe: make findNextWithPartial, and the route-manager, robust about people setting NULL / empty airport idents.
2009-12-12 00:11:34 +01:00
Tim Moore
9bc4c938d2
Clean up autoconf test for osg::CullSettings::CLEAR_MASK
2009-12-10 07:26:52 +01:00
Tim Moore
582a95f0cb
small cleanup to vivian's patch
2009-12-09 09:23:20 +01:00
Tim Moore
3922c12163
Vivian Meazza: AI escorts
2009-12-09 09:04:23 +01:00
ehofman
641f000860
Activate external-view checkbox for avionics
2009-12-09 08:16:48 +01:00
ehofman
168dc6ff92
if volume is too low, skip the function entirely
2009-12-09 08:16:39 +01:00
ehofman
0dc35c8d38
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
2009-12-09 08:15:37 +01:00
ehofman
dea145b921
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.
timoore split the original patch so that alcinfo.cxx can be commited to
the ehofman/sound branch seperately.
2009-12-09 08:15:09 +01:00
jmt
106aa02b76
Case-insensitive aircraft names, for the startup arg, so 'C172', 'F16', etc work.
2009-12-07 07:00:01 +01:00
Tim Moore
6324d5a03d
Change int to unsigned in sound device traversal
2009-12-07 06:59:04 +01:00
jmt
e9a9ad6478
Fix displaced threshold handling when using in-scenery definitions of runways.
2009-12-07 00:13:57 +01:00
durk
bfd3efde5c
Allow flights that arrive at their departure airport.
2009-12-07 00:12:28 +01:00
ehofman
c7ef67df80
add avionics enable/disable and volume control to the sound fx class.
2009-12-03 06:43:40 +01:00
Tim Moore
124713b136
set DYNAMIC variance on gui and hud/2dpanel drawables
2009-12-02 07:28:36 +01:00
ehofman
e657a53b32
Turned out a tied proeprty can't be used as a user archive, use a different one
2009-12-01 19:12:56 +01:00
ehofman
2c617798d5
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)'
2009-12-01 19:12:05 +01:00
ehofman
86cd525200
update to allow selection of a new sound device
2009-11-30 22:45:33 +01:00
ehofman
fde1a925fe
Change of thoughts since it makes life easier:
...
/sim/sound/working enable/disable the use of OpenAL
/sin/sound/enabled master mute/unmute
2009-11-30 22:45:23 +01:00
ehofman
64de526267
Fix for older OpenAL versions.
2009-11-30 22:45:07 +01:00
ehofman
a3b66adf51
add a new command line option: --show-sound-devices
2009-11-30 22:44:57 +01:00
ehofman
b4b3f62717
add alcinfo instead.
2009-11-30 09:38:57 +01:00
Tim Moore
78ebe9424b
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.
2009-11-30 09:29:07 +01:00
Csaba Halasz
4fc7105675
Update camera inheritance masks because of OSG changeset 10838
2009-11-30 07:00:43 +01:00
ehofman
3a4892cede
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
2009-11-29 15:57:37 +01:00