1
0
Fork 0
Commit graph

331 commits

Author SHA1 Message Date
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