]> git.mxchange.org Git - flightgear.git/log
flightgear.git
23 years agochanged SGValue::Type references to SGPropertyNode::Type
curt [Tue, 12 Jun 2001 05:17:33 +0000 (05:17 +0000)]
changed SGValue::Type references to SGPropertyNode::Type

23 years agoreplaced 'static const int' with enum, as suggested by Christian
curt [Tue, 12 Jun 2001 05:16:57 +0000 (05:16 +0000)]
replaced 'static const int' with enum, as suggested by Christian
Meyer, to work around yet more MSVC bugs

23 years agoreplaced dynamically-sized arrays with statically-sized ones, to
curt [Tue, 12 Jun 2001 05:16:38 +0000 (05:16 +0000)]
replaced dynamically-sized arrays with statically-sized ones, to
work around MSVC bugs.

23 years agoreplaced SGValue with SGPropertyNode throughout.
curt [Tue, 12 Jun 2001 05:15:48 +0000 (05:15 +0000)]
replaced SGValue with SGPropertyNode throughout.

23 years agoUpdated to work with David's new property naming conventions.
curt [Fri, 8 Jun 2001 05:49:32 +0000 (05:49 +0000)]
Updated to work with David's new property naming conventions.

23 years agoIrix Mips compiler tweaks.
curt [Wed, 6 Jun 2001 23:31:48 +0000 (23:31 +0000)]
Irix Mips compiler tweaks.

23 years agoMore property node optimizations.
curt [Wed, 6 Jun 2001 19:12:24 +0000 (19:12 +0000)]
More property node optimizations.

23 years agoOptimized property node accesses.
curt [Wed, 6 Jun 2001 17:43:16 +0000 (17:43 +0000)]
Optimized property node accesses.

23 years agoOptimized key property node accesses.
curt [Wed, 6 Jun 2001 17:21:34 +0000 (17:21 +0000)]
Optimized key property node accesses.

23 years agoDebugging output.
curt [Wed, 6 Jun 2001 17:11:35 +0000 (17:11 +0000)]
Debugging output.

23 years agoWhite space tweaks.
curt [Wed, 6 Jun 2001 17:02:39 +0000 (17:02 +0000)]
White space tweaks.

23 years agoOptimized property manager accesses.
curt [Wed, 6 Jun 2001 17:02:25 +0000 (17:02 +0000)]
Optimized property manager accesses.
Fixed a creep in bug in the altitude hold autopilot.

23 years agoam2dsp.pl tweaks.
curt [Wed, 6 Jun 2001 17:01:29 +0000 (17:01 +0000)]
am2dsp.pl tweaks.

23 years agoPart of David's command binding updates.
curt [Tue, 5 Jun 2001 22:13:26 +0000 (22:13 +0000)]
Part of David's command binding updates.

23 years agoJSBSim tweaks.
curt [Tue, 5 Jun 2001 22:12:57 +0000 (22:12 +0000)]
JSBSim tweaks.

23 years ago- replace FGBFI::update with fgUpdateProps
curt [Tue, 5 Jun 2001 22:12:28 +0000 (22:12 +0000)]
- replace FGBFI::update with fgUpdateProps
- switched to properties for calculating RPM for model selector
- no longer includes bfi.hxx
- no longer includes keyboard.hxx

23 years ago- added load and save commands
curt [Tue, 5 Jun 2001 22:12:17 +0000 (22:12 +0000)]
- added load and save commands
- added panel-load command
- added preferences-load command

23 years ago- removed all reference to BFI; use fgInitProps instead
curt [Tue, 5 Jun 2001 22:12:08 +0000 (22:12 +0000)]
- removed all reference to BFI; use fgInitProps instead

23 years agoFile no longer used.
curt [Tue, 5 Jun 2001 22:11:56 +0000 (22:11 +0000)]
File no longer used.

23 years ago- removed bfi.cxx and bfi.hxx
curt [Tue, 5 Jun 2001 22:11:37 +0000 (22:11 +0000)]
- removed bfi.cxx and bfi.hxx
- removed keyboard.cxx and keyboard.hxx

23 years ago- moved declarations of GLUTkey, GLUTkeyup, GLUTspecialkey, and
curt [Tue, 5 Jun 2001 22:11:25 +0000 (22:11 +0000)]
- moved declarations of GLUTkey, GLUTkeyup, GLUTspecialkey, and
  GLUTspecialkeyup from obsolete keyboard.hxx to here

23 years ago- moved shift-F1 and shift-F2 (load/save) bindings to XML
curt [Tue, 5 Jun 2001 22:11:16 +0000 (22:11 +0000)]
- moved shift-F1 and shift-F2 (load/save) bindings to XML
- moved shift-F3 (reload panel) bindings to XML
- moved shift-F4 (reload prefs) bindings to XML
- moved shift-F5, shift-F6, shift-F7, and shift-F8 (scroll panel) to
  XML
- no longer includes Main/bfi.hxx
- added implementations of GLUTkey, GLUTkeyup, GLUTspecialkey, and
  GLUTspecialkeyup

23 years ago- removed unused reference to bfi.hxx
curt [Tue, 5 Jun 2001 22:11:00 +0000 (22:11 +0000)]
- removed unused reference to bfi.hxx

23 years ago- eliminated all references to BFI; use properties instead
curt [Tue, 5 Jun 2001 22:10:33 +0000 (22:10 +0000)]
- eliminated all references to BFI; use properties instead
- copied DEFAULT_AP_HEADING_LOCK over from old BFI

23 years ago- eliminated all references to BFI; use properties instead
curt [Tue, 5 Jun 2001 22:10:25 +0000 (22:10 +0000)]
- eliminated all references to BFI; use properties instead

23 years agoSynced with latest JSBSim as of June 5, 2001.
curt [Tue, 5 Jun 2001 20:58:48 +0000 (20:58 +0000)]
Synced with latest JSBSim as of June 5, 2001.

23 years agoRemoved 'x' from the xgl* calls.
curt [Tue, 5 Jun 2001 19:50:36 +0000 (19:50 +0000)]
Removed 'x' from the xgl* calls.

23 years agoIrix/MIPS compiler fixes.
curt [Mon, 4 Jun 2001 21:47:48 +0000 (21:47 +0000)]
Irix/MIPS compiler fixes.

23 years agoFixed a problem where all hardcoded keybindings were being double executed.
curt [Mon, 4 Jun 2001 21:40:38 +0000 (21:40 +0000)]
Fixed a problem where all hardcoded keybindings were being double executed.

23 years agoMore tweaks related to David's input patches.
curt [Mon, 4 Jun 2001 21:38:44 +0000 (21:38 +0000)]
More tweaks related to David's input patches.

23 years agoJoystick functionality has been moved to ../Joystick.
curt [Mon, 4 Jun 2001 21:38:03 +0000 (21:38 +0000)]
Joystick functionality has been moved to ../Joystick.

23 years agoEliminate a couple compiler warnings.
curt [Mon, 4 Jun 2001 21:30:03 +0000 (21:30 +0000)]
Eliminate a couple compiler warnings.

23 years agoFiles moved from ../Joystick to here.
curt [Mon, 4 Jun 2001 21:26:53 +0000 (21:26 +0000)]
Files moved from ../Joystick to here.

23 years ago- make repeatable for keys and joystick buttons default to false
curt [Mon, 4 Jun 2001 21:15:23 +0000 (21:15 +0000)]
- make repeatable for keys and joystick buttons default to false
  rather than true; it's too confusing for users if keys and buttons
  repeat by default (keys weren't anyway, but they were supposed to)

23 years ago- reduced amount of logging
curt [Mon, 4 Jun 2001 21:15:09 +0000 (21:15 +0000)]
- reduced amount of logging
- fixed bug with incorrect modifiers for some joystick buttons; trim
  buttons now work on my system

23 years ago- no longer include Joystick/joystick.hxx
curt [Mon, 4 Jun 2001 21:08:06 +0000 (21:08 +0000)]
- no longer include Joystick/joystick.hxx
- include Input/input.hxx
- register GLUTkeyup and GLUTspecialkeyup with glut
- comment out call to fgJoystickRead
- comment out call to fgJoystickInit
- add call to FGInput::update to replace fgJoystickRead

23 years ago- added declarations for GLUTkeyup and GLUTspecialkeyup to capture
curt [Mon, 4 Jun 2001 21:07:54 +0000 (21:07 +0000)]
- added declarations for GLUTkeyup and GLUTspecialkeyup to capture
  key-release events

23 years ago- implemented GLUTkeyup and GLUTspecialkeyup
curt [Mon, 4 Jun 2001 21:07:39 +0000 (21:07 +0000)]
- implemented GLUTkeyup and GLUTspecialkeyup

23 years ago- no longer include joystick.hxx
curt [Mon, 4 Jun 2001 21:07:27 +0000 (21:07 +0000)]
- no longer include joystick.hxx

23 years ago- removed Joystick library
curt [Mon, 4 Jun 2001 21:07:16 +0000 (21:07 +0000)]
- removed Joystick library

23 years ago- added FG_MOD_UP to use key-up or button-up as a command modifier;
curt [Mon, 4 Jun 2001 21:07:02 +0000 (21:07 +0000)]
- added FG_MOD_UP to use key-up or button-up as a command modifier;
  this way, keyboard buttons can work the same way as joystick buttons
- added declaration for FGBinding::fire(double); this adds a setting
  property to the arguments passed to the command, so that it can use
  the current axis position as part of its calculations
- added data structures from joystick.cxx

23 years ago- added FGBinding::fire(double) - added support for "mod-up" property
curt [Mon, 4 Jun 2001 21:06:48 +0000 (21:06 +0000)]
- added FGBinding::fire(double) - added support for "mod-up" property
- go back to using index as key code (otherwise, we'll get nasty
  surprises when users try to override bindings)
- XML config file now nests bindings inside modifiers
- allow user to specify whether key is repeatable
- removed hard-coded bindings for 'b', ',', and '.'
- added code from joystick.cxx, with the following major changes:
  - changed from js0, axis0, button0 to js[0], axis[0], button[0], etc.
  - removed factor, offset, etc. since they will be args to command in
    binding
  - allow multiple bindings, as with key mappings
  - allow access to keyboard modifier keys for bindings
  - include infrastructure for modifiers (only FG_MOD_UP is used so far)
  - removed unused 'saturation' property
  - temporarily removed capture property and trim code; it will have to
    be rewritten to be more generic
  - allow modifiers for joystick buttons

23 years ago- removed Joystick subdirectory
curt [Mon, 4 Jun 2001 21:05:53 +0000 (21:05 +0000)]
- removed Joystick subdirectory

23 years agoRemoved cloud layers added for testing.
curt [Mon, 4 Jun 2001 20:48:43 +0000 (20:48 +0000)]
Removed cloud layers added for testing.

23 years agoInitial revision of Tony's joystick configurator.
curt [Fri, 1 Jun 2001 20:56:13 +0000 (20:56 +0000)]
Initial revision of Tony's joystick configurator.

23 years agoInitial revision.
curt [Fri, 1 Jun 2001 20:56:01 +0000 (20:56 +0000)]
Initial revision.

23 years agoMove a variable declaration out of the case statement.
curt [Fri, 1 Jun 2001 20:29:03 +0000 (20:29 +0000)]
Move a variable declaration out of the case statement.

23 years agoTest for null object after load before trying to connect it into the scene
curt [Fri, 1 Jun 2001 18:04:10 +0000 (18:04 +0000)]
Test for null object after load before trying to connect it into the scene
graph (which would cause a crash.)

23 years agoReduce output verbosity.
curt [Fri, 1 Jun 2001 17:55:49 +0000 (17:55 +0000)]
Reduce output verbosity.

23 years ago- renamed /sim/startup/view-offset to /sim/view/offset
curt [Fri, 1 Jun 2001 17:53:20 +0000 (17:53 +0000)]
- renamed /sim/startup/view-offset to /sim/view/offset

23 years ago- no longer allocate the root property node for globals; globals does
curt [Fri, 1 Jun 2001 17:53:09 +0000 (17:53 +0000)]
- no longer allocate the root property node for globals; globals does
  it itself
- tweaks to model path loading.

23 years ago- added an instance of SGCommandMgr
curt [Fri, 1 Jun 2001 17:52:50 +0000 (17:52 +0000)]
- added an instance of SGCommandMgr
- added a get_commands() method

23 years ago- modified setup so that the globals object creates and deletes its
curt [Fri, 1 Jun 2001 17:52:40 +0000 (17:52 +0000)]
- modified setup so that the globals object creates and deletes its
  own instances of the property and command managers

23 years ago- added invocation of fgInitCommands() to set up command manager
curt [Fri, 1 Jun 2001 17:52:28 +0000 (17:52 +0000)]
- added invocation of fgInitCommands() to set up command manager

23 years agoInitial revision of interface to new SimGear command manager.
curt [Fri, 1 Jun 2001 17:52:17 +0000 (17:52 +0000)]
Initial revision of interface to new SimGear command manager.

23 years ago- removed some obsolete method declarations
curt [Fri, 1 Jun 2001 17:51:49 +0000 (17:51 +0000)]
- removed some obsolete method declarations
- added declarations for get/setViewOffset and get/setGoalViewOffset

23 years ago- implemented get/setViewOffset and get/setGoalViewOffset
curt [Fri, 1 Jun 2001 17:51:39 +0000 (17:51 +0000)]
- implemented get/setViewOffset and get/setGoalViewOffset
- tied to properties /sim/view/offset and /sim/view/goal-offset

23 years ago- added fg_commands.cxx and fg_commands.hxx
curt [Fri, 1 Jun 2001 17:51:20 +0000 (17:51 +0000)]
- added fg_commands.cxx and fg_commands.hxx

23 years ago- refactored and simplified FGBinding class to use the new command
curt [Fri, 1 Jun 2001 17:51:09 +0000 (17:51 +0000)]
- refactored and simplified FGBinding class to use the new command
  manager; removed unused getters and setters; track original
  command name for use in debugging messages
- removed unused action methods from FGInput

23 years ago- renamed property binding/action to binding/command; most commands now
curt [Fri, 1 Jun 2001 17:50:59 +0000 (17:50 +0000)]
- renamed property binding/action to binding/command; most commands now
  want binding/property rather than binding/control
- removed hard-coded bindings for F3 (screenshot), Ctrl-S
  (autothrottle), v (cycle view) and all of the keypad view-direction
  keys; these are now defined in $FG_ROOT/keyboard.xml
- removed unused action method

23 years agoDetect Irix/CC compiler and substitute AR="CC -ar".
curt [Fri, 1 Jun 2001 17:13:03 +0000 (17:13 +0000)]
Detect Irix/CC compiler and substitute AR="CC -ar".

23 years agoFixed a typo.
curt [Thu, 31 May 2001 05:47:59 +0000 (05:47 +0000)]
Fixed a typo.

23 years agoMake FGViewer::update() a pure virtual because FGViewer is a base class
curt [Thu, 31 May 2001 04:25:43 +0000 (04:25 +0000)]
Make FGViewer::update() a pure virtual because FGViewer is a base class
and can never be instantiated itself.

23 years agoWe don't need to explicitely #include <glext.h> since gl.h should do this
curt [Wed, 30 May 2001 20:58:02 +0000 (20:58 +0000)]
We don't need to explicitely #include <glext.h> since gl.h should do this
for us already if it exists.

23 years agoFixed a bug in the tile pager / caching / management system that caused
curt [Wed, 30 May 2001 18:21:03 +0000 (18:21 +0000)]
Fixed a bug in the tile pager / caching / management system that caused
a crash when relocating to a new airport.  Pending work from the old
area is now just completed as normal, rather than trying to empty the various
queues in their various stages when can lead to many problems in a threaded
environment.

23 years ago1. Fixed FGInput bug preventing same key from being bound separately
curt [Tue, 29 May 2001 22:31:04 +0000 (22:31 +0000)]
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.).

23 years agoWin32 fixes.
curt [Tue, 29 May 2001 22:06:14 +0000 (22:06 +0000)]
Win32 fixes.
Fixed a few glitches in the autopilot keys
Added a #define to be able to make a compile time decision to revert to
   older GPS like autopiolt behavior this define SHOULD become a property
   so that it is run time switchable.

23 years agoFix a clash with some standard MSVC defines (yeah MS) :-(
curt [Tue, 29 May 2001 20:02:00 +0000 (20:02 +0000)]
Fix a clash with some standard MSVC defines (yeah MS) :-(

23 years agoI'm attaching diffs to add a new FGInput module to FlightGear
curt [Wed, 23 May 2001 23:01:15 +0000 (23:01 +0000)]
I'm attaching diffs to add a new FGInput module to FlightGear
(src/Input).  So far, FGInput replaces most of src/Main/keyboard.cxx
(I've left a tiny stub); in the very near future, it will also take
over control of the joystick, mouse (Norm permitting), and panel
instrument interactions, so that there is a single mechanism for
configuring all input devices.

The new format should be (close to) self-explanatory by looking at the
new base-package file keyboard.xml, which is now included by
preferences.xml (I'll do the same thing for the joystick when I have a
chance).  I have not managed to move all keybindings into this file
yet, but I've made a good start.  I'm including Tony in the recipient
list so that he can see how bindings can use an external XML file.

This patch also adds support for multiple bindings for a single key,
special keys (i.e. keypad and function keys), and key modifiers
(shift/alt/ctrl); special keys use the PUI convention of adding 256 to
the Glut key code.

Unfortunately, everything comes with a price; in this case, I have not
yet found a general mechanism for the old (hard-coded) modal bindings,
which behaved differently depending on the autopilot state (i.e. left
rudder or move AP heading left); with my patches, this functionality
disappears, but you can still adjust the autopilot using the panel or
the GUI input dialogs.

23 years agoInitial revision. (Contributed by David Megginson)
curt [Wed, 23 May 2001 22:59:40 +0000 (22:59 +0000)]
Initial revision.  (Contributed by David Megginson)

23 years agoNorman Vine contributed more optimized object placement math.
curt [Wed, 23 May 2001 22:28:38 +0000 (22:28 +0000)]
Norman Vine contributed more optimized object placement math.

23 years agoWhitespace tweak.
curt [Wed, 23 May 2001 20:57:25 +0000 (20:57 +0000)]
Whitespace tweak.

23 years agoMinor texture tweaks.
curt [Wed, 23 May 2001 20:54:51 +0000 (20:54 +0000)]
Minor texture tweaks.

23 years agoUpdated by John Check.
curt [Tue, 22 May 2001 17:25:44 +0000 (17:25 +0000)]
Updated by John Check.

23 years agoTile pager tweaks.
curt [Mon, 21 May 2001 20:44:59 +0000 (20:44 +0000)]
Tile pager tweaks.
MSVC++ tweaks.

23 years agoWe can't remove ssg branches in the threaded tile page because if we happen
curt [Sun, 20 May 2001 06:49:06 +0000 (06:49 +0000)]
We can't remove ssg branches in the threaded tile page because if we happen
to have attached an ssg loaded object to this branch, then plib will remove
it and all it's states (and textures) which will call opengl api commands
which will crash the program if run from a separate thread from the main render
thread.

23 years agoThreaded tile paging:
curt [Sat, 19 May 2001 16:59:43 +0000 (16:59 +0000)]
Threaded tile paging:
- model loading deferred to primary thread
- tile removal deferred to paging thread
- other tweaks and rearrangments.

Airport signs
- first stab at some support for adding taxiway and runway signs.  This
  is non-optimal, but I'm under the gun for a demo.

23 years agoTile loading is interleaved now when not threaded. Threaded loader is
curt [Fri, 18 May 2001 20:31:23 +0000 (20:31 +0000)]
Tile loading is interleaved now when not threaded.  Threaded loader is
throttled to one tile per frame maximum.

23 years agoTweaks.
curt [Fri, 18 May 2001 20:30:36 +0000 (20:30 +0000)]
Tweaks.

23 years agoPush external eye point a bit further away from the aircraft.
curt [Fri, 18 May 2001 20:30:18 +0000 (20:30 +0000)]
Push external eye point a bit further away from the aircraft.

23 years agoDon't build ls_trim.c, but keep it in EXTRA_DIST.
curt [Fri, 18 May 2001 20:29:57 +0000 (20:29 +0000)]
Don't build ls_trim.c, but keep it in EXTRA_DIST.

23 years agoTrying to fix ascii file parsing and line terminator handling.
curt [Fri, 18 May 2001 16:09:39 +0000 (16:09 +0000)]
Trying to fix ascii file parsing and line terminator handling.

23 years agoMSVC++ changes contributed by Geoff McLane.
curt [Thu, 17 May 2001 21:55:22 +0000 (21:55 +0000)]
MSVC++ changes contributed by Geoff McLane.

23 years agoAdded David Megginson's patch for reconfigurable keyboard bindings.
curt [Wed, 16 May 2001 23:27:59 +0000 (23:27 +0000)]
Added David Megginson's patch for reconfigurable keyboard bindings.

23 years agoFirst stab at adding static objects to scene.
curt [Wed, 16 May 2001 06:00:02 +0000 (06:00 +0000)]
First stab at adding static objects to scene.

23 years agoAdded a missing 'return' in case statement.
curt [Wed, 16 May 2001 00:32:28 +0000 (00:32 +0000)]
Added a missing 'return' in case statement.

23 years agoUpdates for new, more flexible panel design from David Megginson.
curt [Tue, 15 May 2001 23:54:32 +0000 (23:54 +0000)]
Updates for new, more flexible panel design from David Megginson.

23 years agoUpdates from David Megginson.
curt [Tue, 15 May 2001 23:08:25 +0000 (23:08 +0000)]
Updates from David Megginson.

23 years agoModifications to coordinate with recent changes in simgear.
curt [Tue, 15 May 2001 22:30:39 +0000 (22:30 +0000)]
Modifications to coordinate with recent changes in simgear.

23 years ago#ifdef ENABLE_AUDIO_SUPPORT around all audio stuff.
curt [Tue, 15 May 2001 16:52:02 +0000 (16:52 +0000)]
#ifdef ENABLE_AUDIO_SUPPORT around all audio stuff.

23 years agoFixed a typo.
curt [Tue, 15 May 2001 04:08:31 +0000 (04:08 +0000)]
Fixed a typo.

23 years agoRe-added support for loading on-the-fly textures.
curt [Tue, 15 May 2001 00:01:04 +0000 (00:01 +0000)]
Re-added support for loading on-the-fly textures.

23 years agoAdded a search method for an airport/runway number combination.
curt [Tue, 15 May 2001 00:00:08 +0000 (00:00 +0000)]
Added a search method for an airport/runway number combination.

23 years agotweaks.
curt [Mon, 14 May 2001 23:58:54 +0000 (23:58 +0000)]
tweaks.

23 years agoAdded #include <string.h>
curt [Fri, 4 May 2001 05:19:01 +0000 (05:19 +0000)]
Added #include <string.h>

23 years agoTimezone fixes for Cygwin.
curt [Thu, 26 Apr 2001 18:15:32 +0000 (18:15 +0000)]
Timezone fixes for Cygwin.

23 years agoScreenshot tweaks from Cameron Moore.
curt [Sun, 22 Apr 2001 22:04:25 +0000 (22:04 +0000)]
Screenshot tweaks from Cameron Moore.

23 years agoFix various compiler warnings contributed by Norman Princeton.
curt [Sun, 22 Apr 2001 17:00:08 +0000 (17:00 +0000)]
Fix various compiler warnings contributed by Norman Princeton.

23 years agoSynced with latest JSBSim. X15 works for me, but C172 segfaults.
curt [Tue, 17 Apr 2001 21:19:54 +0000 (21:19 +0000)]
Synced with latest JSBSim.  X15 works for me, but C172 segfaults.

23 years agoInitial revision.
curt [Tue, 17 Apr 2001 13:35:38 +0000 (13:35 +0000)]
Initial revision.