1
0
Fork 0
Commit graph

297 commits

Author SHA1 Message Date
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
j4strngs
9346548030 s/konqueror/netscape/ as browser option
preferences.xml
2001-12-08 23:44:58 +00:00
j4strngs
5a8d43a4d5 was still using <aircraft> to specify <aero> 2001-12-08 23:36:00 +00:00
david
1bfe33be2c Added default values for propeller pitch. 2001-12-04 02:16:39 +00:00
j4strngs
856fb8225d Updated prefs from David M. Renamed prperty for gear indicator 2001-12-03 21:21:21 +00:00
curt
53cc090405 Converted to unix line endings
Added /sim/startup/trim = true
2001-11-07 00:46:52 +00:00
j4strngs
25f7a54804 ATIS parameters for Dave Luffs patch
Modified Files:
 	preferences.xml Aircraft/c172/Instruments/navcom-radio.xml
2001-11-06 22:42:25 +00:00
j4strngs
c6ecb40bc8 added default value 'true' for /sim/startup/trim 2001-10-30 17:14:10 +00:00
j4strngs
7da2613cc9 add property to set default style on dg
Modified Files:
 	preferences.xml
2001-10-30 03:01:03 +00:00
j4strngs
782188884d renamed option for VOR needle action 2001-10-24 05:58:38 +00:00
j4strngs
de5105bdda added option to make VOR needle pivot instead of slide 2001-10-23 06:36:29 +00:00
j4strngs
377a50ac9c Added options for glidescope display to VOR instruments 2001-10-16 07:53:49 +00:00
j4strngs
b8a86c4ba0 supply default value for magneto selection (off) 2001-09-19 21:12:01 +00:00
j4strngs
b7b4e5b3f4 rename panels
preferences.xml
2001-07-31 07:07:41 +00:00
curt
ab21c53f48 Default to jsb c172 2001-07-23 23:57:05 +00:00
curt
722fabb62f - modified commented out properties so that they will work if ever
uncommented (whoopie!)
2001-07-23 19:11:36 +00:00
j4strngs
9fd57b428e *** empty log message *** 2001-07-13 19:19:14 +00:00
j4strngs
bca2dc2f6d Added bat file for windows help
Added <browser-app> entry in preferences
2001-07-13 19:18:36 +00:00
j4strngs
769d991462 JW mini panel
Modified Files:
 	keyboard.xml preferences.xml
 	Aircraft/c172/Panels/c172-panel-trans-mini.xml
2001-07-03 23:38:15 +00:00
j4strngs
66abd80c3b Jim Wilsons transparent mini-panel
Modified Files:
 	FlightGear/keyboard.xml FlightGear/preferences.xml
 Added Files:
 	FlightGear/Aircraft/c172/Panels/c172-panel-mini.xml
 	FlightGear/Aircraft/c172/Panels/c172-panel-trans-mini.xml
 	FlightGear/Aircraft/c172/Panels/Textures/panel-mini-bg.rgb
 	FlightGear/Aircraft/c172/Panels/Textures/panel-trans-mini-bg.rgb
2001-07-03 21:03:42 +00:00
curt
e7ef251807 ** Properties Renamed
- /autopilot/locks/nav1 => /autopilot/locks/nav[0]
- /autopilot/settings/altitude += "-ft"
- /autopilot/settings/climb-rate += "-fpm"
- /autopilot/settings/heading-bug += "-deg"
- /consumables/fuel/tank1/level => /consumables/fuel/tank[0]/level-gal_us
- /consumables/fuel/tank2/level => /consumables/fuel/tank[1]/level-gal_us
- /engines/engine0/cht => /engines/engine[0]/cht-degf
- /engines/engine0/egt => /engines/engine[0]/egt-degf
- /engines/engine0/fuel-flow => /engines/engine[0]/fuel-flow-gph
- /engines/engine0/mp => /engines/engine[0]/mp-osi
- /engines/engine0/rpm => /engines/engine[0]/rpm
- /environment/clouds/altitude += "-ft"
- /environment/magnetic-dip += "-deg"
- /environment/magnetic-varation += "-deg"
- /environment/visibility += "-m"
- /environment/wind-down += "-fps"
- /environment/wind-east += "-fps"
- /environment/wind-north += "-fps"
- /orientation/heading += "-deg"
- /orientation/heading-magnetic += "-deg"
- /orientation/pitch += "-deg"
- /orientation/roll += "-deg"
- /position/altitude += "-ft"
- /position/altitude-agl += "-ft"
- /position/latitude += "-deg"
- /position/longitude += "-deg"
- /radios/adf/frequencies/selected += "-khz"
- /radios/adf/frequencies/standby += "-khz"
- /radios/adf/rotation += "-deg"
- /radios/nav1/* => /radios/nav[0]/*
- /radios/nav2/* => /radios/nav[1]/*
- /radios/nav[*]/dme/distance += "-nm"
- /radios/nav[*]/frequencies/selected += "-mhz"
- /radios/nav[*]/frequencies/standby += "-mhz"
- /radios/nav[*]/radials/actual += "-deg"
- /radios/nav[*]/radials/selected += "-deg"
- /sim/view/goal-offset += "-deg"
- /sim/view/offset += "-deg"
- /steam/adf += "-deg"
- /steam/airspeed += "-kt"
- /steam/altitude += "-ft"
- /steam/gyro-compass += "-deg"
- /steam/gyro-compass-error += "-deg"
- /steam/mag-compass += "-deg"
- /steam/vertical-speed += "-fpm"
- /velocities/airspeed += "-kt"
- /velocities/side-slip += "-rad"
- /velocities/speed-down += "-fps"
- /velocities/speed-east += "-fps"
- /velocities/speed-north += "-fps"
- /velocities/uBody += "-fps"
- /velocities/vBody += "-fps"
- /velocities/wBody += "-fps"
- /velocities/vertical-speed += "-fps"
2001-07-02 21:05:14 +00:00
curt
39148a77ca ** joysticks.xml
- new external file for joystick configuration
- designed for a basic three-axis, three-button joystick; others will
  require some work

** keyboard.xml
- changed back to using index ('n' attribute) to represent key code
- switched to nesting for modifiers, so that they can all appear in
  the same declaration
- bound 'b' to brake, but modified so that the brake is released
  as soon as the button is

** preferences.xml
- start mixture at 1.0 (full rich), which is most appropriate for
  take-off and landing
- commented out old joystick bindings
- added reference to external joysticks.xml file
2001-06-04 19:48:08 +00:00
curt
1da87b306c Updated to match code changes. 2001-05-29 21:28:13 +00:00
curt
d8547e499a Added support for keyboard bindings in keyboard.xml 2001-05-23 22:01:25 +00:00
j4strngs
e82ed888e2 Oops. Fixed for larger panel bg's
Modified Files:
 	preferences.xml
2001-04-19 21:58:23 +00:00
curt
f94a429cd7 Added an entry for <field-of-view> 2001-02-25 01:17:49 +00:00
j4strngs
e13c183db5 Workaround for altimeter datum being zeroed on reset
preferences.xml
2001-01-29 01:29:13 +00:00
curt
dd0827302a Changed default mixture to 0.8 2001-01-27 21:28:49 +00:00
j4strngs
bf7349f0c1 New preferences.xml
Modified Files:
	preferences.xml
2001-01-16 07:35:44 +00:00
curt
02eb57e5bc Added /environment/visibity. 2001-01-05 18:32:38 +00:00
j4strngs
bac02d5478 Updated default panel path for rename
Modified Files:
	preferences.xml
2000-11-16 20:42:05 +00:00
j4strngs
4a51d47565 Slimmed down needles
Modified Files:
 	FlightGear/preferences.xml
	FlightGear/Aircraft/c172/Instruments/airspeed.xml
 	FlightGear/Aircraft/c172/Instruments/altimeter.xml
 	FlightGear/Aircraft/c172/Instruments/manifold-press.xml
 	FlightGear/Aircraft/c172/Instruments/rpm.xml
	FlightGear/Aircraft/c172/Instruments/vertical.xml
2000-11-11 00:54:26 +00:00
j4strngs
e2a66bd458 Changed default /sim/panel/path
Modified Files:
 	preferences.xml
2000-11-04 22:12:31 +00:00
curt
8ff55732bf Added preferences.xml 2000-11-02 17:31:51 +00:00