ThorstenB
e42a8f597c
Automatic tower positioning
...
New "auto-position" switch to always use closest tower for tower-view.
Exposes new "/sim/airport/closest-airport-id" property.
Display closest airport on groundradar by default.
2011-04-18 22:54:33 +02:00
ThorstenB
9c3571da5f
ADF2 support
...
New "--adf2" option.
Also introducing "--adf1" for consistency, while keeping legacy "--adf".
2011-04-17 17:35:31 +02:00
Erik Hofman
b36b33f716
Lauri Peltonen: make clearcolor black, so that space is dark instead of gray.
2011-04-16 11:35:56 +02:00
ThorstenB
82f6d29f9f
Improve OSG caching.
...
Ensure property tree is provided early to modellib.
To disable: --prop:sim/rendering/cache=0 (enabled by default)
(also requires simgear update)
2011-04-03 19:13:51 +02:00
Durk Talsma
b9b2d9386c
Merge branch 'next' into durk-atc
2011-04-03 17:25:29 +02:00
Durk Talsma
960f6881c9
Merge branch 'next' into durk-atc
2011-04-19 18:02:30 +02:00
Durk Talsma
ee9a5cf73d
Merge branch 'next' into durk-atc
2011-04-17 10:21:09 +02:00
Durk Talsma
49677f512b
Merge branch 'next' into durk-atc
2011-04-04 20:33:41 +02:00
Durk Talsma
52b0baace1
adding changed files for previous commit.
2011-04-03 17:58:16 +02:00
ThorstenB
4141b80b0c
fix #296 : FDMshell+TankProperties not bound after sim reset
...
Well, when we need to unbind something temporarily, it's wise to really
bind it again...
2011-03-29 23:31:59 +02:00
ThorstenB
38226af24e
Improve timing statistics
...
Enable/disable and print statistics at run-time.
Configurable intervals and filters.
2011-03-23 23:09:02 +01:00
ThorstenB
5ace4e9632
Fix reset during replay issue
...
Need to properly reset the replay manager's states on sim reset.
Also remove obsolete method.
2011-03-22 21:02:57 +01:00
ThorstenB
b6d70d2c71
Replay improvements
...
Clear replay buffers on sim reset.
Allow instant replay to be activated properly when sim is paused.
2011-03-20 15:03:47 +01:00
ThorstenB
f6fde388a2
Untie all TiedPropertyLists before destruction.
...
Untieing needs to be done prior to the destruction of the object which
aggregated the TiedPropertyList. So the TiedPropertyLists destructor can't
untie the properties automatically (and it doesn't). So, do some manual
clean-up.
2011-03-07 19:38:48 +01:00
Torsten Dreyer
1050a35d92
prepare for subsystem_mgr.hxx no longer including props.hxx
...
subsystem_mgr.hxx will soon no longer include props.hxx since it
does not (need to) know about properties at all.
2011-02-27 12:53:47 +01:00
Torsten Dreyer
6c3035af60
allow proxy to set as an url
2011-02-20 17:14:30 +01:00
Torsten Dreyer
3ccfdac8fe
use http_proxy environment variable
2011-02-20 11:42:21 +01:00
ThorstenB
7bc9749d91
Support scenery reloading (needs simgear update).
...
TileMgr subsystem reinit: remove all scenery tiles from scenegraph and
clear cache (simgear update required).
"normal" sim resets: no TileMgr reset is needed (avoid reloading scenery).
2011-02-13 19:26:55 +01:00
ThorstenB
45f526aca5
Minor output format issue.
2011-02-13 19:26:32 +01:00
ThorstenB
07fe929288
Fixed helicopter view.
...
Corrected the new panning check: panning rotates around the y-axis,
so the x- or z-axis need an offset != 0 (not x-/y-axis).
2011-02-01 19:23:05 +01:00
ThorstenB
91d001ff4e
Fix viewer issue with Tower and Chase View.
...
When looking _at_ a model with an x,y offset of 0,
then the view heading has no effect. So, force heading offset property
to 0 to keep other property consumers from running incorrect calculations.
=> Trying to rotate the heading offset in Tower/Chase view no longer
rotates the blue sky around the aircraft, though the viewer itself
isn't rotating anything.
2011-01-30 17:35:07 +01:00
Frederic Bouvier
86bb7f39f9
Ignore a generated file
2011-01-28 20:15:43 +01:00
Frederic Bouvier
511e10142d
Cmake: use different icons for 32-bit and 64-bit executables
2011-01-28 19:34:49 +01:00
Frederic Bouvier
0807cf3ae6
Cmake: set an icon to the Windows executable
2011-01-28 19:30:27 +01:00
Torsten Dreyer
e86cecf470
Fix bug #253 , at least partially
...
make options
--wind=nnn@mm
--visibility
--visibility-miles
--ceiling
--turbulence
work again. These options now write properties in the
/environment/config/presets
branch. The values will be applied in the property-rules
in FGDATA/Environment/interpolator.xml
2011-01-19 19:36:04 +01:00
Mathias Froehlich
3134acca83
Add the hla stuff to the cmake build system.
2011-01-17 21:35:12 +01:00
Mathias Froehlich
70dd6279a7
Add an initial implementation of a hla module.
2011-01-17 21:35:03 +01:00
James Turner
d005cae22e
Bug 254: make all the HUD related options apply to hud[1], not hud[0], so they function as expected.
2011-01-16 15:31:39 +00:00
Frederic Bouvier
d0a2fbba99
Revert joystick patch. One would have to provide a better one
2011-01-14 22:37:39 +01:00
Frederic Bouvier
4d0a6f5668
Olaf Flebbe: incorporate plib js code to fix problems with MS joysticks under Vista and 7
2011-01-14 21:32:59 +01:00
ThorstenB
4458f7ce73
Enable AI traffic for offline users and issue #248
...
- #248 : new enable/disable-ai-traffic command-line option
- AI traffic: don't wait for METAR when real-wx-fetch disabled, to
enable AI traffic when running offline
2011-01-08 21:38:26 +01:00
Torsten Dreyer
905e796e35
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-01-03 20:20:18 +01:00
James Turner
6d3773cb40
Olaf Flebbe: Removed Boost serialization linkage on MSVC
2011-01-03 09:50:05 +00:00
Torsten Dreyer
70a525d47c
Merge branch 'next' of gitorious.org:fg/flightgear into next
2010-12-31 12:23:54 +01:00
James Turner
e97eb4db85
Reduce log-level of aircraft-dir related messages.
2010-12-30 09:38:21 +00:00
Dave Luff
07d430c129
More fixes to the ATCDCL & ATC compilation
...
Rename ATC/atis.[ch]xx to ATC/atis_mgr.[ch]xx, to avoid confusingly
having 2 atis.cxx and 2 atis.hxx in the source tree. Also fix a copy
and paste error in src/ATCDCL/CMakeLists.txt.
2010-12-29 18:52:39 +00:00
Dave Luff
d6fceb3fbc
Remove conditional compilation of ATCDCL
...
This patch removes the conditional compilation of ATCDCL, compiling both
the old and new ATC systems. The old system only provides ATIS, AWOS and
some dialog lookups, and hence should not conflict with the new system.
2010-12-28 18:23:40 +00:00
Torsten Dreyer
a0689eedd7
Cleanup: don't unbind unknown properties
2010-12-28 12:28:26 +01:00
James Turner
2b5f50e856
WIN32/MSVC fixes from Olaf Flebbe
2010-12-27 12:44:17 +00:00
Dave Luff
86505fd8bc
Fix up some include paths in main.cxx
...
Don't include legacy ATCmgr.hxx when it is not compiled (default).
Do include 3 paths that are necessary for main, but were only picked
up indirectly through the legacy ATC code.
2010-12-26 23:19:57 +00:00
Tim Moore
958a28b97f
cmake changes for osg::CullSettings::ClearMask and Fedora
...
HAVE_CULLSETTINGS_CLEAR_MASK was not set, so a program to test
CLEAR_MASK was added. The Posix timer function clock_gettime is in
librt on Fedora, and probably on other systems too.
2010-12-26 00:44:02 +01:00
James Turner
a91ec5f9f9
Initial work on CMake build files, with considerable help from Olaf Flebbe.
2010-12-19 15:06:04 +00:00
James Turner
0b3829810f
Don't crash if WindowBuild fails.
2010-12-11 14:29:05 +00:00
Frederic Bouvier
82b1735c64
Use a syntax MSVC can compile
2010-12-10 08:28:05 +01:00
ThorstenB
b4478b56c9
Issue #66 : Non alphanumeric characters in callsign
2010-12-09 16:57:12 +01:00
ThorstenB
ca8cd763af
Rid some uninitialized vectors (NaNs).
2010-12-05 23:01:57 +01:00
James Turner
b9976f7d34
Fix for bug #72 - don't init traffic manager if disabled.
...
Disabling the traffic-manager at runtime will prevent new flights being scheduled.
2010-12-02 20:29:28 +00:00
James Turner
55c0d3f4d6
Build without OSG implicit ref-ptr conversion
2010-12-01 23:57:18 +00:00
ThorstenB
79094e8c36
Fix bug #187 : check if path cache matches fg-aircraft dirs
...
Check if any fg-aircraft dir changed - sequence also matters.
2010-11-29 22:48:37 +01:00
Tim Moore
27a7b98284
compilation fixes for older versions of OSG
2010-11-29 22:43:52 +01:00
Tim Moore
d38fcc9979
panoramic spherical distortion
...
This supports the panoramic distortion option, as found in osgViewer, in
the camera file syntax of flightgear.
2010-11-28 23:29:20 +01:00
James Turner
ce8ca7853c
Fix bug #125
2010-11-24 20:57:56 +00:00
James Turner
4a25fe3adc
Ignore -psn_ argument if launched as a GUI app on Mac.
2010-11-22 23:28:12 +00:00
James Turner
e0aef846e3
Fixing bug #172 - warp handling during pause.
2010-11-21 23:43:41 +00:00
ThorstenB
fabf45bfd5
Use simgear abstraction for sleeping.
...
Fix required for Bill's OS...
2010-11-19 15:05:12 +01:00
ThorstenB
44901ae86f
Tile manager improvements
...
Priority scheme for tile loading/removing
Cleaner tile manager interface for AI/groundcache/...
Reduce start-up delay. Drop splash screen when inner scenery is available.
Be nice to osg loader: slow-down main loop while initial scenery is still loading.
2010-11-19 13:59:43 +01:00
ThorstenB
20b58fd9ab
Set initial environment visibility (thanks to kantoon)
2010-11-19 13:47:13 +01:00
ThorstenB
ca3cabc60a
Kill some unnecessary include dependencies.
...
Speed-up compilation when working on tilemanager.
2010-11-19 13:44:52 +01:00
Tim Moore
38e1600bed
add a command to print information about visible objects in the scene
2010-11-15 00:09:52 +01:00
James Turner
86b906e84e
Expose SimGear and OSG versions via properties too.
2010-11-14 22:55:55 +00:00
ThorstenB
1d8913b53e
Fixed path resolution (search --fg-aircraft dirs)
...
Do not abort early when resource doesn't match /sim/aircraft-dir.
2010-11-14 21:06:19 +01:00
Frederic Bouvier
79ece1c22c
MSVC: compile with version.h if environment variable HAVE_VERSION_H is set to 1
2010-11-14 13:28:17 +01:00
Mathias Froehlich
3d54541cad
Make out of source builds again work.
2010-11-14 11:07:46 +01:00
James Turner
1dbe833579
Use updated version.h if available.
...
Add single fallback header if version.h is missing.
2010-11-13 18:58:55 +00:00
Christian Schmitt
0a5e86f4e6
remove old .cvsignore files
2010-11-11 01:16:29 +01:00
Torsten Dreyer
0917a5e062
Bugfix: no automatic runway selection with --parkpos=
2010-11-10 23:28:07 +01:00
Torsten Dreyer
9242f3a083
Make startup.nas obsolete
...
This is an ugly hack for automatic runway selection on startup based on
metar data. It's main intention is to make startup.nas obsolete and
to guarantee the same runway selection logic as used for AI traffic.
Calling presets-commit from startup.nas during the initialization
sequence caused occasional trouble and sometimes, the AI traffic
operated on the opposite runway.
2010-11-10 22:19:25 +01:00
ThorstenB
85185b56c5
Fixed hot-spot display for 3d modes
...
Also set left/right culling masks (standard mask no effect when 3d rendering is enabled).
2010-11-08 00:24:41 +01:00
James Turner
0cb0c59bc9
FGIO uses new SGSubsystem shutdown() logic
2010-11-06 07:22:37 +00:00
James Turner
c053de6b4c
If preset-commit occurs during init, skip most re-init logic.
2010-11-02 23:19:09 +00:00
James Turner
eeaf4b13e6
Unify reset/reposition code-paths, and ensure initial state is preserved by a reset.
2010-11-02 22:45:43 +00:00
James Turner
0d6de72b57
Add headerpax-max-install-names, for Mac deployment.
2010-11-02 14:24:09 +00:00
Csaba Halasz
27782d7c8b
Added null pointer check to AI subsystem tear down in FGGlobals destructor to avoid crash when using --help option
2010-10-31 00:36:54 +02:00
ThorstenB
7dd2cf19e8
Fixed some compiler warnings.
...
Please the compiler (gods).
2010-10-29 21:14:09 +02:00
James Turner
d1a4590721
Goodbye old HUD - and the archeology it depended upon in cockpit.cxx
2010-10-29 08:47:58 +01:00
James Turner
e9f4106bc1
Remove confusing default (missing) path from 2D panel code.
2010-10-28 13:54:45 +01:00
James Turner
c96206aafd
Tweak shutdown code, chasing intermittent segfaults on shutdown.
2010-10-26 23:42:34 +01:00
Torsten Dreyer
4371a18771
resurrection of /sim/rendering/draw-otw
2010-10-26 21:20:01 +02:00
James Turner
0e53e2cbb1
PLIB net removed from FlightGear
2010-10-24 07:10:51 +01:00
James Turner
984900d84d
Make v2 HUD a top-level subsystem, so it can be reinit()ed correctly.
2010-10-24 07:10:02 +01:00
James Turner
957a59e57a
Investigating an intermittent shutdown crash; fix deletion of AIManager.
2010-10-23 19:09:08 +01:00
James Turner
d573cb43a0
Move three more subsystems into the init + update scheme - fixes some crashes found by papillion.
2010-10-22 16:44:37 +01:00
James Turner
f5c2c630eb
Remove references to old (unused) airways code
2010-10-20 17:54:16 +01:00
James Turner
dd2eec7bd8
Airways/procedures code - add new data structures to store waypoints and
...
procedures, and routing algorithms, and modify the GPS, route manager and
WaypointList to use the new objects.
2010-10-20 09:02:02 +01:00
James Turner
9b2cea33e8
Remove uneccessary explicit update of FGLight
2010-10-05 23:17:32 +01:00
James Turner
0c342308eb
Make MultiPlayer a well-behaved subsystem.
2010-10-05 23:17:32 +01:00
James Turner
d39841d2df
Make FGAircraftModel behave like a standarrd subsystem.
2010-10-05 23:17:32 +01:00
James Turner
0beab94cb5
Make the tile-manager a well-behaved SGSubsystem
2010-10-01 19:09:19 +01:00
James Turner
1afd4e602e
Get rid of FGGeneral; expose equivlanet values via properties.
2010-10-01 09:33:31 +01:00
James Turner
af4e47179e
Kill off fgRequestRedraw
2010-09-30 23:13:11 +01:00
James Turner
84b45683fc
Refactor exit code, so the osgViewer gets 'done'.
2010-09-30 23:13:11 +01:00
James Turner
f969504e6b
Tidy fg_commands header.
2010-09-30 23:10:00 +01:00
Torsten Dreyer
5c6fe95259
Environment controller overhaul
...
This is the initial commit for a reworked environment controller.
The main intention is to decouple the individual modules like
metar fetch, metar properties, environment interpolation etc.
to make it easier for other weather module developers to modify
environment settings.
As a side effect, the dialogs for weather-scenario, weather-conditions,
clouds and precipitations have been merged into a single dialog
2010-09-11 16:11:35 +02:00
James Turner
7227973e2f
Don't expect an 'Aircraft' sub-directory within each aircraft-dir.
2010-09-08 11:01:26 +01:00
James Turner
e8b0bb872a
Register the aircraft resource provider.
2010-09-06 22:57:48 +01:00
James Turner
8330449c5f
Pass current-dir into XMLSound
...
(and update to revised SGSoundSample ctor)
2010-09-06 09:28:28 +01:00
James Turner
a7a2cb393a
Use the new Simgear ResourceManager to resolve paths.
2010-09-06 09:13:10 +01:00
Torsten Dreyer
1e43675f61
Expose some OSG DisplaySettings to the property tree
2010-09-05 11:56:38 +02:00
Torsten Dreyer
54e6757211
Autopilot is more than just an autopilot: Introducing: "property rule"
...
The autopilot has grown beyond being just an autopilot. It's
components, filters and controllers could be used to set property
values based on complex rules and driven from other property values.
That's why I chose to give it the name "property-rule".
This patch allows to define an arbitrary number of property rules under
a/sim/property-rule[n]/path
using the same syntax as autopilot configurations.
2010-08-18 18:50:07 +02:00
James Turner
dbd9935c52
Expose aircraft-dirs under /sim (read-only, for security)
2010-08-16 11:00:54 +01:00
Torsten Dreyer
e43456ba43
Merge branch 'next' of gitorious.org:fg/flightgear into next
2010-08-15 20:35:14 +02:00
Torsten Dreyer
60f7d0f16c
Downgrade the ridgelift to a subsystem of environment
2010-08-15 20:33:29 +02:00
James Turner
bca3494462
Support relative paths in 'loadxml' command
...
(relative to FG_ROOT or an aircraft dir)
2010-08-15 11:02:15 +01:00
Torsten Dreyer
bb2d1f55e9
Interpret environment variables and hostname on Windows
...
- Point the homedir variable to %APPDATA%/flightgear.org. This
enables .fgfsrc in this path for windows users.
- Evaluate the returncode of gethostname() to not strdup() bogus
characters on failure. Also mainly on windows.
2010-08-06 09:06:32 +02:00
James Turner
7f36caede6
Create TimeManager subsystem, and collect the time related code out of main.cxx and fg_init.cxx into it.
...
Remove the unfortunately named 'tmp.[cxx|hxx]', pushing the remaining code in FGLight.
(second try, with init bug fixed)
2010-08-04 09:16:37 +01:00
David Luff
53358a55bf
Remove old AI system
2010-08-03 00:21:56 +01:00
James Turner
47fd8a8a2a
Revert "Create TimeManager subsystem" - not quite ready for prime-time yet!
...
This reverts commit 50eb95dcad
.
2010-08-02 00:23:36 +01:00
James Turner
50eb95dcad
Create TimeManager subsystem, and collect the time related code out of main.cxx and fg_init.cxx into it.
...
Remove the unfortunately named 'tmp.[cxx|hxx]', pushing the remaining code in FGLight.
2010-08-01 20:33:11 +01:00
James Turner
388a0a5b6a
Make saveInitialProperties smarter, and hence simplify the reset code path.
2010-08-01 19:04:20 +01:00
Durk Talsma
7c73c7d3e5
Added some stubs in the flightgear main code to eventually add a full, FGSubsystems based ATIS system that will serve as a replacement for the ATCDCL code.
2010-08-01 16:16:33 +02:00
James Turner
d9236f33b2
Remove use of simgear/screen/extensions.h.
2010-07-31 15:15:40 +01:00
James Turner
8e5f3ac8a3
Set the key SGModelLib callback to make aircraft-dir OSG loading work.
2010-07-29 01:07:32 +01:00
James Turner
ab495d1370
Add --fg-aircraft option, and aircraft dir path list. Partial support in places that load files, for respecting the setting.
...
Add helper to look for an aircraft branch path in multiple candidate locations.
Update the main subsystems to use the helper, and hence load from any aircraft dir.
2010-07-28 22:03:10 +01:00
James Turner
d1852430bf
Make various implicit includes (via PLIB) explicit.
2010-07-28 10:25:42 +01:00
James Turner
9604908a8d
Remove all (2) uses of simgear/math/vector.h from FlightGear.
2010-07-23 13:26:07 +01:00
James Turner
900fce6374
Fix issues exposed by PLIB-free SimGear.
2010-07-23 09:41:37 +01:00
James Turner
bf52c378a4
Clean up names in --show-aircraft; avoid -set.xml suffixes.
2010-07-22 01:36:32 +01:00
James Turner
c95a5db23d
Rewrite --show-aircraft and --aircraft handling to share directory search code.
...
As a bonus, sort the --show-aircraft list case-insensitively.
2010-07-17 14:12:52 +01:00
James Turner
af3f072c21
Convert scenery path setup to use simgear::Dir
2010-07-17 14:12:52 +01:00
James Turner
2c90eb8370
Convert --show-aircraft to use simgear::Dir
2010-07-17 14:12:52 +01:00
James Turner
c32da90e5c
Ensure sim/signals/fdm-initialized is only fired on a rising edge; add sim/fdm-initialized as the state value.
2010-07-13 13:47:24 +01:00
James Turner
c47d4f2f30
Fix bug 141, by ensuring certain subsystems are assigned to the 'post FDM' group (which is new)
2010-07-08 23:24:39 +01:00
James Turner
07d055b4de
One more juggle to appease the linker gods.
2010-07-02 10:00:05 +01:00
James Turner
cfe9aaac4c
Juggle fgfs link order to keep GNU ld happy.
2010-07-02 09:06:57 +01:00
James Turner
88e65f7662
aircraft.[cxx|hxx] is gone.
2010-07-01 22:56:22 +01:00
James Turner
18d42ec1af
Rename reInit() method to 'resetSimulator', and document that it's hooked up to the 'reset' command.
2010-07-01 22:50:11 +01:00
James Turner
d279c394d7
Clean fg_init.hxx
2010-07-01 22:43:28 +01:00
James Turner
01e0156b5d
Remove current_aircraft global, fgAIRCRAFT struct, and dead code for reading aircraft dirs.
2010-07-01 22:33:51 +01:00
James Turner
3f26d2b14b
Trivial cleanup commit, to test continuous integration server.
2010-07-01 19:51:05 +01:00
James Turner
fec7cb977c
Clarify warnings from fgUntie, and fix one source of such warnings, in FGInterface.
2010-07-01 02:04:16 +01:00
Durk Talsma
3c60bf6511
Make sure also not to try running AI_mgr when compiling fgfs with --disable-atcdcl. FlightGear can now actually run without segfaulting when compiled this way.
2010-06-27 10:08:26 +02:00
Torsten Dreyer
4466729987
fix assertion in sunsolver.cxx with --timeofday=xx
2010-06-26 21:58:45 +02:00
Torsten Dreyer
2e6d7e111a
gcc warning fixes
2010-06-26 21:24:46 +02:00
Torsten Dreyer
e1b9d3d759
Don't crash if built with --disable-atcdcl
2010-06-26 20:24:34 +02:00
James Turner
180e524a0e
Fix automake build after mainloop changes - especially, JSBSim includes.
2010-06-26 18:37:51 +01:00
James Turner
f9ec605ffb
Fix ordering of aircraft-model updates against flight model.
2010-06-26 10:31:22 +01:00
James Turner
85be9be1e0
Initial work on FDM shell, and removal of cur_fdm_state
2010-06-26 10:31:22 +01:00
James Turner
4756cd4882
Wrap SGEphemeris in a subsytem/property interface, and remove from mainloop.
2010-06-26 10:31:21 +01:00
James Turner
3fbf3aa080
Make FGAircraftModel more subsystem-alike, move update to fgMainLoop.
2010-06-26 10:31:21 +01:00
Torsten Dreyer
d558b52cb6
New autopilot subsystem implementation.
...
Split the former single-file-implementation in xmlauto.?xx into multiple
files and use some OO techniques. Started with documentation to be used
with doxygen.
2010-06-24 17:09:33 +02:00
Tim Moore
0f8312150d
Log OpenGL vendor and version string
2010-06-15 23:58:55 +02:00
Mathias Froehlich
f433f4d973
Default the screen and display number to a value >= 0
2010-06-14 22:05:15 +02:00
Tim Moore
b692a165fb
Remove osgGA/MatrixManipulator include
...
From AndersG; the file is gone from recent OSG.
2010-06-06 23:31:47 +02:00
Torsten Dreyer
c89b18ddbd
Ignore generated files
...
add generated files to gitignore that has also been in cvsignore
remove generated config.h-msvc* from source control
2010-06-02 11:27:16 +02:00
Tim Moore
473cea7f17
remove references to osgGA::MatrixManipulator
...
This class has been removed in current OSG sources.
2010-05-31 07:06:55 +02:00
James Turner
ad19acf1c6
Remove C++ autobrake code - this can all be done easier in XML now!
2010-05-29 10:36:23 +01:00
Jeff Taylor
09f3ee6351
Fix fgviewer segfault
...
fgviewer crashes when reading weird channel options (which it doesn't use).
Here is a patch which fixes this by adding a pointer check.
2010-05-23 20:13:09 +02:00
Tim Moore
fcb255d19e
Merge branch 'ehofman/sound-reinit' into next
2010-04-12 10:02:01 +02:00
ehofman
5d0d6998d2
Don't forget to resume the sound system after reinit
2010-04-12 10:01:51 +02:00
ehofman
2b83ed9cbe
allow reinitializing the sound system by setting /sim/sound/working to false at runtime.
2010-04-12 10:01:28 +02:00
Tim Moore
33aead9a21
Merge branch 'jmt/view' into next
2010-04-03 22:34:15 +02:00
jmt
bc7c3ad4c6
bug99 - Fix case where damping is enabled, but factor is 0.
2010-04-03 22:34:07 +02:00
jmt
a33745e888
Bug #99 - change viewer damping calculation, to work correctly regardless of set/recalc/update ordering per frame.
2010-04-03 22:34:00 +02:00
Tim Moore
2229af9f78
Merge branch 'ehofman/particle' into next
2010-03-28 00:35:35 +01:00
ehofman
e78c56af7d
Allow particles to be frozen on pause.
2010-03-28 00:35:28 +01:00
Tim Moore
dba4a69e2c
Merge branch 'torsten/commands' into next
2010-03-27 15:45:44 +01:00
torsten
5df9f6a951
Code cleanup: reuse duplicate code.
2010-03-27 15:45:25 +01:00
Tim Moore
7ee645aa20
Merge branch 'timoore/getpath-rebase' into next
2010-03-09 11:25:18 +01:00
Tim Moore
7ff80d11a0
changes for SGPropertyNode::getPath return type
...
It's now a std::string.
2010-03-09 11:24:45 +01:00
Tim Moore
d61d14aa91
Merge branch 'jmt/gui'
2010-02-25 12:04:58 +01:00
Tim Moore
351d1ddb5e
Merge branch 'jmt/gui' into next
2010-02-17 07:41:48 +01:00
jmt
4f99561f63
Quiet: reduce log-level of various things from INFO to DEBUG or BULK, and tune the categories/level of some specific messages.
...
Commit split by timoore in order to apply most of it to maint branch.
2010-02-17 07:41:23 +01:00
V Meazza
00a9151b1a
Add Stencil Lighting
...
Signed-off-by: V Meazza <vivina.meazza@lineone.net>
2010-02-10 15:54:48 +01:00
Tim Moore
fba05c527f
Merge branch 'torsten/track'
2010-02-10 00:45:28 +01:00
Tim Moore
988a6771aa
Merge branch 'durk/atcdcl-cond'
...
Conflicts:
src/ATC/trafficcontrol.cxx
src/Main/Makefile.am
2010-02-10 00:45:06 +01:00
Tim Moore
3e0489bd91
Merge branch 'torsten/auto'
2010-02-10 00:41:44 +01:00
durk
e54798a8e2
A couple of last-minute patched / bugfixes to mitigate the probability of collisions between user controlled aircraft and AI traffic.
...
* AI aircraft distance to user proximity detection works again (lat/lon were inverted).
* The parking uses by the user aircraft is marked as such to prevent it being reused by an AI aicraft
* AI aircraft won't receive permission for pushback until the user aircraft is at a fair distance.
2010-01-31 17:52:43 +01:00
fredb
00e9ad3055
MINGW patch from Benot Laniel
2010-01-25 17:12:04 +01:00
durk
a023700ebe
Update base package version check.
2010-01-21 06:30:35 +01:00
Tim Moore
98d8a98ef2
Merge branch 'ehofman/sound'
2010-01-13 07:30:52 +01:00
Tim Moore
a89a28c4e6
Merge branch 'ehofman/version'
2010-01-12 09:16:02 +01:00
Tim Moore
0d9f2e3c95
Merge branch 'topic/pu-crash'
2010-01-11 07:46:27 +01:00
ehofman
8e4d979aca
Don't initialize the soundmanager wehn defining --disable-sound. Sound can still be enabled at runtime by setting /sim/sound/working to 'true'
2010-01-10 23:33:57 +01:00
durk
d8ae90801a
Some additional changes to ensure that FlightGear at least compiles after configuring with --disable-atcdcl. Some substitution code is added in ATC/atcutils.cxx and ATC/atcutils.hxx. Note that the new code doesn't run properly yet. Instead, it is just meant to identify which parts need replacement. Getting that to work will be the next step.
2010-01-05 22:21:49 +01:00
torsten
78d8e7edfd
now that there is a true track property, the magnetic track is nice to have, too.
2010-01-05 22:19:58 +01:00
durk
8114d1d899
Conditional compilation of ATCDCL module. Use --disable-atcdcl to try building flightgear without ATCDCL code.
2009-12-30 17:44:06 +01:00
Tim Moore
1e6ed8db68
Move getLoggingClasses() result buffer to file level.
...
Getting it out of the function fixes some corruption problems at program exit.
2009-12-30 17:34:58 +01:00
ehofman
90e44c6696
Display the (default) OpenAL renderer as well as the OpenAL vendor when requesting the list of sound devices.
2009-12-27 09:33:14 +01:00
Tim Moore
d2c7179cd0
Merge branches 'jmt/aircraft-name' and 'jmt/runway'
2009-12-22 00:16:38 +01:00
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
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
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
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
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
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
a3b66adf51
add a new command line option: --show-sound-devices
2009-11-30 22:44: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
ehofman
3abb7afa45
List all available playback devices under '/sim/sound/devcies'
2009-11-29 15:57:17 +01:00
ehofman
ef4814599d
* 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)
2009-11-29 15:57:02 +01:00
torsten
179a799333
- fix the <condition> element which was no longer working due to an invalid property root
...
- allow multiple <autopilot> elements within an aircraft. All autopilot live in an individual FGXMLAutopilot subsystem which run within a subsystem group now.
2009-11-29 15:56:13 +01:00
Tim Moore
b39599f578
Merge branch 'ehofman/sky'
2009-11-26 23:32:20 +01:00
Tim Moore
ad9366ed99
Merge branch 'ehofman/jsbsim'
2009-11-26 23:31:59 +01:00
ehofman
3d19352f13
proper listener velocity calculation, this has no effect yet but is required when other models start emitting sounds.
2009-11-24 14:22:54 +01:00
ehofman
97db69cf8f
restore listener position with offset
2009-11-19 21:03:05 +01:00
ehofman
0578b06a0c
temporarily remove listener (viewer) and source offsets. they mess things up
2009-11-12 23:01:41 +01:00
ehofman
96b7939947
put the debugging quat strings as doubles under /sim/current-view/debug instead.
2009-11-11 17:49:42 +01:00
ehofman
769bac95e3
put the debugging quat strings as doubles under /sim/current-view/debug instead.
2009-11-11 17:49:42 +01:00
Tim Moore
8117134879
don't define constant objects in header files
2009-11-09 10:24:46 +01:00
ehofman
e750dc368d
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.
2009-11-09 10:07:42 +01:00
ehofman
fe834dedfb
Save a costly SGVec3d::fromGeod() calculation
2009-11-07 08:54:03 +01:00
Tim Moore
ef152ee411
Merge branches 'durk/scenery' and 'ehofman/fog'
2009-11-06 23:39:17 +01:00
ehofman
2d2710d5da
pass the geodetic position and view orientation quat to the sky repositioning function
2009-11-05 16:28:11 +01:00
ehofman
ab149d0036
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.
2009-11-05 16:27:58 +01:00
ehofman
342744fddb
Use the proper absolute position for the listener
2009-11-04 23:14:33 +01:00
ehofman
3b5792e7cc
minor upodate by John
2009-11-02 23:30:34 +01:00
ehofman
0be434936e
John Denker: Simplify redundant code and superfluous variable
2009-11-02 23:30:29 +01:00
ehofman
6e5673de21
Position and orientation fixes for the sound code, thanks to Tim Moore
2009-11-02 23:30:02 +01:00
ehofman
7efed53475
proper sound orientation(?) and comment out velocity since it messes with OpenAL in such a way that volume doesn't work properly anymore
2009-11-01 22:05:56 +01:00
Tim Moore
28d221cd7c
Revert lighting "cleanup" for now.
...
The osgViewer headlight appears to be critical for enabling lighting.
2009-10-31 23:00:11 +01:00
ehofman
d2799cd832
another attempt at getting something useful without any result.
2009-10-31 22:57:27 +01:00
Tim Moore
e0a779adb1
fix moon lighting at night
...
This hasn't worked since the OSG port was initially checked in. A real
phase-of-the-moon bug!
2009-10-30 23:12:14 +01:00
ehofman
9535c4e339
Commit the current state of affairs to see if it fixes the position code for others
2009-10-29 23:09:21 +01:00
ehofman
c56c520ab5
initlialize _playing for FGATC. Proper listerner orientation based on view offset. proper velocity orientation
2009-10-28 23:23:53 +01:00
ehofman
290bef5749
MSVC fix
2009-10-26 22:12:10 +01:00
durk
b4eb30a6c5
Revoke url change detection code.
2009-10-26 07:45:04 +01:00
Tim Moore
c563cd034a
delete char array with delete[]
2009-10-24 22:50:43 +02:00
durk
904a99714e
Two patches:
...
1) Fix for the "use custom scenery airport data" property.
2) Make it a little harder for stupid people to make money behind our backs.
2009-10-24 19:53:03 +02:00
ehofman
f9445874a0
Don't make the SoundManager a memebr of the subsystem manager; It needs to be initialized very early and destroyed as late as possible. That doesn't work as a subsystem meber onless some sort of priority scheme gets implemented. Get rid of auto_ptr which doesn work for the samples either.
2009-10-24 19:51:39 +02:00
ehofman
afb0ada81f
Make sure the unbind method is called for all registered subsystems proir to deleting the subsystem manager.
2009-10-20 00:00:08 +02:00
ehofman
73d4b78396
explicitly activate the sound manager
2009-10-18 18:19:52 +02:00
ehofman
a9b3fc7a56
move some of the sound postion and orientation calculations over to the sample class which also makes the main code nice and clean
2009-10-16 11:24:10 +02:00
Tim Moore
21122fa03e
Merge branches 'jmt/brakes' and 'jmt/dump'
2009-10-12 11:05:36 +02:00
ehofman
b582c118bd
Correct (and verrified) position, orientation and velocity vector. Todo: proper sound orientation (the all face forward using the airplane orientation now) and disabling doppler effect when tied to the listener
2009-10-12 07:58:11 +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
5107a9d07f
(try to) properly align model and viewer
2009-10-07 08:23:41 +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
Tim Moore
8b10bb12f5
Merge branches 'jmt/navradio', 'jmt/cleanup' and 'torsten/gps-fix'
2009-10-01 15:17:24 +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
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
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
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
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
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
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
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
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
jmt
5a01c55335
Allow the joystick hat to move the view, even when the sim is paused.
2009-09-09 08:56:30 +02:00
Tim Moore
0a64405cad
fix warnings in Main
2009-08-24 18:03:49 +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
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
timoore
b65f0ae0dc
From Till Busch - reload shaders command
...
Also, more documentation for effects.
2009-08-10 07:14:38 +02:00
torsten
0c2db22988
Advanced input subsystem - Step1: cleanup dependencies
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
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
timoore
890b584b8f
Enable EffectCullVisitor
2009-07-16 12:10:48 +02:00
timoore
4cc3084256
SGPropertyNode::Type moves to simgear::props namespace
2009-07-16 12:10:47 +02:00
frohlich
05a0a1f231
Remove ViewPartitionNode that is obviously superseeded by the
...
CameraGroup implementation and that is not used by flightgear.
Modified Files:
FlightGear.dsp configure.ac projects/VC7.1/FlightGear.vcproj
src/FDM/Makefile.am src/Main/Makefile.am
Removed Files:
src/Main/ViewPartitionNode.cxx src/Main/ViewPartitionNode.hxx
2009-07-02 08:59:16 +02:00
frohlich
e9c0c01ebb
Remove now unused functions.
...
Modified Files:
src/Main/renderer.cxx src/Main/renderer.hxx
2009-07-02 08:59:16 +02:00
ehofman
90581f8bf0
changes matching those of generic.?xx
2009-06-23 10:54:09 +02:00
ehofman
879b4df9fc
Return an error when not enough tokens are parsed for the generic protocol, that must be better than causing a segmentation fault.
2009-06-23 10:54:09 +02:00
Tim Moore
b588a92b7f
adapt to changes in sg_exception interface
...
sg_location now uses C strings. Also, change uses of sg_throwable to more
specific exceptions like sg_io_exception.
2009-06-16 11:46:47 +02:00
timoore
f0bfb4d137
Realize viewer explicitly
...
The osgViewer needs to be "realized" so that, among other things, threading
will start. This is normally done by osgViewer::run, but we don't call
that.
Don't realize graphics contexts; Let osgViewer code do it. This way
osgViewer::isRealized returns the correct answer.
2009-06-15 11:25:06 +02:00
fredb
3b024e3dab
Suppress warnings
2009-06-15 10:29:44 +02:00
frohlich
e837aefceb
Remove old osg 2.2 code.
...
Modified Files:
src/Main/renderer.cxx
2009-06-11 16:05:21 +02:00
jmt
e1583cb28c
Update FGViewer position clients to work with SGGeod directly
2009-06-11 16:05:20 +02:00
jmt
2fa160d41a
Replace plain doubles with SGGeod in FGViewer for position and target pos.
2009-06-11 16:05:20 +02:00
torsten
4aacda2390
new command line option --metar="some metar"
...
new handling of real-weather-fetch
major code cleanup
2009-06-03 00:18:56 +02:00
frohlich
28996902a1
Adapt to simgears changes.
...
The season is already checked by the properties.
Modified Files:
src/Main/fg_init.cxx
2009-06-03 00:18:54 +02:00
fredb
8585b2c7b7
Functions should always return a value
2009-06-03 00:18:54 +02:00
timoore
8e1248e1e1
Add --enable-fpe option to cause a trap on floating point exceptions
...
Only on Linux for now; traps on divide by zero and "invalid", which includes
generating a NaN and overflowing an integer conversion.
2009-06-03 00:18:54 +02:00
fredb
7d1440adb8
Allows multi samples > 1
2009-05-18 12:24:16 +02:00
mfranz
095c710c0e
leak fixes
2009-05-18 12:24:16 +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
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
mfranz
35ed31972a
Csaba HALASZ: fix uninitialized _aspect_ratio member in Main/viewer.cxx
2009-04-01 09:23:54 +02:00
frohlich
5168166a9f
Update with changes in simgear.
...
Modified Files:
src/Main/renderer.cxx src/Main/main.cxx
2009-03-18 08:00:09 +01:00
frohlich
183b871b48
Fix a problem with two concurent 'round to multiple of basic simulation
...
time' code paths. The problem may lead to skipped fdm updates at very high
frame rates. The most visible effect of that was that the aircraft
slips backwards wrt the forward moving carrier.
Remove unused stuff.
Modified Files:
configure.ac projects/VC7.1/FlightGear.vcproj
projects/VC8/FlightGearLib.vcproj src/Cockpit/cockpit.cxx
src/FDM/Makefile.am src/FDM/flight.cxx src/FDM/flight.hxx
src/FDM/SP/Balloon.cxx src/FDM/SP/BalloonSim.cpp
src/FDM/SP/BalloonSim.h src/Main/Makefile.am
src/Main/fg_init.cxx src/Main/main.cxx src/Time/Makefile.am
Removed Files:
src/Time/fg_timer.cxx src/Time/fg_timer.hxx
2009-03-18 08:00:09 +01:00
frohlich
aadf568c91
Remove unused stuff.
...
Modified Files:
src/Main/main.cxx src/Main/main.hxx
2009-03-18 08:00:09 +01:00
frohlich
a99ea1c7b5
Port over remaining Point3D usage to the more type and unit safe SG* classes.
...
Remove leftover headers from plib/sg.
Modified Files:
src/AIModel/AIBase.cxx
src/AIModel/AIFlightPlanCreateCruise.cxx
src/ATCDCL/AIEntity.cxx src/ATCDCL/AIEntity.hxx
src/ATCDCL/AIGAVFRTraffic.cxx src/ATCDCL/AIGAVFRTraffic.hxx
src/ATCDCL/AILocalTraffic.cxx src/ATCDCL/AILocalTraffic.hxx
src/ATCDCL/AIMgr.cxx src/ATCDCL/ATC.hxx
src/ATCDCL/ATCDialog.cxx src/ATCDCL/ATCProjection.cxx
src/ATCDCL/ATCProjection.hxx src/ATCDCL/ATCutils.cxx
src/ATCDCL/ATCutils.hxx src/ATCDCL/approach.cxx
src/ATCDCL/commlist.cxx src/ATCDCL/ground.cxx
src/ATCDCL/ground.hxx src/ATCDCL/tower.cxx
src/ATCDCL/tower.hxx src/Airports/calc_loc.cxx
src/Airports/dynamics.cxx src/Airports/groundnetwork.cxx
src/Airports/parking.cxx src/Airports/runwayprefs.cxx
src/Airports/simple.cxx src/Cockpit/cockpit.cxx
src/Cockpit/hud.hxx src/Cockpit/hud_card.cxx
src/Cockpit/hud_rwy.cxx src/Environment/environment.cxx
src/FDM/UFO.cxx src/FDM/SP/MagicCarpet.cxx src/GUI/dialog.hxx
src/Instrumentation/HUD/HUD.hxx
src/Instrumentation/HUD/HUD_runway.cxx
src/Instrumentation/KLN89/kln89.cxx src/Main/fg_init.cxx
src/Main/viewer.cxx src/Main/viewmgr.cxx
src/Model/panelnode.cxx src/MultiPlayer/mpmessages.hxx
src/Scenery/tilemgr.cxx src/Traffic/SchedFlight.cxx
src/Traffic/TrafficMgr.cxx
2009-03-18 08:00:08 +01:00
frohlich
f9f9350b96
Adapt to SGTimeStamp changes.
...
Modified Files:
configure.ac src/Cockpit/panel.cxx src/FDM/Makefile.am
src/FDM/flight.hxx src/FDM/ExternalNet/ExternalNet.hxx
src/Instrumentation/marker_beacon.cxx src/Main/Makefile.am
src/Main/fg_init.cxx src/Main/main.cxx
src/MultiPlayer/multiplaymgr.cxx src/Time/fg_timer.cxx
utils/GPSsmooth/MIDG_main.cxx utils/GPSsmooth/UGear_main.cxx
utils/GPSsmooth/gps_main.cxx
2009-03-18 08:00:08 +01:00
frohlich
7e73a87882
Improove FGTileMgr::scenery_available for small ranges.
...
Use SGGeod in FGTileMgr, FGScenery apis.
Modified Files:
src/AIModel/AIBallistic.cxx src/Main/main.cxx
src/Scenery/scenery.cxx src/Scenery/scenery.hxx
src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx
src/Scripting/NasalSys.cxx
2009-03-18 08:00:07 +01:00
frohlich
f07e8a7e94
Avoid casts if there is a method for the apropriate job.
...
Modified Files:
src/Main/main.cxx
2009-03-11 23:14:34 +01:00
frohlich
19331f2813
Fix problem introduced with yesterdays viewer change.
...
Modified Files:
src/Main/viewer.cxx
2009-03-11 23:14:34 +01:00
frohlich
e51c8bdce9
Silence valgrind error.
...
Modified Files:
src/Main/viewer.cxx
2009-03-11 23:14:34 +01:00
frohlich
b125315e50
Avoid SGLocation usage.
...
Again, the previous commit did not complete for some reason.
Modified Files:
configure.ac src/AIModel/AIBase.cxx
src/ATCDCL/AILocalTraffic.cxx src/FDM/Makefile.am
src/FDM/flight.hxx src/FDM/LaRCsim/LaRCsim.cxx
src/Main/Makefile.am src/Main/fg_init.cxx src/Main/main.cxx
src/Main/viewer.cxx src/Main/viewer.hxx
src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx
2009-03-11 23:14:34 +01:00
frohlich
82b54e7a25
Avoid SGLocation usage.
...
Modified Files:
configure.ac src/AIModel/AIBase.cxx
src/ATCDCL/AILocalTraffic.cxx src/FDM/Makefile.am
src/FDM/flight.hxx src/FDM/LaRCsim/LaRCsim.cxx
src/Main/Makefile.am src/Main/fg_init.cxx src/Main/main.cxx
src/Main/viewer.cxx src/Main/viewer.hxx
src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx
2009-03-11 23:14:34 +01:00
frohlich
30b05ee7a3
ompute some vectors from the current view when they are used.
...
Simplifies the update hell in the viewer a bit.
Modified Files:
src/Main/renderer.cxx src/Main/viewer.cxx src/Main/viewer.hxx
src/Time/tmp.cxx
2009-03-11 23:14:34 +01:00
frohlich
5f76fdd07a
Use the positon from the model placment.
...
Use SGGeod based apis in the scenery/tilemanager.
Remove ground query that is no longer used.
Modified Files:
src/Main/main.cxx
2009-03-11 23:14:33 +01:00