curt
535d708ee0
Various MSVC patches.
2001-10-24 21:25:11 +00:00
curt
33854d9f6a
Fixes to remove dependencies on depricated plib code (that just happened to
...
be removed in the latest plib CVS.)
2001-10-24 21:24:53 +00:00
curt
b6a259dc90
Fixes for win_ratio/aspect_ratio confusion. It was due to confusion in the
...
meaning of "win_ratio". I've removed win_ratio and added fov_ratio and
aspect_ratio, as it seems both are needed.
n.b. The multi-line changes in fgReshape comprise:
extracting common code,
removing an apparently arbitrary "+1" on the view height,
changing "set_win_ratio" to "set_aspect_ratio".
2001-10-24 20:28:28 +00:00
curt
2fbab0d702
Various floating point / initial value bug fixes from Christian Mayer.
2001-10-11 22:07:45 +00:00
curt
cb0aa1baa1
Added panel jitter support dependent on cockpit forces (visual force feedback)
2001-10-05 20:26:21 +00:00
curt
85371ee361
Extend range of ILS in reverse direction to allow back course approaches.
2001-09-24 17:43:33 +00:00
curt
f77877ffa8
White space changes.
2001-09-20 22:10:45 +00:00
curt
1dfe83dfd4
Follow up tweaks.
2001-09-20 21:03:41 +00:00
curt
2154915465
a) HUD - Here is the updated hud code with moving pointers, dials, turn/slip gauge, choice of circular ticks, two sizes for fonts, box for text labels etc. based partly on MIL-STD-1787b and our pilots requirements. Our pilots are not very enthusiastic about all symbols discussed in MIL-STD-1787b (I suppose it is very subjective) and so I did not have motivation to try all of them. Even now I plan to do simple symbols as seen on Russian aircraft since our Air Force pilots are familiar with them. That should be part of my next update. I have included a html document which is basically the old text file plus some snapshots with all possible hud symbols linked to corresponding xml templates. You have to just cut & paste the template, change names and positions to create additional symbols (if you have the real estate on the hud).
2001-09-19 22:23:25 +00:00
curt
45390e0655
Renamed to hud_gaug.cxx
2001-09-19 21:41:46 +00:00
curt
0d76618950
Various tweaks for mingwin32.
2001-08-14 22:18:19 +00:00
curt
79b25c850e
- modified to use pointers to bindings to avoid copying
2001-08-10 05:16:41 +00:00
curt
26bfe067e9
Fixed gauge spelling error.
2001-08-07 21:19:29 +00:00
curt
0cf62da796
- changed comments to proper doc formatting
...
- added support for conditions and group layers
- have all panel components but FGPanel itself derived from
FGConditional
2001-08-03 00:18:21 +00:00
curt
b077c3a8a0
- added support for conditions
...
- added support for group layers
2001-08-03 00:17:58 +00:00
curt
89bc634cd6
initialize marker_xs.
2001-07-30 22:30:05 +00:00
curt
ad48935028
- implemented DME ETE and speed
...
- modified DME distance to return nautical miles rather than meters
- modified to use /panel/dme/switch-position to select DME frequency
2001-07-30 16:26:46 +00:00
curt
d7c3801bae
- declared new methods for getting DME ETE and speed
2001-07-30 16:26:25 +00:00
curt
cfe05480f4
- modified switch layers to use layer[0] and layer[1] rather than
...
layer1 and layer2; panel config changes required
2001-07-30 16:26:02 +00:00
curt
921a1290f5
- fixed typos relating to nav frequency properties
2001-07-27 22:00:25 +00:00
curt
b222051ee4
- modified readAction to use FGBinding
2001-07-27 22:00:17 +00:00
curt
0f156c7280
- modified PanelAction to use FGBinding, like keyboard and joystick
...
events
- removed all classes derived from PanelAction (no longer needed)
2001-07-27 21:59:53 +00:00
curt
ddbd85aa7b
- catch sg_exception instead of sg_io_exception
...
- use guiErrorMessage
2001-07-24 23:50:08 +00:00
curt
67091a4b13
- fixed typo that prevented ADF needle from being offset by aircraft
...
heading
2001-07-23 20:31:11 +00:00
curt
96b88e539f
Move FGControls declaration to globals.hxx
2001-07-22 19:51:16 +00:00
curt
7004475732
- catch exception from readProperties and show dialog
2001-07-19 04:51:05 +00:00
curt
353e09ea0b
Made the following properties archivable:
...
- /steam/airspeed-kt
- /steam/altitude-ft
- /steam/altimeter-datum-mb
- /steam/turn-rate
- /steam/slip-skid
- /steam/vertical-speed-fpm
- /steam/gyro-compass-deg
- /steam/adf-deg
- /steam/gyro-compass-error-deg
- /steam/mag-compass-deg
2001-07-12 23:34:38 +00:00
curt
a3f8653064
Made the following properties archivable:
...
- /radios/nav[0]/frequencies/selected-mhz
- /radios/nav[0]/standby-mhz
- /radios/nav[0]/radials/selected-deg
- /radios/nav[0]/volume
- /radios/nav[0]/ident
- /radios/nav[1]/frequencies/selected-mhz
- /radios/nav[1]/standby-mhz
- /radios/nav[1]/radials/selected-deg
- /radios/nav[1]/volume
- /radios/nav[1]/ident
- /radios/adf/frequencies/selected-khz
- /radios/adf/frequencies/standby-khz
- /radios/adf/rotation-deg
- /radios/adf/volume
- /radios/adf/ident
2001-07-12 23:34:27 +00:00
curt
4bd5a0ab29
Made the following properties archivable:
...
- /sim/panel/visibility
- /sim/panel/x-offset
- /sim/panel/y-offset
2001-07-12 23:34:16 +00:00
curt
b338698c79
- move data structure allocation into constructor (it doesn't belong
...
in init)
- free data structures in destructor
- ensure that interpolation tables are allocated before any searching
is done; otherwise, starting at some locations (such as CYYZ) causes
a segfault
2001-07-11 18:54:50 +00:00
curt
72a95d570c
** 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 22:27:24 +00:00
curt
5d2855f1ec
Updated bug fix to make hopefully more thread safe.
2001-07-02 22:11:56 +00:00
curt
9fc9c8d55a
Fix what looks like it could potentially cause a problem with accessing
...
previously free'd memory.
2001-06-30 00:27:13 +00:00
curt
b8b1425761
Removed NetworkOLK/features.[ch]xx
2001-06-26 20:41:26 +00:00
curt
af2a0da64c
Patches contributed by Norman Vine to do ultra-hires tiled screen dumps.
2001-06-26 18:23:07 +00:00
curt
b498efa47e
- adjusted for no-value constructor for FGPanel
...
- removed unused DefaultPanel, DefaultInstrument, classes
- removed unused defaultTexture
2001-06-20 20:51:45 +00:00
curt
982f145bb7
- changed to no-value constructor for FGPanel
...
- removed update method with args
2001-06-20 20:51:34 +00:00
curt
6814f9966b
- changed to favour height over width when the aspect is less than
...
4:3, to avoid a gap on top (suggested by Norm Vine)
2001-06-20 20:50:49 +00:00
curt
46b82360b0
Fixed a couple items for Norman's large resolution print routines.
2001-06-13 20:31:49 +00:00
curt
d0126ec533
Fixed some warnings, updated whitespace.
2001-06-12 23:37:29 +00:00
curt
5f71bca303
Fixed panel edge artifacts (due to forced wrapping of background texture)
2001-06-12 19:07:13 +00:00
curt
72c7dc57fd
replaced SGValue with SGPropertyNode throughout.
2001-06-12 05:15:48 +00:00
curt
c64e284c51
More property node optimizations.
2001-06-06 19:12:24 +00:00
curt
64254d7410
Optimized property node accesses.
2001-06-06 17:43:16 +00:00
curt
083ba99657
Optimized key property node accesses.
2001-06-06 17:21:34 +00:00
curt
71380de883
White space tweaks.
2001-06-06 17:02:39 +00:00
curt
f9533d2f4b
- eliminated all references to BFI; use properties instead
2001-06-05 22:10:25 +00:00
curt
b2f604ad00
Reduce output verbosity.
2001-06-01 17:55:49 +00:00
curt
5893de13ff
1. Fixed FGInput bug preventing same key from being bound separately
...
with different modifiers (the format of the key bindings has changed
again slightly, adding a <code>..</code> element; see keyboard.xml for
details).
2. Modified FGInput to try default modifiers for ctrl, shift, and alt
when the initial bindings fail (i.e. you don't have to specify
mod-shift explicitly for upper-case 'P' any more).
3. Fixed problems with properties and panel reloading reported by
Martin Dressler and John Check.
4. Updated preferences.xml to get rid of obsolete references to
/controls/brakes/left and /controls/brakes/right (as reported by John
Check).
There were also two non-bugs reported by John Check:
(a) Differential braking doesn't work (John was using the obsolete
properties from #4 above).
(b) Duplicates show up in the property tree using the telnet interface
(the property tree doesn't show indices, and John was seeing separate
entries for each possible engine, etc.).
2001-05-29 22:31:04 +00:00
curt
3b131ceaa8
Updates for new, more flexible panel design from David Megginson.
2001-05-15 23:54:32 +00:00
curt
b1af3904c8
Updates from David Megginson.
2001-05-15 23:08:25 +00:00
curt
a0d50000ba
Modifications to coordinate with recent changes in simgear.
2001-05-15 22:30:39 +00:00
curt
5014a910bb
#ifdef ENABLE_AUDIO_SUPPORT around all audio stuff.
2001-05-15 16:52:02 +00:00
curt
4c4d17631f
Screenshot tweaks from Cameron Moore.
2001-04-22 22:04:25 +00:00
curt
c5bd20c21d
Removed some debug output.
2001-03-29 06:14:42 +00:00
curt
776e7293bc
Changed wording ...
2001-03-29 06:09:25 +00:00
curt
4fc7f6d097
Put blinking marker beacon (bool) into the property registry for use by the
...
panel.
2001-03-29 06:05:01 +00:00
curt
2e8f9f7399
Added marker beacon sound effects.
2001-03-28 07:12:11 +00:00
curt
96a9152b02
Irix MIPS patches.
2001-03-26 18:22:31 +00:00
curt
f1b1077d93
More fg -> sg namespace changes in simgear.
2001-03-25 14:20:12 +00:00
curt
182fd42b40
SG-ified logstream.
2001-03-24 06:03:11 +00:00
curt
5ea9c04c64
SG_ namespace.
2001-03-24 04:56:46 +00:00
curt
17c96ae69e
SG_ namespace
2001-03-24 04:48:44 +00:00
curt
17f3d48e03
FG_ to SG_ namespace changes.
2001-03-24 02:36:45 +00:00
curt
1bf3001749
FG_ to SG_ namespace changes.
2001-03-24 00:18:01 +00:00
curt
5958389026
FG_ to SG_ namespace changes.
2001-03-23 22:59:18 +00:00
curt
46a4b960d1
MSVC++ fixes.
2001-03-21 23:16:21 +00:00
curt
a695a8d9f5
Initial support for marker beacons.
2001-03-16 23:59:02 +00:00
curt
99c54d976a
More tweaks to radio and sound.
2001-03-16 05:33:04 +00:00
curt
07c23f5866
More tweaks to radios so we can listen to Nav2 and ADF as well.
...
Fixed a bug which could make a station appear to be out of range when it isn't.
Expanded usable range to 1.3x times the FAA guaranteed service volume.
2001-03-14 23:37:50 +00:00
curt
bdde4e0581
Removed ios::binary on file open.
2001-03-14 23:35:46 +00:00
curt
e754177bdf
ADF needle doesn't zero when it goes out of range.
2001-03-14 14:35:27 +00:00
curt
61c8cefcf2
Working on modeling more realistic VOR and ILS ranges.
2001-03-14 07:25:14 +00:00
curt
6e0a10b757
Working on modeling VOR range as per AIM.
2001-03-14 01:31:04 +00:00
curt
d116eb2a62
Fixes to vor/ils/adf range pickup.
2001-03-12 15:07:49 +00:00
curt
ba12982f5e
Fixed a bug in radiostack->search() when switching freq. to a different
...
station that has the same ident (i.e. from a vor to a ils as in EAU.)
2001-03-12 13:42:32 +00:00
curt
6d6f0d3e71
Cleaned up a few things relating to playing morse audio vor/ils idents.
2001-03-12 12:40:18 +00:00
curt
c763c795ad
Don't play DME ident if no colocated DME.
2001-03-10 00:06:39 +00:00
curt
6e91c958e3
Play the full 4x VOR and 1x DME morse ident sequence at 30 second intervals.
...
When you tune into a station start at a "random" point in the sequence.
Sped up the words per minute to 13 to which means one sequence per about 4 secs.
This means we get through the whole sequence in about 20 seconds leaving 10
seconds of silence.
2001-03-09 23:35:21 +00:00
curt
95e27e8cb9
Working on vor audio ident (morse).
...
Fixed a bug in Network/props.cxx with the cd command.
Fixed a typo in options.cxx
2001-03-09 02:41:04 +00:00
curt
8395ac8852
Open C++ iostreams as ios::binary.
2001-03-08 02:34:27 +00:00
curt
29275ce1ec
Tweaks for Mips Irix compilers.
2001-03-06 22:36:59 +00:00
curt
4a61945285
Backcourse ILS needle should move correct direction now.
2001-02-27 23:52:52 +00:00
curt
79cabb6a8a
Lots of little tweaks to autopilot to make it more realistic.
2001-02-27 23:17:58 +00:00
curt
74cb68daae
Fixed a typo preventing the nav2 heading needle from moving.
...
DG heading bug initializes to a random setting.
Activating heading hold doesn't touch the DG heading bug any more.
Max autopilot decent rate is now -1000.
2001-02-25 16:26:48 +00:00
curt
75a538f5b9
Tweaks relating to autopilot heading hold.
...
Working on better modeling of nav radio needles.
2001-02-25 04:45:26 +00:00
curt
f780c27787
Changes to make the default autopilot heading hold work much more like a C172
...
DG heading hold (i.e. it will follow the gyro drift.)
2001-02-07 04:16:12 +00:00
curt
2827cf1387
Working on ironing out issues with VOR navigation. It think we are "as
...
good as we can get" until we find a data source with actual VOR magnetic
offsets. We can use VOR offsets from some fixed date, but not all VOR's
were installed on the same day so no matter what date we pick we will be off on most of them.
2001-02-02 05:25:45 +00:00
curt
cbaf015481
Working on straightening out VOR navigation.
2001-02-02 02:55:07 +00:00
curt
1c000fef96
Tweaks to add an altitude indicator adjustment.
2001-01-23 07:17:47 +00:00
curt
f7b844f4d6
More property manager interface updates.
2001-01-16 20:21:03 +00:00
curt
576432ec75
David Megginson writes:
...
FGOptions is history, and the modules are (starting) to use the property
manager directly. Let me know if I left any files out.
Inevitably, there will be some problems with broken options, etc.,
that I haven't found in my tests, but I'll try to fix them quickly.
We also need to stress that the property names currently in use are
not stable -- we need to reorganize them a bit for clarity.
2001-01-13 22:06:39 +00:00
curt
469703dd0c
Internal interface changes by David Megginson.
2001-01-11 22:44:18 +00:00
curt
cff0022a16
Miscellaneous MSVC porting fixes by Christian Mayer.
2001-01-11 05:04:17 +00:00
curt
bff544aada
Norman Vine has split up the GUI code into more managable/logical sections.
2001-01-08 20:55:16 +00:00
curt
66650e4148
1. Added src/Main/fgfs.hxx as a standard, top-level include file for
...
FlightGear subsystems -- it isolates some of the config and #ifdef
stuff in a single place.
2. Added a new FGSubsystem interface, defined in fgfs.hxx; so far,
only FGControls implements it, but if that works, we can start letting
it propagate through the system and simplify the code in main.cxx and
fg_init.cxx (which is terrifyingly complex for anyone new to the
project).
3. Added new src/Main/fgfs_props.[hc]xx files with convenience
functions for tying properties under FlightGear.
4. Experimentally modified src/Controls/controls.cxx to tie properties
directly (rather than tying to BFI functions). I'd appreciate it if
you could get this into CVS as soon as possible, so we can see if the
template stuff causes trouble for any other platforms before I add
properties to the other subsystems.
5. Miscellaneous superficial modifications to other files.
In addition, I've made a couple of further changes:
6. Modified BFI to add support for setting the view axes (i.e. with a
joystick hat).
7. Cleaned up bfi.cxx and removed all cout statements.
2001-01-05 17:38:58 +00:00
curt
af80c2080b
Neetha Girish <neethagirish@usa.net>
...
====================================
Cockpit.cxx
-----------
Commented #ifdef FIGHTER_HUD.
Hud.cxx
-------
Included code to read the xml file and draw the corresponding instrument.
Hud.hxx, Hud_ladr.cxx, Hud_card.cxx and Hud_labl.cxx
---------------------------------------------------
Integrated code to draw any kind of hud.
Preference.xml
---------------
Included XML file path in the sim/hud property.
ReadMe.xmlhud
-------------
The Readme.xmlhud describes the reconfigurable HUD implemented thru XML
files.
2001-01-05 16:44:48 +00:00
curt
3b88c71122
Applied changes relative to David Megginson's property manager rewrite.
2000-12-19 23:29:16 +00:00
curt
2f9850024a
Renamed fg_random -> sg_random.
2000-12-04 05:28:01 +00:00
curt
57a4c79eb5
Moved Time/timestamp.hxx into simgear/timing/timestamp.hxx
2000-11-30 18:43:31 +00:00