]> git.mxchange.org Git - flightgear.git/log
flightgear.git
17 years agoInitial revision of code to read MicroGear serial output and parse,
curt [Sat, 11 Nov 2006 18:43:17 +0000 (18:43 +0000)]
Initial revision of code to read MicroGear serial output and parse,
interpolate, and feed to FlightGear either in real time or replaying the
data file.

17 years agoAI Update:
durk [Sat, 11 Nov 2006 10:52:05 +0000 (10:52 +0000)]
AI Update:
 - Ground network slow-down finally works as expected
   (although occasionally causing a traffic jam)
 - Hold position instruction now really sets speed to zero, in addition
   it actually works now for crossing and two-way traffic
 - Attempt to limit execution time of ground network trace algorithm
   to make performance acceptable at high-density networks
 - Removed remaining terminal messages
 - Various minor tweaks and clean-ups

17 years agoModified Files:
frohlich [Fri, 10 Nov 2006 05:37:50 +0000 (05:37 +0000)]
Modified Files:
src/Time/tmp.cxx src/Time/light.hxx src/Time/light.cxx
src/Main/renderer.cxx src/Cockpit/panel.cxx: Initialize sky colors

17 years agoModified Files:
frohlich [Wed, 8 Nov 2006 20:46:07 +0000 (20:46 +0000)]
Modified Files:
  groundcache.cxx: Reorder intersection tests a bit

17 years agoModified Files:
frohlich [Wed, 8 Nov 2006 20:45:21 +0000 (20:45 +0000)]
Modified Files:
src/Main/renderer.cxx: Make sure the normalize mode is not set

17 years agoModified Files:
frohlich [Tue, 7 Nov 2006 06:09:36 +0000 (06:09 +0000)]
Modified Files:
src/FDM/groundcache.cxx: Tim Moore: fix for groundcache problems.

17 years agoAdded Files:
frohlich [Tue, 7 Nov 2006 05:57:02 +0000 (05:57 +0000)]
Added Files:
projects/VC8/FGJS.vcproj: Olaf Flebbe updated project files

17 years agoModified Files:
frohlich [Tue, 7 Nov 2006 05:56:21 +0000 (05:56 +0000)]
Modified Files:
projects/VC8/FlightGear.sln projects/VC8/FlightGear.vcproj
projects/VC8/FlightGearLib.vcproj projects/VC8/JS_demo.vcproj
Olaf Flebbe: Updated project files.

17 years agoOlaf Flebbe: remove unused variable.
frohlich [Tue, 7 Nov 2006 05:39:33 +0000 (05:39 +0000)]
Olaf Flebbe: remove unused variable.

17 years agoWin32 compilation fix
fredb [Thu, 2 Nov 2006 17:41:53 +0000 (17:41 +0000)]
Win32 compilation fix

17 years agoModified Files:
frohlich [Thu, 2 Nov 2006 06:15:41 +0000 (06:15 +0000)]
Modified Files:
projects/VC8/FlightGear.sln projects/VC8/FlightGear.vcproj
projects/VC8/FlightGearLib.vcproj projects/VC8/JS_demo.vcproj:
Import Olafs project files

17 years agoremove function declarations for long removed functions
mfranz [Wed, 1 Nov 2006 23:36:46 +0000 (23:36 +0000)]
remove function declarations for long removed functions

17 years agoremove obsolete and non-functional menu toggle command
mfranz [Wed, 1 Nov 2006 23:23:26 +0000 (23:23 +0000)]
remove obsolete and non-functional menu toggle command

17 years agoremove obsolete preset dialogs
mfranz [Wed, 1 Nov 2006 22:55:15 +0000 (22:55 +0000)]
remove obsolete preset dialogs

17 years agoremove obsolete preset dialogs
mfranz [Wed, 1 Nov 2006 22:48:34 +0000 (22:48 +0000)]
remove obsolete preset dialogs

17 years agoModified Files:
frohlich [Wed, 1 Nov 2006 22:26:57 +0000 (22:26 +0000)]
Modified Files:
fg_init.cxx: Oops, forgot to commit that chunk

17 years agoremove old property dialog
mfranz [Wed, 1 Nov 2006 22:10:22 +0000 (22:10 +0000)]
remove old property dialog

17 years agoremove old property dialog
mfranz [Wed, 1 Nov 2006 21:59:46 +0000 (21:59 +0000)]
remove old property dialog

17 years agoModified Files:
frohlich [Wed, 1 Nov 2006 21:22:25 +0000 (21:22 +0000)]
Modified Files:
Time/tmp.cxx Main/viewer.hxx Main/viewer.cxx Main/renderer.cxx
Get rid of an other OSGFIXME. The view matrix had some plib specials
included. The viewer is now updated for that.

17 years agoRemoved Files:
frohlich [Wed, 1 Nov 2006 21:14:28 +0000 (21:14 +0000)]
Removed Files:
hitlist.cxx hitlist.hxx: Is obsolete.

17 years agoinsert punctuation for better festival speech
mfranz [Tue, 31 Oct 2006 11:57:16 +0000 (11:57 +0000)]
insert punctuation for better festival speech

17 years agoModified Files:
frohlich [Tue, 31 Oct 2006 06:27:34 +0000 (06:27 +0000)]
Modified Files:
src/AIModel/AIBase.cxx src/Main/main.cxx src/Main/renderer.cxx
Reflect last change in SimGear

17 years agoModified Files:
frohlich [Tue, 31 Oct 2006 06:20:27 +0000 (06:20 +0000)]
Modified Files:
src/MultiPlayer/multiplaymgr.cxx: Check in long standing broadcast
multiplayer fix

17 years agoModified Files:
frohlich [Tue, 31 Oct 2006 06:19:53 +0000 (06:19 +0000)]
Modified Files:
src/Main/Makefile.am: now we need libsgutil ...

17 years agossgSharedPtr.hxx -> SGSharedPtr.hxx
mfranz [Mon, 30 Oct 2006 16:31:45 +0000 (16:31 +0000)]
ssgSharedPtr.hxx -> SGSharedPtr.hxx

17 years agoModified Files:
frohlich [Sun, 29 Oct 2006 19:30:21 +0000 (19:30 +0000)]
Modified Files:
  configure.ac src/AIModel/AIAircraft.cxx src/AIModel/AIBase.cxx
  src/AIModel/AIBase.hxx src/AIModel/AICarrier.cxx
  src/AIModel/AICarrier.hxx src/AIModel/AIManager.cxx
  src/AIModel/AIManager.hxx src/ATC/AIEntity.cxx
  src/ATC/AIEntity.hxx src/ATC/AIMgr.cxx src/ATC/AIMgr.hxx
  src/ATC/ATCdisplay.cxx src/ATC/ATCdisplay.hxx
  src/Cockpit/cockpit.cxx src/Cockpit/cockpit.hxx
  src/Cockpit/hud.cxx src/Cockpit/hud.hxx
  src/Cockpit/hud_rwy.cxx src/Cockpit/panel.cxx
  src/Cockpit/panel.hxx src/Cockpit/built_in/FGMagRibbon.cxx
  src/Cockpit/built_in/FGMagRibbon.hxx src/FDM/flight.cxx
  src/FDM/groundcache.cxx src/FDM/groundcache.hxx
  src/GUI/gui_funcs.cxx src/Input/input.cxx
  src/Instrumentation/od_gauge.cxx
  src/Instrumentation/od_gauge.hxx
  src/Instrumentation/render_area_2d.cxx
  src/Instrumentation/render_area_2d.hxx
  src/Instrumentation/wxradar.cxx
  src/Instrumentation/wxradar.hxx
  src/Instrumentation/HUD/HUD.cxx
  src/Instrumentation/HUD/HUD.hxx
  src/Instrumentation/HUD/HUD_runway.cxx src/Main/Makefile.am
  src/Main/main.cxx src/Main/renderer.cxx src/Main/renderer.hxx
  src/Main/viewmgr.cxx src/Model/acmodel.cxx
  src/Model/acmodel.hxx src/Model/model_panel.cxx
  src/Model/model_panel.hxx src/Model/modelmgr.cxx
  src/Model/modelmgr.hxx src/Model/panelnode.cxx
  src/Model/panelnode.hxx src/Navaids/awynet.cxx
  src/Scenery/Makefile.am src/Scenery/hitlist.cxx
  src/Scenery/hitlist.hxx src/Scenery/newcache.cxx
  src/Scenery/scenery.cxx src/Scenery/scenery.hxx
  src/Scenery/tileentry.cxx src/Scenery/tileentry.hxx
  src/Scenery/tilemgr.cxx src/Scripting/NasalSys.cxx
  src/Scripting/NasalSys.hxx src/Time/light.cxx
Big BLOB on the way to OSG.

17 years agoMaik JUSTUS: last changes for better consistency with The FlightGear Way.
mfranz [Sun, 29 Oct 2006 12:44:15 +0000 (12:44 +0000)]
Maik JUSTUS: last changes for better consistency with The FlightGear Way.

17 years agoGeorge PATTERSON:
mfranz [Sun, 29 Oct 2006 12:34:26 +0000 (12:34 +0000)]
George PATTERSON:

"Flightgear.py
- Added the procedures view_next and view_prev

demo.py
- altered the wait five seconds to the new property path and allowed for
the script to be started after five seconds of simulation file
(/sim/time/elapsed-sec).
- the section of code was changed to a pythonism as python does not
support do-while loops, instead you break out of a continuous loop.
- Commented out the fg.wait_for_prop_eq() method as I haven't rewritten
that part of the code yet. Not sure of the best way to do that. Those
lines may not be necessary any more."

mf: removed trailing spaces; I updated the pyc, too, but I really think
    it shouldn't be in CVS at all.(?)

17 years agoMaik JUSTUS: replace underscore with hyphen in config keywords, to be
mfranz [Sat, 28 Oct 2006 21:14:32 +0000 (21:14 +0000)]
Maik JUSTUS: replace underscore with hyphen in config keywords, to be
consistent with the rest of YASim and almost all of fgfs

17 years agoMaik JUSTUS: change /rotors/*/blade1_pos to /rotors/*/blade[0]/position-deg,
mfranz [Sat, 28 Oct 2006 20:53:19 +0000 (20:53 +0000)]
Maik JUSTUS: change /rotors/*/blade1_pos to /rotors/*/blade[0]/position-deg,
incidence to incidence-deg, and flap to flap-deg

17 years agoremove unused and empty files
mfranz [Sat, 28 Oct 2006 18:02:47 +0000 (18:02 +0000)]
remove unused and empty files

17 years agosimplify name/number handling
mfranz [Thu, 26 Oct 2006 17:46:05 +0000 (17:46 +0000)]
simplify name/number handling

17 years agosimplify name/number handling
mfranz [Thu, 26 Oct 2006 17:39:47 +0000 (17:39 +0000)]
simplify name/number handling

17 years ago- simplify number/name handling
mfranz [Thu, 26 Oct 2006 15:06:12 +0000 (15:06 +0000)]
- simplify number/name handling
- consistent member naming
- coding style fixes in clock.*

17 years ago- simplify namer/number handling
mfranz [Thu, 26 Oct 2006 14:47:15 +0000 (14:47 +0000)]
- simplify namer/number handling
- consistent naming of members with underscore

17 years ago- don't read the channel always from tacan[0] (even if the existence of
mfranz [Thu, 26 Oct 2006 14:09:13 +0000 (14:09 +0000)]
- don't read the channel always from tacan[0] (even if the existence of
  a second tacan may not be likely)
- remove some dead code
- simplify <name>/<number> handling
- let a listener watch over input props and search for new channel/frequency
- allow to set channel number as one number (rather than as single digits),
  as some aircraft may prefer this (the ch53 does so); this is to be set
  in /instrumentation/tacan[n]/frequencies/selected-channel[0]

17 years agoemit signal /sim/signals/fdm-initialized when the FDM is up; this is
mfranz [Thu, 26 Oct 2006 09:07:41 +0000 (09:07 +0000)]
emit signal /sim/signals/fdm-initialized when the FDM is up; this is
useful to attach listeners and have their functions run at a time when
they can safely access FDM generated properties

17 years agoLeidson Campos A. Ferreira improved the jpeg http server
fredb [Tue, 24 Oct 2006 17:51:56 +0000 (17:51 +0000)]
Leidson Campos A. Ferreira improved the jpeg http server

17 years agoVivian MEAZZA: add missing heading-indicator-dg inclusion (instrument_mgr.cxx)
mfranz [Tue, 24 Oct 2006 16:03:44 +0000 (16:03 +0000)]
Vivian MEAZZA: add missing heading-indicator-dg inclusion (instrument_mgr.cxx)
mf:
- fix abs/fabs bug
- typos & cosmetics

17 years agoVivian MEAZZA: Directional Gyro (DG) compass & electrically powered master
mfranz [Mon, 23 Oct 2006 21:58:28 +0000 (21:58 +0000)]
Vivian MEAZZA: Directional Gyro (DG) compass & electrically powered master
               reference gyro

17 years agodrop pointless warning. If the sound can't be removed, then proably because
mfranz [Fri, 20 Oct 2006 12:12:12 +0000 (12:12 +0000)]
drop pointless warning. If the sound can't be removed, then proably because
it was never added, which is perfectly normal when the aircraft started
out of range. (Analog to the DME sound, which doesn't have that warning
either.)

17 years agoFix a typo so that turbulence can work in JSBSim models once again.
curt [Thu, 19 Oct 2006 02:39:05 +0000 (02:39 +0000)]
Fix a typo so that turbulence can work in JSBSim models once again.

17 years agouse correct data type for string::find()
mfranz [Tue, 17 Oct 2006 21:21:26 +0000 (21:21 +0000)]
use correct data type for string::find()

17 years agoAlexis Bory: revert hack; use correct type for string::find()
mfranz [Tue, 17 Oct 2006 20:39:00 +0000 (20:39 +0000)]
Alexis Bory: revert hack; use correct type for string::find()

17 years agoA bug was discovered on IRC where an errant script was setting a nil
andy [Tue, 17 Oct 2006 19:58:33 +0000 (19:58 +0000)]
A bug was discovered on IRC where an errant script was setting a nil
value on a property.  This becomes a NaN when converted to a numeric
value, which then percolated into the C++ world where it ultimately
caused a crash in YASim's turbulence code.  While converting nil to
NaN isn't *strictly* wrong, it's dangerous for this reason.  Toss a
Nasal exception instead.  Hopefully this won't break too much
preexisting code.

17 years agoVivian MEAZZA: "Bug fix - make TACAN work with no carrier in the environment"
mfranz [Mon, 16 Oct 2006 11:15:35 +0000 (11:15 +0000)]
Vivian MEAZZA: "Bug fix - make TACAN work with no carrier in the environment"

17 years agocerr don't belong in CVS
mfranz [Thu, 12 Oct 2006 22:12:09 +0000 (22:12 +0000)]
cerr don't belong in CVS

use SG_LOG! use SG_LOG! use SG_LOG! use SG_LOG! use SG_LOG! use SG_LOG!
use SG_LOG! use SG_LOG! use SG_LOG! use SG_LOG! use SG_LOG! use SG_LOG!

17 years agodon't clutter the terminal with meaningless (to all but one developer)
mfranz [Thu, 12 Oct 2006 21:48:18 +0000 (21:48 +0000)]
don't clutter the terminal with meaningless (to all but one developer)
"cerr" messages (SG_LOG/SG_BULK is meant for that)

17 years agoModified Files:
frohlich [Tue, 10 Oct 2006 05:29:05 +0000 (05:29 +0000)]
Modified Files:
projects/VC8/FlightGearLib.vcproj: MSVC8 Build updates from Olaf

17 years agoModified Files:
frohlich [Tue, 10 Oct 2006 05:17:07 +0000 (05:17 +0000)]
Modified Files:
src/AIModel/AIMultiplayer.cxx src/MultiPlayer/mpmessages.hxx
src/MultiPlayer/multiplaymgr.cxx
src/MultiPlayer/multiplaymgr.hxx src/Network/multiplay.cxx
Apply Stuart Buchanan's multiplayer property/chat patch.

17 years agoAdd MSVC Readme file from Olaf Flebbe
frohlich [Sun, 8 Oct 2006 10:30:15 +0000 (10:30 +0000)]
Add MSVC Readme file from Olaf Flebbe

17 years agoInitial checkin.
durk [Fri, 6 Oct 2006 17:37:09 +0000 (17:37 +0000)]
Initial checkin.

17 years agoMajor update of traffic manager and AI related airport facilities.
durk [Fri, 6 Oct 2006 17:36:31 +0000 (17:36 +0000)]
Major update of traffic manager and AI related airport facilities.
- Moved AIModels/Traffic Manager related AI functions to a new file
- Rewrote the traffic manager so that the containers use pointers to
  objects instead of the objects themselves, which will allow for a
  more flexible memory management.
- Rewrote parts of the airport groundnetwork code, also because the
  stl containers now contain object pointers instead of the objects
  themselves.
- Fixed an uninitialized iterator in the AI distance tracking code
- Fixed flawed logic in some of the traffic controller's while loops
- Added a tower controller, which paces take-off behavior of AITraffic
  in a more realistic way.
- Various other minor fixes and fine tuning.

17 years agoModified Files:
frohlich [Sat, 30 Sep 2006 07:10:34 +0000 (07:10 +0000)]
Modified Files:
FlightGear.sln FlightGear.vcproj FlightGearLib.vcproj
Added Files:
JS_demo.vcproj: Import changes from Olaf

17 years agoFixed a potentially tiny memory leak.
durk [Sat, 30 Sep 2006 05:17:45 +0000 (05:17 +0000)]
Fixed a potentially tiny memory leak.

17 years agoWin32 only : Advertise we need a console when the program is linked as a 'Windows...
fredb [Wed, 27 Sep 2006 20:18:08 +0000 (20:18 +0000)]
Win32 only : Advertise we need a console when the program is linked as a 'Windows' subsystem

17 years agoAdding some more intelligence to the AI system step 2: Added a system to
durk [Tue, 19 Sep 2006 17:04:22 +0000 (17:04 +0000)]
Adding some more intelligence to the AI system step 2: Added a system to
detect interfering taxi routes and added a "hold position" instruction to
make one of two conflicting aircraft wait until it's route is cleared again

17 years agoAnother fix from Maik
andy [Thu, 14 Sep 2006 21:05:34 +0000 (21:05 +0000)]
Another fix from Maik

17 years agoHelicopter update from Maik:
andy [Thu, 14 Sep 2006 18:18:33 +0000 (18:18 +0000)]
Helicopter update from Maik:
 More realistic calculation of vortices at the blades and therefore
 real airfoil parameters can be used now (not to be mixed up with the
 vortex ring state which is still not simulated), ground effect is now
 continuous e. g. at buildings, calculating of the rotor in more than 4
 directions, better documentation of the airfoil parameters.

17 years agoSyd Adams:
curt [Tue, 5 Sep 2006 20:28:48 +0000 (20:28 +0000)]
Syd Adams:

- Well I finally licked it, the clipping works great now, in 16 and 32
  bpp mode, on 2d and 3d panels.
- I tried glScissors, didnt work because clipping was done in screen
  co-ordinates.
- Stencil buffer methods worked great for 2d panel, but messed up 3d
  panels,(depth buffer problems I think), and only worked in 32 bpp mode.
- I then tried clip planes , and so far it appears to work with no
  problem, and no framerate drop like I had with the stencil buffer
  method...

I'm attaching the panel.cxx file for testing...

17 years agoFix missing return statement and unused local variable
fredb [Sat, 2 Sep 2006 08:10:13 +0000 (08:10 +0000)]
Fix missing return statement and unused local variable

17 years agoAttemp to fix the 'bogous tile problem'
frohlich [Thu, 31 Aug 2006 05:07:50 +0000 (05:07 +0000)]
Attemp to fix the 'bogous tile problem'

17 years agoCurt noticed a while back that YASim was producing alpha and sideslip
andy [Mon, 28 Aug 2006 17:24:34 +0000 (17:24 +0000)]
Curt noticed a while back that YASim was producing alpha and sideslip
values that were angles between the aircraft's orientation and the
global velocity vector, not the airflow velocity.  So the HUD velocity
vector was wrong when the wind was non-zero.  Fix that.

17 years agoClear up a line terminator issue between windows/unix.
curt [Sat, 26 Aug 2006 14:24:14 +0000 (14:24 +0000)]
Clear up a line terminator issue between windows/unix.

17 years agoGround network distance tracking code. AIAircraft taxiing at airports
durk [Sat, 26 Aug 2006 07:22:20 +0000 (07:22 +0000)]
Ground network distance tracking code. AIAircraft taxiing at airports
maintain a resonable distance from each other while taxiing on the same
route. The current code does not yet take crossing routes or aircraft
taxiing into opposite directions into account.

17 years agoGive Mark Akermann credits for his new sun coloring calculations.
durk [Sat, 26 Aug 2006 07:17:58 +0000 (07:17 +0000)]
Give Mark Akermann credits for his new sun coloring calculations.

17 years agoBetter encapsulation for personality
fredb [Fri, 25 Aug 2006 22:16:31 +0000 (22:16 +0000)]
Better encapsulation for personality

17 years agoBigger thumbnails.
curt [Thu, 24 Aug 2006 15:12:57 +0000 (15:12 +0000)]
Bigger thumbnails.

17 years agoTested and working under Linux. I have no way to test this under windows.
curt [Tue, 22 Aug 2006 00:58:25 +0000 (00:58 +0000)]
Tested and working under Linux.  I have no way to test this under windows.
If there is a windows problem, look very carefully at the line termination
with a serial port monitor.  It should be \r\n (CR-LF), not \n, not \r\r\n
or any other possible variant.

17 years agoRemove compilation warnings
fredb [Mon, 21 Aug 2006 07:41:23 +0000 (07:41 +0000)]
Remove compilation warnings

17 years agoMake the vertical acceleration rate scale with vertical performance. The
curt [Sun, 20 Aug 2006 23:38:38 +0000 (23:38 +0000)]
Make the vertical acceleration rate scale with vertical performance.  The
default case for tankers should still be right about the same as where it was.

17 years agoAdd an initial implementation of the Garmin 400 series "Aviation In" data
curt [Sun, 20 Aug 2006 23:37:13 +0000 (23:37 +0000)]
Add an initial implementation of the Garmin 400 series "Aviation In" data
format.  I have a Garmin 295 to test with, but so far I haven't been able
to make this work (code should compile cleanly though.)  I don't know if
I've made a mistake in the protocol or if my 295 just doesn't support this.
More work on this to come.

17 years ago- make *all* class members start with underscore (not all but two)
mfranz [Sun, 20 Aug 2006 15:27:26 +0000 (15:27 +0000)]
- make *all* class members start with underscore (not all but two)
- NEVER EVER use leading underscores for auto variables
- don't store values in auto variables for the next function call (not
  even when they start with underscore :-)   This fixed the TACAN
  channel lookup, which was supposed to be done on channel changes only,
  but was always done)
- only do frequency search if frequency has changed (this was apparently
  planned, but not finished; leftover from adf.cxx?)
- don't use double as bool switch
- some minor cleanup

17 years agoas the "Attempting to schedule tiles for bogus lon and lat = (-1000,0)"
mfranz [Sat, 19 Aug 2006 07:30:52 +0000 (07:30 +0000)]
as the "Attempting to schedule tiles for bogus lon and lat  = (-1000,0)"
bug happens now on a regular basis, and just ignoring it doesn't seem to
cause any harm, just return after it, rather than abort.

17 years agoBugfix of problem reported by Mathias Fröhlich: Ground network trace()
durk [Wed, 16 Aug 2006 09:58:26 +0000 (09:58 +0000)]
Bugfix of problem reported by Mathias Fröhlich: Ground network trace()
algorithm caused a program crash. Because there is always one waypoint more
than there are routes, the trace function should only pop_back the final route
entry at search depths of one or higher. I also added a lot of of additional
safeguarding code, due to the fact that the new trace algorithm was
apparently not as stable as I'd hoped it would be. ...

17 years agoGiant helicopter code update from Maik Justus.
andy [Mon, 14 Aug 2006 21:59:44 +0000 (21:59 +0000)]
Giant helicopter code update from Maik Justus.

17 years agoprint the whole autosave.xml path, not just the filename. Unfortunately,
mfranz [Thu, 10 Aug 2006 11:21:15 +0000 (11:21 +0000)]
print the whole autosave.xml path, not just the filename. Unfortunately,
in the case of fg_init.cxx we'll only see that if the log-level is set
in preferences.xml, because command line options weren't even processed
at that time.  :-/

17 years agofix log message
mfranz [Thu, 10 Aug 2006 11:12:39 +0000 (11:12 +0000)]
fix log message

17 years agowarnings--
mfranz [Tue, 8 Aug 2006 18:40:18 +0000 (18:40 +0000)]
warnings--

17 years agoMore warnings, similar issues.
andy [Tue, 8 Aug 2006 18:32:17 +0000 (18:32 +0000)]
More warnings, similar issues.

17 years agoFix a few warnings while I'm in there. Melchior poitned out that my default
andy [Tue, 8 Aug 2006 18:23:20 +0000 (18:23 +0000)]
Fix a few warnings while I'm in there.  Melchior poitned out that my default
configure-generated Makefiles don't include -Wall and a few issues had crept
into the code.

17 years agoAdd a lift/drag vs. AoA graph option to the yasim tool, which
andy [Tue, 8 Aug 2006 18:05:43 +0000 (18:05 +0000)]
Add a lift/drag vs. AoA graph option to the yasim tool, which
generates a data file of aerodynamic lift and drag (and L/D) against
AoA at a specified speed and altitude through a full circle.  Wrote it
to track down the YF-23 superthrust issue, but it wasn't any help.
All the forces look fine.

17 years agoMake better use of SGMath
frohlich [Tue, 8 Aug 2006 17:57:33 +0000 (17:57 +0000)]
Make better use of SGMath

17 years agoMelchior sent me a property dump of the YF-23 in the wacky superthrust
andy [Tue, 8 Aug 2006 14:19:15 +0000 (14:19 +0000)]
Melchior sent me a property dump of the YF-23 in the wacky superthrust
state.  The only really obvious problem was a giant negative engine
RPM, which happened because of a lack of clamping in the engine code
combined with the YF-23's ability to actually reach speeds near the
engines _vMax value.  It's not clear to me that this will fix the
superthrust issue at high AoA's, but it's an obvious bug nonetheless.

17 years agoFixes from Maik Justus:
andy [Mon, 7 Aug 2006 16:49:26 +0000 (16:49 +0000)]
Fixes from Maik Justus:
+ The wing compilation step was accidentally omitting regions that lie
  between the tips and the first/last control object.  That's a real
  problem for wings that contain no controls, and a significant issue
  for those that contain only a few.  I'm stunned that this went
  undetected for so long.
+ The Surface::flapLift() function was oddly returning 1.0 Newtons as
  a minimum, instead of zero.

17 years agoremove experimental and unused code (we read the splash screen style
mfranz [Mon, 7 Aug 2006 15:19:22 +0000 (15:19 +0000)]
remove experimental and unused code (we read the splash screen style
from /sim/gui/style[0] since a while, not from the preferred style.
This allows overriding it from *-set.xml files.)

17 years agocosmetics only:
mfranz [Mon, 7 Aug 2006 15:16:46 +0000 (15:16 +0000)]
cosmetics only:
- unify indentation (throw out 2-space indentation; this file uses 4 spaces)
- fix mixed indentation
- remove trailing spaces
- fix a couple of spelling mistakes

17 years agomove GL_TEXTURE_LOD_BIAS_EXT one section up and document what it does
mfranz [Mon, 7 Aug 2006 15:11:46 +0000 (15:11 +0000)]
move GL_TEXTURE_LOD_BIAS_EXT one section up and document what it does
(this was the reason why the first two text lines on the splash screen
looked more blurry than the others). BTW: I played with other values
than -0.5, but this turned out to be the best already. It makes textures
sharper than 0, but not too sharp (and thus flickering).

17 years agoremove confusing error message that leads first-time users on the wrong
mfranz [Thu, 3 Aug 2006 09:37:31 +0000 (09:37 +0000)]
remove confusing error message that leads first-time users on the wrong
track and is a PITA for support staff. It's this message:

Error reading properties:
Failed to open file
 at /home/newbie/.fgfs/autosave.xml
 (reported by SimGear XML Parser)

17 years agothrow out "zoomed" tapes. These drew 60% of the scale with bullets rather
mfranz [Wed, 2 Aug 2006 15:34:33 +0000 (15:34 +0000)]
throw out "zoomed" tapes. These drew 60% of the scale with bullets rather
than tick marks, and looser (zoomed) than the other 40%. Rationale:

- this was only used in *one* tape of *one* HUD ("custom")
- it's not in the MIL-STD!
- doesn't seem very useful
- relies on integer scale values, while we now have float values in the new HUD

This feature would have had to be rewritten anyway. If someone needs it and
can come forward with a (MIL-)STD description, then it can be added to the
existing tape generator again (using a value->screen-position mapper function).
Otherwise it's simply declared dead.

(Yay, one TODO and a few FIXMEs less.  ;-)

17 years ago- "almost zero" is zero
mfranz [Tue, 1 Aug 2006 21:43:13 +0000 (21:43 +0000)]
- "almost zero" is zero
- improve/add <format> warning

17 years agoAvoid redefinition in the same prototype
fredb [Tue, 1 Aug 2006 21:16:56 +0000 (21:16 +0000)]
Avoid redefinition in the same prototype

17 years agoadd optional <format> property for <tape>s
mfranz [Tue, 1 Aug 2006 21:11:38 +0000 (21:11 +0000)]
add optional <format> property for <tape>s

17 years agoOlaf Flebbe : MSVC 2005 fix because time_t is defined as __int64 and there is no...
fredb [Tue, 1 Aug 2006 21:09:26 +0000 (21:09 +0000)]
Olaf Flebbe : MSVC 2005 fix because time_t is defined as __int64 and there is no abs for this datatype

17 years agocosmetics
mfranz [Tue, 1 Aug 2006 18:46:59 +0000 (18:46 +0000)]
cosmetics

17 years agofix no-hole ladder (not that I think this mode will enjoy a long life)
mfranz [Tue, 1 Aug 2006 18:07:26 +0000 (18:07 +0000)]
fix no-hole ladder  (not that I think this mode will enjoy a long life)

17 years agofix vertical tape gap
mfranz [Tue, 1 Aug 2006 17:25:51 +0000 (17:25 +0000)]
fix vertical tape gap

17 years agouse assignment operators (to my defense: the *x/*y were different on both
mfranz [Tue, 1 Aug 2006 15:49:29 +0000 (15:49 +0000)]
use assignment operators  (to my defense: the *x/*y were different on both
sides of the equal sign at some time ... :-)

17 years ago- make the alignment function a static HUD member (for namespace
mfranz [Tue, 1 Aug 2006 15:31:15 +0000 (15:31 +0000)]
- make the alignment function a static HUD member (for namespace
  encapsulation, but a real namespace would probably be better)
- extend alignment to optionally adjust x/y, and to return absolute
  l/r/b/t coordinates (as opposed to plib's relative ones!)
- implement tape gaps as per Curt's order  :-)
- shuffling stuff around for fun

17 years agoUse bool where the source and destination variable is bool.
frohlich [Tue, 1 Aug 2006 05:56:49 +0000 (05:56 +0000)]
Use bool where the source and destination variable is bool.