1
0
Fork 0
Commit graph

483 commits

Author SHA1 Message Date
mfranz
521954116c only enable precipitation if it's enabled in the gui
(/sim/rendering/precipitation-gui-enabled) *and* if the aircraft wants it
(/sim/rendering/precipitation-aircraft-enabled). Some aircraft model rain
on the windshield and want to turn rain off for interior views.
2008-11-23 09:53:46 +00:00
mfranz
4393681be9 add flag/checkbox to enable/disable particles 2008-10-17 21:21:22 +00:00
mfranz
7458142f70 load multikey.xml file 2008-09-28 16:34:43 +00:00
durk
4689ff11f5 Changed the default value for the proportion of AI traffic back to 1.0. 2008-07-13 10:52:57 +00:00
mfranz
fc6748ab95 initialize validation callback properties as string 2008-07-11 16:44:29 +00:00
mfranz
a3d72b09f9 use firefox as browser and create new tab by default 2008-07-09 19:36:41 +00:00
mfranz
fd232f97c0 set write-protection on /sim/startup/browser-app 2008-07-09 17:03:46 +00:00
stuart
f69eaafc07 Disable generic headshake by default. Various people have pointed out that this is not particularly realistic (though I quite like the effect myself so will leave it as an option). 2008-05-30 19:19:35 +00:00
durk
0925bc751e Added a default value for the /sim/traffic-manager/proportion property. 2008-05-09 05:25:54 +00:00
mfranz
1d9d38e929 add paths and runway parameter defaults, so that people are aware of the
possibilities
2008-05-02 21:47:53 +00:00
stuart
01d21c928a Add generic redout. 2008-04-23 20:44:57 +00:00
mfranz
d285a3598b - initialize /sim/rendering/on-screen-statistics, and
- increase it in steps from Menu->Debug
2008-04-21 14:21:14 +00:00
mfranz
82c3e1c694 remember state of random-{objects,vegetation} 2008-04-20 09:17:45 +00:00
mfranz
16393c1327 disallow 360 degree head turns (pilot view) 2008-04-15 17:28:05 +00:00
mfranz
7fbeb50695 view_limiter:
- new parameter naming (left/right instead of min/max; signs are ignored)
- fix wrap-around skips
- use regular constructor so as not to confuse people  ;-)
2008-04-15 13:02:18 +00:00
mfranz
656340fa3d davidB21 + Vivian MEAZZA + /me: pilot view limiter
If a <view> contains a <limits> block, then a view handler gets attached to
it, which limits head turns to a given range, whereby headings beyond a given
threshold cause an additional sideways movement. This is turned off by default
for now.
2008-04-14 10:00:27 +00:00
mfranz
2e77063999 remember the HUD's lat/lon format ("Menu->Autopilot->Set Lat/Lon Format" to cycle) 2008-03-17 19:55:00 +00:00
curt
49288d80e1 Default to some anisotropic texture filtering since unfiltered textures are
distracting blury when viewed from nearly edge on (as runway textures almost always are.)  This can be adjusted to individual preferences with the
--texture-filter={0,1,2,4,8,16} command line option.
2008-02-20 19:46:38 +00:00
stuart
dc4ad0dc80 Update to generic blackout, incorporating feedback from Melchior FRANZ:
- Update redout level every frame
 - Replace reading of properties every iteration with listeners
 - move -onset and -complete properties into a parameters subtree
2008-02-16 20:23:27 +00:00
stuart
dd923792ec Add generic blackout/redout for all aircraft, along with a gui.
Based on previous work by vivian and myself.
2008-02-16 08:26:59 +00:00
sydadams
b0b90ceba3 added sim/startup/season = summer for tree selection based on season 2008-02-15 04:56:37 +00:00
stuart
2472fa5a89 Add a /sim/rendering/random-vegetation property value, defaulting to true. Also remove the userarchive from both the random-object and random-vegetation properties as these can't be set within FG. 2008-02-12 22:27:09 +00:00
mfranz
c35f3207d3 preferences.xml: drop /sim/input/selected/engine settings (these properties
are set in controls.nas since ages)
controls.nas: avoid repeated querying of /sim/input/selected/engine[*]
    properties; this isn't supposed to change at runtime and is a rather
    costly process, especially in axis handlers
2008-01-30 16:48:04 +00:00
mfranz
eb42fbda8c pre-select 12 engines, as needed for the Dornier DO-X 2008-01-30 00:06:42 +00:00
martin
9b16db56f0 Fix Chase View Without Yaw on the basis of:
http://mapserver.flightgear.org/git/gitweb.pl?p=flightgear;a=commitdiff;h=b4e4dc8531aa2c72ad7a1016450b7f5366e2d98a
  http://mapserver.flightgear.org/git/gitweb.pl?p=fgdata;a=commitdiff;h=c952f8ddda9106a2ca3f88b52dc1d30b3c8a7a68
2007-12-25 19:42:13 +00:00
durk
3d33af624f Release related updates:
- Disable the 737 AI demo (because it uses the user 737-300, which is
   currently not part of the base package).
 - New version number
 - Add some more 747 size parking areas at KSFO.
2007-12-11 21:44:02 +00:00
vmmeazza
4ee3367452 Stuart Buchanan:
Add chat menu
2007-12-08 19:01:03 +00:00
mfranz
064a423ee2 change default GUI style 2007-12-04 13:12:15 +00:00
mfranz
f671f0b0f7 add glide slope tunnel option to help menu 2007-12-04 10:51:45 +00:00
mfranz
9e7c866266 better view name, as it's used in the Menu->View Options dialog 2007-11-19 19:06:52 +00:00
mfranz
10c875f75e make system and aircraft views configurable in Menu->Views->View Options.
These are then skipped with view.stepView(n), unless the second, optional
argument is set to 1:  view.stepView(n, 1);
Whether a view is enabled or not, is saved in $FG_ROOT/.fgfs/autosave.xml
(system views) or $FG_ROOT/.fgfs/aircraft-data/<aircraft>.xml
2007-11-19 16:26:15 +00:00
mfranz
0bca5bdea6 - add Debug->Development Extensions dialog with two checkboxes to
- allow turning on/off extra widgets for developers (HUD dialog: colors,
  rendering dialog: visualization of shadow edges), and to turn on/off new
- property key handler ('/'-key)

Both features are off by default, and their state is saved to autosave.xml.
2007-11-18 12:20:17 +00:00
mfranz
df76344180 adapt "Chase View" offsets for fixed "lookat" mode (src/Main/viewer.cxx) 2007-11-05 22:15:44 +00:00
mfranz
99bcbe8ea5 change global dynamic-view flag from /sim/view[0]/dynamic/enabled to
/sim/current-view/dynamic-view. There are additionally <dynamic-view>
settings per view, but those only enable it for that view if it's
globally turned on.
2007-11-03 14:08:39 +00:00
mfranz
67a850560b let JSBSim use FlightGear's atmosphere by default 2007-10-26 16:44:08 +00:00
mfranz
7fa65fe3da don't enforce runway 28R. It's chosen automatically under default wind
conditions, but when a users sets wind from 90, then s/he shouldn't start
from here by default. S/he can still set heading & runway explicitly.
2007-10-04 15:50:35 +00:00
mfranz
27f8562d15 enable dynamic view explicitly for cockpit view. This flag can now also be
set for other views, such as copilot, backseat, etc.
2007-10-03 17:32:39 +00:00
mfranz
eec9f19caa make default HUD semitransparent bright green (looks generally better,
except on dark backgrounds)
2007-09-30 10:08:21 +00:00
mfranz
e092ee9abc - we prefer hyphens in property names to underscores
- save /sim/multiplayer/chat-display to autosave.xml
- remove trailing spaces
2007-08-01 19:37:51 +00:00
mfranz
6ebea18612 pre-set /instrumentation/comm[*]/ptt to int(0) 2007-07-13 14:29:52 +00:00
durk
73c645f4fb Innis Cunningham: A traffic demo for the San Fransisco area. Airports
populated are: KHAF, KHWD, KOAK, KSJC, and KSFO. Includes traffic for
two to three major US based airlines for each aircraft type. Traffic
is included for the 737, 747, 767, A320, A333, and an assorted selection
of smaller aircraft.
2007-06-28 18:46:57 +00:00
mfranz
c108d87b31 refuel serviceable setting 2007-06-16 00:35:25 +00:00
curt
80b8c81f16 Preparation for 0.9.11-pre1 release. 2007-05-15 16:09:55 +00:00
mfranz
3d9ddaac58 first stab at fly-by view mode 2007-05-04 17:59:45 +00:00
mfranz
f4357aced0 we don't need /sim/number-views anymore. fgfs knows how many views there
are. /sim/view[0] .. /sim/view[99] are reserved for the system, the rest
can be used by aircraft. That way nobody has to update all configs only
because a generic view was added.
2007-05-04 17:11:19 +00:00
sydadams
bafa93e8fd Added volume control to the atc-chatter 2007-04-19 04:42:20 +00:00
mfranz
0a38cb8241 was a quick shot: the nonsense coords were intentional. The whole tower
handling is suboptimal.
2007-04-07 00:05:41 +00:00
mfranz
4a8af020e7 fix nonsense tower coordinats (this was somewhere in the hills between
KSFO and KSQL)
2007-04-06 23:53:07 +00:00
mfranz
9f3160542f - use en1_mbrola for the instructor: it's the clearest voice and, unlike
us3_mbrola doesn't lack some phonemes, causing interrupted messages
- use us2_mbrola for the pilot (seems to be rather complete, too;
  pity that the female voice us1_mbrola sounds so ugly :-)
2007-03-23 10:56:54 +00:00
mfranz
ba429a7110 rename default.xml to classic.xml (who says that this needs to be the
default? :-)
2007-03-16 10:47:14 +00:00
mfranz
9e11e2102f - add property /sim/startup/terminal-ansi-colors {BOOL}. This is used
by debug.nas to turn on/off syntax coloring for dumped data (which
  is desirable as compound data types can fill several screens with
  rather hard to read data). Unfortunately, it can't be reliably deduced
  from the OS whether ANSI colors are available or not.
- move "multiplayer chat" properties to where they belong
2007-02-18 17:21:50 +00:00
mfranz
dee6a551cf and set it to 'false' :-) 2007-01-30 21:14:53 +00:00
mfranz
6a2cd53ee4 save <specular-highlight>, too ... 2007-01-30 21:12:53 +00:00
mfranz
7cae1e86a2 add type for "save-on-exit" 2007-01-22 18:55:41 +00:00
frohlich
9c52cbf4ac Modified Files:
preferences.xml gui/menubar.xml gui/dialogs/rendering.xml
Added Files:
	Nasal/multiplayer.nas gui/dialogs/chat.xml
	gui/dialogs/chat_full.xml:
	the data part of Stuarts multiplayer/chat patch
2006-10-10 05:23:38 +00:00
durk
499e47bede Added a new preference "instantaneous-action", which releases all
parked aircraft at program start. This is not only a useful test case
for the AIModels subsystem, but can also be used as an interesting demo.
2006-08-26 07:50:56 +00:00
mfranz
a08cd87951 use NTPS HUD as default for the new implementation 2006-08-21 08:54:15 +00:00
mfranz
1b3807c3a7 add dynamic cockpit view entry (the /sim/view[0]/dynamic/ group is
supposed to contain all configurable parameters; there aren't any yet)
2006-08-17 15:54:16 +00:00
mfranz
b89c92aea1 - set HUD font size to 8 px
- remove trailing spaces/fix indentation
2006-07-24 16:01:41 +00:00
curt
8c7beac9d9 Default to turning point sprites on for runway lighting. 2006-07-20 14:31:25 +00:00
mfranz
736ab0437c /sim/hud/visibility[1] controls the new HUD 2006-07-04 15:46:39 +00:00
mfranz
631a06b924 Josh BABCOCK:
"Here is a patch that allows marker beacon volume to be set via
/instrumentation/marker-beacon/volume."
2006-06-24 07:43:04 +00:00
mfranz
eb5b539b47 set default lon/lat display format (0 -> raw number, 1 -> DMM, 2 -> DMS) 2006-06-17 16:34:31 +00:00
mfranz
66d9bb3d46 add HUD transparency flag 2006-06-09 20:35:10 +00:00
mfranz
6cb7b4d404 add /sim/devel=false setting (this controls some extra widgets in dialogs
that aren't meant for the general audience: the old shadow debug checkbox
in the rendering dialog, and some extra fun sliders in the HUD dialog)
2006-06-08 18:14:52 +00:00
mfranz
89162607d9 add <palette> group, from which values are copied to /sim/hud/color 2006-06-08 17:16:55 +00:00
mfranz
9869235aa4 make HUD colors settable. The number of color groups isn't fixed. Add as
many as you like, but not at runtime. Some aircraft may especially want to
change the first ("day") color, as the predefined green is IMHO a bit dark
and should possibly be more white-ish.
2006-06-07 17:57:12 +00:00
mfranz
c5246e9495 add hud font definition (same as hard-coded default) 2006-06-06 15:35:05 +00:00
mfranz
a55254b186 remove /sim/gui/dialogs/property-list/show-flags definition again;
this can now be done on a per widget basis by Ctrl-clicking on a
"." entry. No need to define it globally.
2006-06-03 11:10:25 +00:00
mfranz
419306632d turn flag display in the property browser explicitly off; don't let it
be a stealth property, so that it can be turned on in the browser itself
(Ctrl-click :-)
2006-05-18 14:48:15 +00:00
mfranz
254404587d set min altitude-agl above which the route-manager automatically locks
heading/altitude on entering a waypoint. This is a convenience feature,
and some aircraft may want to turn it off using a very high altitude.
2006-05-12 09:40:21 +00:00
durk
aba4a636ee AI Traffic related fixes. All base package traffic files again refer
correctly to an existing Boeing 737 (the new 737-300). Also updated
the aircraft_demo.xml to reflect this change. Added an initial version of
a logical ground network file for KSFO airport.
2006-03-29 18:07:10 +00:00
mfranz
864d515856 Vassilii KHACHATUROV: add rain parameter set
"an addition to preferences.xml, listing the current defaults (i.e.,
it'll work the same without this one applied, but is there for the docu.
sake)"
2006-03-23 16:33:41 +00:00
mfranz
5d818af2c3 make port number immutable, too. Otherwise one could make it write to
localhost:25 etc.
2006-03-17 12:28:28 +00:00
mfranz
7b0a152fbc SECURITY: only the owner of this file can change the voice host. not
aircraft *-set.xml files. Otherwise someone could offer an aircraft
for download that sets the host to one of their machines and lets a
nasal script write arbitrary information there. (Not that we had a lot
of sensible information. Yet.)
2006-03-17 12:25:27 +00:00
mfranz
b11f6c67d8 only dme.xml knows that it should use the selected nav[0] frequency with
switch-position=1, so let's set it here for all others. This shouldn't be
done in aircraft *-set.xml files (unless there's a *very* good reason),
because this overwrites the settings that were made by the --dme option,
and thus breaks it.
2006-03-10 20:22:24 +00:00
mfranz
61c7ee46d0 no, even with this active seems the dme to behave correctly for me.
preferences.xml is read first, then the --dme option is considered.
After that nobody touches the switch. Only a few buggy aircraft.  (??)
2006-03-10 19:41:22 +00:00
mfranz
5738b6f60d this overwrites the switch position that was set via --dme, which is
very undesirable. We can do a smarter approach via Nasal.
2006-03-10 15:37:29 +00:00
mfranz
357dfb3934 move gui styles from /sim/gui[n] to /sim/gui/style[n] to make /sim/gui
free for other gui related properties
2006-03-09 23:05:08 +00:00
mfranz
9d2216d5bc Stuart BUCHANAN: make adjEngControl() only work for selected engines
mf:
- some minor modifications to Stuart's version  :-)
- select all engines per default. This may seem less realistic (who starts
  all engines on the b29 at once?), but it'll prevent oodles of bug reports.
  And those who want it realistic shouldn't rely on engine 1 being selected
  by default, anyway, but rather actively select every single engine.
  Also: this new behavior is in line with the original intentions (see cvs
  log to preferences.xml -r1.51)
2006-03-04 18:21:06 +00:00
mfranz
4086d5ad8e save selected gui style 2006-02-24 11:00:24 +00:00
mfranz
a0bc4246ea - use the best voice for the copilot & instructor
- save menu visibility (should we pop up a hint if it's turned off at startup?)
2006-02-22 17:24:19 +00:00
mfranz
b2777a8aae autosave ai-traffic settings 2006-02-13 15:12:40 +00:00
mfranz
4f3b5f5dde autosave atc-chatter and volume 2006-02-12 10:49:30 +00:00
mfranz
d080303017 turn off voice subsystem; use --prop:/sim/sound/voices/enabled=true to enable 2006-02-11 12:01:30 +00:00
mfranz
4cd7dec340 pre-set callsign 2006-02-10 19:57:06 +00:00
daveluff
674539a3cf Use middle click to pull/push the pull-to-scan middle knob 2006-02-03 20:58:47 +00:00
mfranz
dbc4f2bcb4 remove garbage; add fps-display 2006-01-30 10:43:36 +00:00
ehofman
a94b00c976 Mathias Fröhlich:
Limit the maximum time we spent in the simulation loops.
That means, if the /sim/max-simtime-per-frame value is strictly positive
you can limit the maximum amount of time you will do simulations for
one frame to display. The cpu time spent in simulations code is roughtly
at least O(real_delta_time_sec). If this is (due to running debug
builds or valgrind or something different blowing up execution times)
larger than the real time you will no more get any response
from flightgear. This limits that effect. Just set to property from
your .fgfsrc or commandline ...
2006-01-30 10:36:20 +00:00
ehofman
daa428dbe8 Add ithe enable-/disable-save-on-exit and the season options. 2005-12-22 13:58:54 +00:00
ehofman
2bbfa45118 Add the remaining changes of Stefan Seifert's patch. 2005-12-17 22:22:50 +00:00
mfranz
c3a5e5297f /sim/hud/draw-fps is obsolete; use /sim/rendering/fps-display 2005-12-15 22:27:32 +00:00
mfranz
fbd735408d implement frame rate display as transparent & draggable dialog
(ordered by Curt as Christmas present :-)
2005-12-15 22:00:31 +00:00
mfranz
f74b2f5c23 add joysticks.xml again; It doesn't do anything, but explains how to make
local changes. People are used to modifying this file, and seem helpless
without it. Further explanations will be added to README.Joystick.html.

The dummy entry is necessary because EasyXML aborts without at least one
entry, and segfaults without <PropertyList> entry.
2005-11-24 10:51:24 +00:00
mfranz
eeff07c0e7 replace hard-coded HUD config dialog with NewGUI dialog 2005-11-09 10:42:34 +00:00
mfranz
b47560fd77 'unhide' hidden feature: splash screen title line; can be used by packagers
for version info ("Version 0.9.9") or important messages ("type '?' for
aircraft help") etc.
2005-10-08 12:40:02 +00:00
mfranz
73aa93123c perset Nimitz carrier TACAN channel (029Y) 2005-10-02 20:18:47 +00:00
daveluff
cbef943c17 Support for gps annunciator and nav-gps switch 2005-10-02 18:04:54 +00:00
ehofman
f2fe8fbe39 Vivian Meazza:
This adds a TACAN instrument to the inventory. Range and bearing are calculated
to the TACAN or VORTAC beacon selected by means of the Channel Selector in the E
quipment/Radio pull-down menu.

A TACAN beacon has also been added to the aircraft carrier Nimitz (channel #029Y
).
2005-10-01 09:56:18 +00:00
ehofman
f65ed6271f Default start in Fair weather 2005-08-25 17:27:17 +00:00
ehofman
26fc44aa32 Harald JOHNSEN:
Changes
=======

- shadowvolume.cxx, renderer.cxx :
  - reduced the polygon offset a bit to eliminate some artifact ;
  - changed again the cleanup code for objects inside a tile because it could crash on rare occasion ;
  - the culling of shadow casters has been rewritten to traverse the scene graph, it should be
    a bit faster when there is a lot of objects ;
  - the range selector was not correctly handled, sometimes the wrong LOD was casting shadows.
  - added the option to display aircraft's transparent objects after the shadows, this will
    reduce the problem of shadows being hidden by the transparent object (propeller disk,
    rotor, etc). A side effect is that aircraft's transparent objects won't receive shadows
    anymore. This is usually a good thing except when the aircraft use a 'transparent'
    texture where it should not. A transparent texture in the plib context is a texture
    with an alpha channel or a material with alpha <= 0.99.

- model.cxx, animation.cxx, shadowvolume.cxx :
  - added an optional <condition> under the <noshadow> animation

- tower.cxx
  - correct a rare bug where all occurences of the aircraft are not deleted from the
  departure list causing a crash in FGTower::CheckDepartureList function.
2005-07-18 16:58:52 +00:00
mfranz
c5ad1399fa load both available styles (of course, fgfs shouldn't keep dozens of
styles in memory, but two or three are probably a good idea; one for
bright environments, one for dark, and one for ... whatever)
2005-07-13 10:55:36 +00:00
mfranz
2f761ab099 include the style file 2005-07-07 21:03:49 +00:00
ehofman
07aaf76d45 Harald JOHNSEN:
Changes
=======

New volumetric shadows for FlightGear.

There is now two new checkboxes in the rendering dialog to enable/disable shadows
for the user aircraft and for static scenery objects (ie those defined in the .stg files).
AI and random objects are not handled for the moment.


known bugs
==========
- ghost objects
2005-06-26 17:19:58 +00:00
mfranz
7b41268068 joysticks.xml isn't needed any more; all js config files in
$FG_ROOT/Input/Joysticks are automatcally read in
2005-06-11 14:29:44 +00:00
ehofman
92be46b73a don't reset the simulator when the aircraft hits the ground 2005-06-11 08:22:31 +00:00
ehofman
fec33019cb Harald JOHNSEN:
This is another update for the cloud code, a lot of lines but this time I have started to add the doxygen doc.

Misc
====

- corrected a bug when RTT is not available, the current rendering context was
  altered
- if RTT is not available then 3d clouds are not drawn at all
- impostors lighting is now recomputed when the sun changes position
- distant objects are no more seen in front of clouds
- blending of distant clouds is a bit better now
- litle optimization of code (uses a less cpu time)
- use layer wind speed and direction (no more hardcoded wind)
- fov is no more hardcoded

Changes
=======

- clouds (cu only) are dissipating/reforming (experimental)
- compute a turbulence factor that depends on surrounding clouds and type of
  clouds (experimental)
- clouds shapes are defined in cloudlayers.xml
- type of clouds present in a layer is also defined in cloudlayers.xml
- cloud layers are generated from metar and other misc. data (in progress)
- added a rain effect around the viewer (enabled in the rendering dialog and
  when the metar property says so)
- added a lightning effect (enabled in the rendering dialog) : cb clouds spawn
  new lightnings
- added a dialog to select from different weather source : metar/property,
  a 'fair weather' environment and a 'thunderstorm' environment.
2005-05-15 09:25:17 +00:00
mfranz
3640023300 don't use /sim/ATC/ and /sim/atc/ wildly mixed together; it's lower case
everywhere, just as in every other property name
2005-05-10 09:41:19 +00:00
mfranz
67f6867955 prepare for progress information line 2005-05-06 08:16:23 +00:00
curt
742ca69a85 Add a default aspect ratio multiplier of 1.0. 2005-02-25 22:29:15 +00:00
ehofman
4e89712c63 Add the ability to set the minimum allowed age for metar reports. 2005-02-22 18:12:53 +00:00
ehofman
9e2fd128d8 Reference Aircraft/Generic instead of Aircraft/c172 and point to the (new) default aircraft, c172p 2005-02-19 12:52:23 +00:00
curt
1bbb908656 Default transponder serviceable = true. 2004-12-30 21:36:35 +00:00
curt
175a801d58 Default comm radios to "serviceable". 2004-12-30 21:11:13 +00:00
daveluff
2bdb704c2a Turn the ATC back on - after asking Curt first\! 2004-12-27 00:24:28 +00:00
david
40924f3219 Start with the DME turned on. 2004-12-21 22:52:42 +00:00
curt
4ac890821a Updates in preparation for the 0.9.8 release. 2004-12-21 00:21:11 +00:00
ehofman
e6080691d8 Set sound volume to a sane value. 2004-12-16 13:16:01 +00:00
ehofman
a4fbbe04b8 Roy Vegard Ovesen:
There are two <dme> entries in preferences.xml, resulting in two dme branches
under /instrumentation/ (dme[0] and dme[1]). The serviceable property is only
set for the second entry (dme[1]), and that one is not connected to the dme
module. Solution: Remove the first <dme> entry, and set the index explicitly
to 0 for the remaining <dme> entry.
2004-12-13 09:56:42 +00:00
curt
67f1fb0c8a Nav instruments now check power on /systems/electrical/outputs/nav[0/1].
Need to update most electrical system configs to reflect this property name
change.
2004-12-04 21:15:43 +00:00
curt
3b44bef269 Fix the default radio frequencies. 2004-12-03 22:24:41 +00:00
ehofman
a11030fc14 Comment out the nimitz for now. 2004-11-30 14:29:24 +00:00
ehofman
297200aeca Mathias Fröhlich:
Attached is a patch against the data directory which establishes the
keybindings I use for the carrier operations.
The map.pdf must be regenerated.
2004-11-26 10:26:18 +00:00
curt
71bfe3a4db Move the kr-87 adf from /radios to /instrumentation 2004-11-19 23:56:47 +00:00
ehofman
0970aead32 David Culp:
Here are files to get automated contrails working.  I've set up contrails for
the 737, using my simple, untextured contrail model.  Vivian has made another
contrail model, but I'm still trying to get his to work.  I'm hoping others
will try to make contrail models also.

Here's some code that defines a top to thermals.  When the top of a thermal is
reached the strength is phased-out linearly over the next 100 feet of
altitude.  At first I tried just capping the thermal at the top, but the
change in thermal strength was too fast for the FDM to handle well.

Included is a new version of the thermal scenario that includes a top
(height-msl) to the thermal.  The default value is 5000 feet.
2004-11-07 14:50:01 +00:00
ehofman
18b18a7947 Boris Koenig:
After applying the attached patches (based on latest CVS) you should
have a new option available within your version that should also
show up using fgfs --help, the syntax is:

    fgfs --min-status={level} --show-aircraft

whereas "level" can be anything between

    "alpha","beta","early-production" and "production"

Of course running something like

    fgfs --min-status=alpha --show-aircraft

should not return any aircraft right now, as none of the
current aircraft definition files in your base-package is using the
required

    <status></status>

tag - but you can easily give it a try by adding something like

    <status>alpha</status>

The tag should be placed as a sub-tag within <sim> - so directly behind
the <description> tag would be just fine and straight-forward.
2004-10-28 09:37:49 +00:00
ehofman
7c89540541 Boris Koenig:
This will modify menubar.cxx/hxx so that it exports the
entire menubar (from menubar.xml) to the property tree, so that it can
now be changed dynamically  using Nasal's setprop() instruction and
afterwards running a newly added fgcommand to update the menubar
based on those changes using the appropriate menubar path within
the property tree.

By default the menubar from menubar.xml will be stored within:

    /sim/menubar/default


Erik:

I have moved the loading of menubar.xml into preferences.xml and
made sure that the menubar is destroyed every time a new menubar
is created.
2004-10-22 09:26:50 +00:00
ehofman
ff4e599eb0 Roy Vegard Ovesen:
Instrumentation and systems are now configureable from xml files. The two
generic configurations generic-systems.xml and generic-instrumentation.xml
configures the systems and instrumentation as it was hardcoded. You can
override the generic configurations in a similar way as you override the
autopilot configuration.
2004-10-16 12:37:46 +00:00
ehofman
f3c3117a0a Change the type 'storm' to 'thunderstorm' and enable the ai-models code by default again. 2004-09-23 11:10:09 +00:00
daveluff
3b7ab7b556 Enable ATC by default 2004-09-06 22:26:33 +00:00
curt
52631f334e Default to cursor hiding enabled for the next release.
Default to AI aircraft disabled for next release until we can get to the
bottom of potential memory leaks.
2004-07-27 20:42:17 +00:00
ehofman
30b916a134 Durk Talsma:
I've included the latest fixes to the Traffic Manager/AI flightplan generation
code. Most of the code changes are in AIFllightplan.cxx. This is the code
that runs without depending on predefined FlightPlans in
#FG_ROOT/Data/AI/Flightplans.i

As suggested by Dave, I've also added a new property in
preferences.xml: /sim/traffic-manager/enabled, which is used to control
whether or not the traffic manager is active.

I'm still working on a few more 737 traffic patterns, those are going to take
a little longer, so I didn't want to wait sending in this code.

Finally, I haven't put much effort into ensuring "aeronautical correctness" in
this version yet. The code works on my system, but what the AI plane do may
actaully be quite rediculous. But I'd like to leave that for the next
version.
2004-07-22 18:50:30 +00:00
ehofman
9f7372fe88 New default scenario. 2004-07-01 14:16:29 +00:00
curt
db48a0ce62 Setup default values for mouse pointer hide feature (default to off) and
the default timeout for when it is enabled.
2004-06-14 18:48:10 +00:00
curt
c4f0a58b8f Change the fps toggle property name a bit and add a toggle switch in the
gui/dialog/rendering box.
2004-06-14 16:39:00 +00:00
curt
10a3a7e8df Specify a default initial state (off) for the property that controls if the
onscreen fps is displayed with the hud is off.
2004-06-14 16:26:09 +00:00
ehofman
f1a61549a5 David Culp:
Here's some new AI stuff.

1)  AI objects must now be defined in a scenario file, not in preferences.xml
or a *-set file.  (Of course this doesn't prevent objects from being created
dynamically, as with Durk's traffic manager).

2)  A new demo_scenario file is attached.  It creates 3 aircraft, a sailboat,
and a thunderstorm.

3)  Objects without flightplans live forever.

4)  FGAIShip::ProcessFlightplan() is not yet implemented.

5)  preferences.xml should now define only <enabled> and <scenario>
2004-05-29 11:41:20 +00:00
curt
f3b4f6799c Allow a "threshold" value to determine which localizers to snap to the
runway heading or not.
2004-05-28 20:56:54 +00:00
curt
e73902c9f8 Add a flag to specify if localizers should be automatically aligned with
their corresponding runways.
2004-05-28 16:22:40 +00:00
ehofman
eab27ae5b0 Add the demo scenario. 2004-05-17 08:50:40 +00:00
curt
2af0a69765 Property /sim/sound/audible renamed to /sim/sound/pause
Individual aircraft -set.xml files shouldn't set global sound/volume
properties for the entire application.
2004-05-14 15:54:22 +00:00
curt
a9a359055b Add a default value that the KAP140 autopilot needs. 2004-04-16 22:07:01 +00:00
jimw
88d1598ab9 Fix virtual cockpit toggle binding ("c"). Switches between 2D/3D mode on the
fly.
2004-03-24 16:07:09 +00:00
daveluff
49f5805466 Reduce the AI traffic density to low prior to the release in order to minimise the chance of problems 2004-03-22 20:59:20 +00:00
ehofman
7eea5be358 Melchior FRANZ:
Don't know if this was intentional, but since revision 1.128
(2003/10/01 21:15:55; david; "Add some whitespace, and initialize
the new ADF subsystem.") the ADF isn't initialized with useful
frequencies any more. It should be something in the bay area.
379 is for BRIJJ again (in the glide slope of KSFO) and 341 is
for RORAY (KOAK). Don't know what the standby frequency was before.
2004-03-19 18:05:58 +00:00
daveluff
eb1b15497c Remove a stray DOS line ending 2004-03-09 13:16:26 +00:00
daveluff
d49fc91fd7 Set a default AI traffic level 2004-03-09 12:30:42 +00:00
ehofman
f0d71eb5bd rename the live weather property 2004-02-21 14:04:06 +00:00
ehofman
9a83981591 Add support for retreiving metar data from the internet 2004-02-21 12:56:26 +00:00
curt
76a08b6467 Autopilot overhaul. 2004-01-31 19:55:13 +00:00
ehofman
50ad5e38f8 Animate the navigation lights of the sailboat AIModel 2004-01-22 21:00:22 +00:00
curt
f7c276944e Attempt #1 to sort out confusion between left / right / parking brake
controls in the cockpit vs. which wheels they apply to.  FlightGear now
sets /controls/gear/brake-left, /controls/gear/brake-right, and
/controls/gear/brake-parking.  It should be up to the FDM to sort out
which wheels under which circumstances are affected by these controls
and ultimately what happens to the physical motion of the aircraft.
2004-01-12 17:49:33 +00:00
ehofman
812b9e3c34 Don't add the freighter model 2003-12-28 17:46:48 +00:00
ehofman
d739644ec2 Add a preset mouse mode entry 2003-12-28 17:41:21 +00:00
ehofman
8197dfba44 Add a sailboat to the bay area. 2003-11-30 18:32:39 +00:00
david
954b758e3e Add some whitespace, and initialize the new ADF subsystem. 2003-10-01 21:15:55 +00:00
ehofman
e440ca5b19 Implement three level LOD for static scenery 2003-09-28 11:16:19 +00:00
curt
8adb95c719 Added a replay manager dialog box.
Other misc. tweaks and updates.
2003-09-11 19:35:18 +00:00
ehofman
4cb1914e02 Add a level of realism property which can varry between highly accurate (level=10) and low resolution (level-0) rendering. The default is set to five for now. 2003-08-21 11:16:44 +00:00
ehofman
554c2ba1bc Add a /test/scene_lighting property to switch between new and old behavior 2003-08-04 09:35:30 +00:00
curt
803877796c Add a default value for the flaps-servicable flag. 2003-08-01 19:42:42 +00:00
curt
c02bad6bf7 Add initial defaults for engine failure parameters 2003-08-01 00:28:33 +00:00
ehofman
6258ec3955 Remove altitude damping 2003-07-24 14:49:12 +00:00
ehofman
ff8f3ae0ff Fix a bug that would occur on 5GHz computers, and disable the altitude damping feature. 2003-07-22 08:51:27 +00:00
ehofman
0fd9f17296 Make sure the sixth view is accessible, and remove the damping factor from the helicopter view 2003-07-18 08:56:14 +00:00
curt
f79b642a13 Make default visibility exactly 10 miles. 2003-07-17 18:17:13 +00:00
ehofman
56b6777bad Adjust the damping factors slightly 2003-07-17 08:54:06 +00:00
david
2e8aac5d94 More turbulence tweaks and fixes. 2003-07-15 01:26:37 +00:00
ehofman
daf32bd124 Framerate independent viewer fixes from Melchior FRANZ 2003-07-14 14:20:55 +00:00
ehofman
c63777e2ad Temporary remove damping for the default helicopter view because it takes a *long* time to lineup with the aircraft again. A fix is underway 2003-07-12 13:45:15 +00:00
ehofman
699e4d659e Use a common z-offset definiton for all external views 2003-07-12 12:02:40 +00:00
ehofman
700fe69801 Add a new chase view from Melchior FRANZ. I think it's time tom move some of the views into it's own menu option and leave about three aircraft related views in the prefferences file 2003-07-12 09:55:04 +00:00
david
154a0fb707 Reintroduce very mild turbulence on climbout. 2003-07-01 20:56:21 +00:00
david
6bbac81aa7 No turbulence by default. 2003-07-01 19:17:03 +00:00
ehofman
4d4fef591b Melchior FRANZ:
These patches add a clock instrument, which allows to model failure ("serviceable") and to adjust the time independently of the system time (defaults to GMT). The main incentive is to make the p51d clock work and adjustable via the knob.

 o Offers a time string ("12:03:15") for the LCD or for LED
   clocks, or an empty string in case of failure/power off. The
   instrument assumes that digital clocks are battery buffered,
   so they will be updated even if there's nothing on the display.

 o Offers the number of seconds since midnight for analog
   clocks, like in the p51d. This number is not increased
   if !serviceable. So the clock will stand still and continue
   where it stopped when it's serviceable again.

I did not consider voltage yet, because the Mustang's clock will need a lot more current than the LCD clock. The instrument is updated 4 times per second but returns immediately if neither time nor offset changed. The function getGMTString() in fg_props.cxx could be removed after applying these patches.
2003-06-27 08:45:35 +00:00
curt
72850a9046 Set temperature-degc (at altitude temp) for the environment layers rather
than temperature-sea-level-degc.  It made no sense to specify the sea level
temperature at different altitudes ... :-)
2003-06-24 19:53:21 +00:00
curt
b2518a946e We default to having two active cloud layers. Let's fill in layers 0 and 1
rather than layers 1 and 4.
2003-06-23 20:55:57 +00:00
ehofman
24c5b2e512 Initialize some default rendering options 2003-06-17 16:56:58 +00:00
david
a48332cfdf Added initialization and user dialog for improved weather system. 2003-06-08 14:44:53 +00:00
curt
cd6cee0a77 Make the 2nd (right) vacuum pump serviceable by default. 2003-05-27 19:48:03 +00:00
ehofman
87308b6fb5 Add a debug option for rendering 2003-05-06 13:52:08 +00:00
david
5032f37553 Initialize turbulence. 2003-04-19 11:59:02 +00:00
david
11ffecde16 Initialize all of the attitude-indicator properties explicitly. 2003-04-05 15:04:20 +00:00
david
b7f1ccffa0 Use "coverage" instead of "type".
Rename "mostly-cloudy" to "broken" and "mostly-sunny" to "scattered",
to follow standard weather terminology.

Add "few".
2003-04-05 03:36:20 +00:00
david
11ba7095ee Restore default out-the-window view.
Start with mags on.
2003-04-01 15:45:10 +00:00
dluff
ca1b1cd4f6 Enable ATC and AI traffic by default 2003-04-01 14:27:45 +00:00
ehofman
759d86d947 Updates to refelect the controls update of FlightGear. It could be there are a few unupdated controls left. To simplify the transisition there is a file called README.properties in the docs-mini directory of FlightGear that explains the new controls layout. 2003-04-01 12:41:12 +00:00
jimw
6e5c2c28db Default for fov is 55 degrees in viewer code. Changed to 55 here to match. 2003-04-01 02:02:57 +00:00
curt
5458bc86e7 Add an option (set to true) specifying whether or not to draw the
out-the-window view.
2003-03-29 02:25:23 +00:00
david
7412bfb95a Basic initialization for the GPS. 2003-03-10 14:13:44 +00:00
david
67390808d2 Initialize DME switch position. 2003-03-09 04:12:04 +00:00
david
a8cb795495 Initialize DME to serviceable. 2003-03-09 03:38:59 +00:00
david
db255e5522 Make the default c172-3d instead of c172. 2003-03-02 15:01:11 +00:00
david
91ed7f4f62 Initialize the /sim/sound/audible and /sim/sound/voice properties to
reasonable values.
2003-02-18 16:52:55 +00:00
curt
de1c84c8c0 Jim Wilson:
There are a number of little changes.  Tested with current cvs as of 20:30EST
04Feb.  Actually been running since the beginning of January with these
patches.  All changes work without crashing with the current base package cvs,
but there are some visual problems with the views (other than pilot view)
without changes to the base package.

As soon as you can build test and commit I can add in those base package
updates that will make it all work nicely.  I will also go through all the 3D
Aircraft configs to make sure the change in the "pitch-offset" for cockpit
views (see below) are made to maintain current behavior.

Here are the files (changes listed below):
http://www.spiderbark.com/fgfs/viewerupdate.diffs.gz
http://www.spiderbark.com/fgfs/viewerupdate.tar.gz
2003-02-06 19:46:48 +00:00
david
f180361d01 Added some basic logging properties (disabled by default). 2003-02-01 17:58:59 +00:00
david
75d78b6a05 Initialize all instruments to serviceable. 2003-01-26 16:06:41 +00:00
david
e9046c6e1d Start out with a serviceable electrical system. 2003-01-25 21:51:20 +00:00
david
dca563eab8 Set the default visibility for the menubar.
Default the ADF card to 0.
2003-01-18 22:03:45 +00:00
dluff
2d6ee8064f Set default comm volume in preparation for honouring this property 2003-01-09 13:48:41 +00:00
david
cf334a4c01 Changed default frequencies. KSFO ATIS is not on standby on COM1, and
KOAK ATIS is on standby on COM2 (this one doesn't seem to work, though).
2002-12-30 19:47:22 +00:00
david
e66946a070 Initialize more cockpit controls. 2002-11-26 04:05:27 +00:00
curt
8f57805def Curt Olson:
Explicitely set the runway number, rather than depending on the
"closest one to the specified heading" behavior.
2002-11-17 04:48:11 +00:00
jimw
9a8a84e128 We should probably discuss deleting/adding default views on the list. AFAIK
there was only the addition of the 5th view discussed, and a developer noted
that the Lookfrom Tower view was useful for multi-aircraft development.  So
this patch preserves the new 5th view,  returns the Lookfrom Tower and removes
the second Lookat Tower.  One is enough for now IMHO, but still open for
discussion of course.
-- Jim
2002-11-17 03:55:00 +00:00
curt
70e4d09cdb Two minor property name changes corresponding to source code changes. 2002-11-15 21:05:30 +00:00
mselig
306f5fff2a Changing fixed tower view ("look from") to new tower view ("lookat"),
but the view position is near the aircraft.
Adding in a new 5th view that looks in a fixed direction at the
external airplane.  In this new view the yaw does not cause the view
to swing back and forth along the horizon as it does w/ the first
view.
MSS
2002-11-12 01:08:56 +00:00
david
45885877d4 Added property defaults for aircraft lighting:
/controls/lights/beacon = true
  /controls/lights/navigation = false
2002-11-06 15:50:29 +00:00
david
03a0ad18eb Finished setting up configurable default viewing properties, and
implement them for the C172P 3D model.  Look near the top of
preferences.xml for an example.  The recognized properties are as
follow, with vanilla defaults in parentheses:

  /sim/view/config/default-field-of-view-deg (30)
  /sim/view/config/default-pitch-deg (0)
  /sim/view/config/front-direction-deg (0)
  /sim/view/config/front-left-direction-deg (45)
  /sim/view/config/left-direction-deg (90)
  /sim/view/config/back-left-direction-deg (135)
  /sim/view/config/back-direction-deg (180)
  /sim/view/config/back-right-direction-deg (225)
  /sim/view/config/right-direction-deg (270)
  /sim/view/config/front-right-direction-deg (315)

These are particularly useful for the view from inside a 3D aircraft
model.
2002-11-02 21:41:53 +00:00
curt
2059a0fd61 Erik Hofman:
This adds supports for a language specific font, defined in locale.xml
I've also moved the fgInitLocale() routine from main.cxx to fg_init.cxx
to prevent an ungly extern definition in options.cxx.
2002-10-07 15:45:14 +00:00
curt
23afc22630 New locale structure. 2002-10-03 14:41:17 +00:00
curt
8be977c037 Include translation file. 2002-10-01 18:37:17 +00:00
david
a3066b52c9 Initialize spin.
Set archivable flag on systems and instruments properties.
2002-09-29 18:28:06 +00:00
david
47ce58e5d4 New pitot system and airspeed indicator. 2002-09-28 20:49:56 +00:00
david
1d1770c43f Modifications to support new VSI and HI models in FlightGear. 2002-09-27 22:00:02 +00:00
david
3b85be3398 Modifications to support new altimeter and static port models in
FlightGear.
2002-09-27 18:26:42 +00:00
david
9979de52f5 Support new attitude indicator with spin-down. 2002-09-24 16:39:53 +00:00
david
ce03e3255f Make the vacuum system serviceable by default. 2002-09-23 19:56:53 +00:00
david
1a8383b3dc Added user-definable positions for front, left, back, etc. rather than
always forcing to the same angle.  These changes should migrate into
the joystick config files and the aircraft *-set.xml files eventually.
2002-09-14 16:22:39 +00:00
curt
67d6bcbc7a Set the default menu font to Helvetica.txf in the preferences.xml file. 2002-09-07 18:32:41 +00:00
curt
f900dceb12 Changed the default nav frequencies to be more appropriate for SFO. 2002-09-02 21:35:42 +00:00
david
d187b8f3f8 Documented the new --disable-random-objects and
--enable-random-objects options, and provided a default value for
/sim/rendering/random-objects.
2002-07-20 21:12:23 +00:00
curt
8191194b8c Updates to reflect adf property name changes. 2002-07-04 00:23:27 +00:00
curt
c4e573ec58 Updates to adf property names. 2002-07-03 19:53:30 +00:00
jimw
53809e0937 fix problem with new chase view config. this btw illustrates for some people a problem that might be lurking in the property code. it should have worked with this config the way it was before this change. 2002-06-14 19:17:05 +00:00
david
6064e78e87 Modify chase view to keep world-up vector. 2002-06-14 14:51:27 +00:00
david
e7848ffb94 Add initialization for dewpoint, and remove initialization for
density.
2002-06-05 22:23:03 +00:00
david
901e2a9212 Changed default sea-level pressure to the standard pressure-altitude
value of 29.92.
2002-05-31 16:42:18 +00:00
david
35e432ab19 Initialize all five cloud layers. 2002-05-17 15:54:24 +00:00
david
7778d1d720 Added more defaults for the environment. 2002-05-15 09:13:34 +00:00
david
9194bd0cbf Default values for base and gusting wind speeds. 2002-05-06 21:43:40 +00:00
curt
f468d9362d Jim Wilson:
These are the updates for the View manager properties.  Removed the last of
items (within the viewer/viewmgr) hard coded to view number.  Added support
for per view configuration of ground level nearplane value.  Tower views look
very nice with little or no z-buffer problem in the models.  Pilot offset
dialog can be used to move eye in all views.
2002-04-18 14:52:32 +00:00
jimw
97c2d0c757 Update to viewmgr. Reference models in views for location data. 2002-04-11 02:40:17 +00:00
david
ea264c688c Add explicit types for all non-string properties. This will help a
lot, since otherwise a property that is never set or tied by
FlightGear itself will always be kept as a string and converted on
each access.  That's why fgGetBool and friends could take up a lot of
processor time sometimes.
2002-04-09 10:45:47 +00:00
david
62f46892a9 Provided some default property values, to use the caching more efficiently. 2002-04-06 21:48:39 +00:00
jimw
d257605a9b added new viewer config stuff 2002-04-05 02:53:08 +00:00
david
061cbf9841 Initial mouse configuration support. This will be ignored unless you
configure --with-new-mouse, and there's not much there yet anyway.
2002-03-23 22:30:39 +00:00
david
17642ffc77 Indentation cleanups from Martin Dressler. 2002-03-02 23:44:28 +00:00
david
daac9a7af3 Retune COM1 away from KSFO ATIS. 2002-02-14 15:48:02 +00:00
david
133bb1d51e Tune COM1 to KSFO ATIS (default starting airport). 2002-02-14 12:24:51 +00:00
david
7aba99a7f6 Intro music is now skipped by default. 2002-02-07 18:32:11 +00:00
curt
7b4b5ef3be Added pilot and chase view offset default values. 2002-02-05 22:03:16 +00:00
david
2c2238c296 Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter.  Here's how it works:

1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
   for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
   4, or '~' to select all engines.  These bindings set the bool
   properties /sim/input/selected/engine[0],
   /sim/input/selected/engine[1], etc.

2. To decrease the magneto for the selected engine(s), use '{'.

3. To increase the magneto for the selected engine(s), use '}'.

4. To engage the starter for the selected engine(s), use SPACE.

Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings.  Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
david
cd78c6de63 Added more default values under /controls, to make it more obvious to
users what properties are available.
2001-12-17 14:40:59 +00:00
david
1f270a17a1 Hide the panel by default; the aircraft config files activate it where
appropriate.
2001-12-12 02:57:28 +00:00
david
5ba66801f0 Added /sim/aircraft property back in, removed include from
preferences.xml, and added <sim>...</sim> tags back into the *-set.xml
files.  You need the newest FlightGear CVS changes to use together
with these changes.
2001-12-11 18:32:36 +00:00
curt
4dbde3caaa include c172-set.xml by default, removed depricated <aircraft> tag. 2001-12-11 13:02:06 +00:00
curt
2559b5d8ba "include" the default aircraft rather than setting it via /sim/aircraft which
no longer is supported.
2001-12-10 19:55:22 +00:00
j4strngs
766742bc6f moved panel_2 into set files 2001-12-09 09:55:27 +00:00
j4strngs
6c6da4ebe5 remove unnecessary default for mixture
preferences.xml
2001-12-09 05:02:22 +00:00
curt
e8876ff6bc Updated defaults to remove <aero> and <fdm> specifications and instead
use <aircraft> which points to a top level aircraft config file.  The
aircraft config file specifies the needed fdm, aero model, etc.
2001-12-09 04:33:20 +00:00