ThorstenB
ab84ff5904
Replay upgrade, part II: Integrate flight recorder, update replay system.
...
Drop hard-coded replay property logic, cut ties to net_ctrls, net_fdm.
Improve replay system controls and status information.
2011-10-01 22:58:40 +02:00
James Turner
6c52a5ac85
Fixes for include-file flattening - condition.hxx no longer pulls in props or props_io
2011-07-30 10:47:28 +01:00
ThorstenB
ccd6a094f1
Avoid creation of stray "/null" property nodes.
...
"property-assign" command had a side-effect of creating stray "/null"
nodes when assigning a value (since "getprop2" always creates some node).
2011-07-10 21:25:16 +02:00
ThorstenB
4fd1e219a4
#348 related: More places where missing files were not reported properly
...
Whenever resolving a (relative) path to an absolute path with
'resolve_maybe_aircraft_path', check if the result is empty and report original
(relative) path as missing. Otherwise no or a meaningless message is
issued ("File '' not found.").
2011-07-03 13:06:41 +02:00
James Turner
fc7e9740c3
Improvements to exposing FGPositioned via commands - support frequency searches.
2011-06-01 23:55:04 +01:00
James Turner
436abe1e62
Factor timeofday command into the TimeManager
2011-05-25 12:13:25 +01:00
James Turner
c09c0e6941
First attempt at support for loading airport XML files via a command
2011-05-25 00:03:51 +01:00
ThorstenB
9a3fb418e4
Fixed #321 : --enable-clock-freeze freezed the splash screen
...
Splash screen effect must use system time - not freezable sim time
2011-05-21 14:54:38 +02:00
ThorstenB
87647b40cb
Fix win-compile for new pause command.
2011-05-21 14:07:03 +02:00
ThorstenB
53a954d631
New "pause" fgcommand.
...
Original property-rules in keyboard.xml toggled master and clock freeze
independently - which caused issues when only one property was true. New
command toggles both properties consistently.
2011-05-21 13:27:09 +02:00
ThorstenB
9bd00a62fa
Continuous replay: use correct replay duration
...
(LinuxTag live hacking...)
2011-05-14 10:19:51 +02: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
45f526aca5
Minor output format issue.
2011-02-13 19:26:32 +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
James Turner
e0aef846e3
Fixing bug #172 - warp handling during pause.
2010-11-21 23:43:41 +00: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
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
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
0beab94cb5
Make the tile-manager a well-behaved SGSubsystem
2010-10-01 19:09:19 +01:00
James Turner
84b45683fc
Refactor exit code, so the osgViewer gets 'done'.
2010-09-30 23:13:11 +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
bca3494462
Support relative paths in 'loadxml' command
...
(relative to FG_ROOT or an aircraft dir)
2010-08-15 11:02:15 +01: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
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
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
85be9be1e0
Initial work on FDM shell, and removal of cur_fdm_state
2010-06-26 10:31:22 +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
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
fredb
00e9ad3055
MINGW patch from Benoît Laniel
2010-01-25 17:12: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
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
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
86f462933d
Initial commit of the new sound system, expect more updates to follow
2009-10-06 10:22:09 +02:00
jmt
0c8c8380b1
Break viewmgr.hxx dependency on on viewer.hxx.
2009-09-20 00:20:17 +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
timoore
4cc3084256
SGPropertyNode::Type moves to simgear::props namespace
2009-07-16 12:10:47 +02:00
fredb
3b024e3dab
Suppress warnings
2009-06-15 10:29:44 +02:00
mfranz
d9e9331422
do_save: s/reading/writing/ in the error message
2009-02-02 00:59:05 +01:00
mfranz
12cf1c41ad
add "add-model" command, which adds model properties to the first
...
free /models/model[*] slot and lets the model manager load the
model. The target address is returned under "property". Simple
use in Nasal:
fgcommand("add-model", props.Node.new({
"path": "Models/Fauna/cow.ac",
"latitude-deg": 16.234,
"longitude-deg": 48.321,
"elevation-ft": 300,
});
An "elevation-m" property can alternatively be used and overrides
the "elevation-ft" property.
Each of the properties "latitude-deg", "longitude-deg", "elevation-ft",
"heading-deg", "pitch-deg", and "roll-deg" can alternatively be used
with "-prop" suffix. Their values must then be property path strings
pointing to a node that can be changed at runtime to move the model.
2008-11-19 15:59:54 +00:00
ehofman
14885374de
header cleanups
2008-07-31 12:04:32 +00:00
ehofman
667e64e1eb
- remove the SG_GLxxxx_H #defines, since OSG provides its own versions
...
- this exposed a bizarre issue on Mac where dragging in <AGL/agl.h> in
extensions.hxx was pulling in all of Carbon to the global namespace
- very scary. As a result, I now need to explicitly include CoreFoundation
in fg_init.cxx.
- change SG_USING_STD(x) to using std::x
2008-07-27 16:25:13 +00:00