]> git.mxchange.org Git - flightgear.git/log
flightgear.git
18 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.

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

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

18 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.

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

18 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.

18 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.

18 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

18 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.

18 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. ...

18 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.

18 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.  :-/

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

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

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

18 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.

18 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.

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

18 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.

18 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.

18 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.)

18 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

18 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).

18 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)

18 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.  ;-)

18 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

18 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

18 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

18 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

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

18 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)

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

18 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 ... :-)

18 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

18 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.

18 years agoUpdate VC8 project files (Olaf Flebbe)
frohlich [Tue, 1 Aug 2006 05:55:50 +0000 (05:55 +0000)]
Update VC8 project files (Olaf Flebbe)

18 years agowhoops
mfranz [Mon, 31 Jul 2006 19:32:02 +0000 (19:32 +0000)]
whoops

18 years agocleanup
mfranz [Mon, 31 Jul 2006 19:25:41 +0000 (19:25 +0000)]
cleanup

18 years agodraw dive lines always from the center, so that the stipple pattern is
mfranz [Mon, 31 Jul 2006 18:09:13 +0000 (18:09 +0000)]
draw dive lines always from the center, so that the stipple pattern is
symmetrical

18 years agocosmetics & cleanup
mfranz [Mon, 31 Jul 2006 17:36:27 +0000 (17:36 +0000)]
cosmetics & cleanup

18 years agoremove obsolete text_width() function (a similiar function will be made
mfranz [Mon, 31 Jul 2006 16:56:15 +0000 (16:56 +0000)]
remove obsolete text_width() function  (a similiar function will be made
a method of TextList)

18 years agouse HUDText adjustment (gauges with text aren't used anywhere, and this
mfranz [Mon, 31 Jul 2006 15:57:39 +0000 (15:57 +0000)]
use HUDText adjustment (gauges with text aren't used anywhere, and this
change is untested for now)

18 years agouse HUDText adjustment
mfranz [Mon, 31 Jul 2006 15:36:48 +0000 (15:36 +0000)]
use HUDText adjustment

18 years ago- use correct ladder bar angle
mfranz [Mon, 31 Jul 2006 14:25:09 +0000 (14:25 +0000)]
- use correct ladder bar angle
- minor dive angle number adjustment

18 years ago- move HUDText constructor/methods to HUD.cxx
mfranz [Mon, 31 Jul 2006 13:10:26 +0000 (13:10 +0000)]
- move HUDText constructor/methods to HUD.cxx
- add generic text adjustment and
- use it in the ladder: climb -> vert bar on the outside, numbers below line
                        dive  -> vert bar on the inside, numbers above line

18 years agoSuppress warnings : remove unused local variables. Use correct, initialized, variables.
fredb [Sun, 30 Jul 2006 21:04:29 +0000 (21:04 +0000)]
Suppress warnings : remove unused local variables. Use correct, initialized, variables.

18 years agoremove temporary fix
mfranz [Sun, 30 Jul 2006 08:08:51 +0000 (08:08 +0000)]
remove temporary fix

18 years agoOlaf Flebbe: Add the new HUD files to the VC8 build.
frohlich [Sun, 30 Jul 2006 06:42:05 +0000 (06:42 +0000)]
Olaf Flebbe: Add the new HUD files to the VC8 build.

18 years agoremove unused options & add two new ones
mfranz [Sat, 29 Jul 2006 19:45:17 +0000 (19:45 +0000)]
remove unused options & add two new ones

18 years agoSpectacular improvement in traffic manager initialization and preparatory
durk [Sat, 29 Jul 2006 18:17:19 +0000 (18:17 +0000)]
Spectacular improvement in traffic manager initialization and preparatory
work for ground based distance separation of AIAircraft.

Traffic manager initialization related changes:
- Schedules initialize "on the fly", instead of during initialization
- Invalid routes are no longer deleted, but marked as BOGUS and ignored
- Changed loading order from a distance based prioritization to a point-
  score based prioritization, resulting in a much faster establisment of
  AIAircraft near the user's plane.

Preparatory work for ground-based separation of Aircraft.
- The groundnetwork findShrortestRoute function not only returns a list
  of waypoints, but also a list of taxi "segments" (a.k.a. taxiways).
- The taxiway list is stored in the Flightplan, and updated everytime
  a new taxi leg is created.

18 years agoWin32 fix
fredb [Sat, 29 Jul 2006 09:27:50 +0000 (09:27 +0000)]
Win32 fix

18 years agoRemove ambiguities
fredb [Sat, 29 Jul 2006 09:22:24 +0000 (09:22 +0000)]
Remove ambiguities

18 years agoSpecify "clip planes" as a separate independent option (not implied from
curt [Fri, 28 Jul 2006 20:17:58 +0000 (20:17 +0000)]
Specify "clip planes" as a separate independent option (not implied from
the type option.)  The clip area is and has always been hard coded, but at
some point we should make it configurable.

18 years agoreduce marker gap
mfranz [Fri, 28 Jul 2006 18:41:12 +0000 (18:41 +0000)]
reduce marker gap

18 years agoSimplify dynamic ladder motion option.
curt [Fri, 28 Jul 2006 18:37:33 +0000 (18:37 +0000)]
Simplify dynamic ladder motion option.

18 years agoRemove some junk.
curt [Fri, 28 Jul 2006 14:32:40 +0000 (14:32 +0000)]
Remove some junk.

Note: the previous commit angles the negative ladder marks progressively more
steeply as per MIL-STD.

18 years agoAdd an option to get a realistic climb dive ladder without all the other
curt [Fri, 28 Jul 2006 14:22:08 +0000 (14:22 +0000)]
Add an option to get a realistic climb dive ladder without all the other
implications.

Fix the ladder so it "moves" around in the hud correctly based on alpha/beta
offset projected onto the horizon line so the horizon is always the horizon.

18 years ago<option>top</option> draws tbi on top (vertically mirrored)
mfranz [Fri, 28 Jul 2006 10:11:34 +0000 (10:11 +0000)]
<option>top</option> draws tbi on top (vertically mirrored)

18 years ago- fix turn bank indicator (bank scale type)
mfranz [Thu, 27 Jul 2006 23:34:11 +0000 (23:34 +0000)]
- fix turn bank indicator (bank scale type)
- cleanup

18 years agoSGMiscf isn't known yet: add workaround
mfranz [Thu, 27 Jul 2006 17:12:37 +0000 (17:12 +0000)]
SGMiscf isn't known yet: add workaround

18 years agoClean up scenery center handling. It is set now less often.
frohlich [Thu, 27 Jul 2006 16:36:22 +0000 (16:36 +0000)]
Clean up scenery center handling. It is set now less often.

18 years agoAdd missing includes required to compile
frohlich [Thu, 27 Jul 2006 16:13:37 +0000 (16:13 +0000)]
Add missing includes required to compile

18 years agoEnable the airway database parsing.
durk [Thu, 27 Jul 2006 14:49:41 +0000 (14:49 +0000)]
Enable the airway database parsing.

18 years agoInitial commit of code that reads and parses Robin Peel's awy.dat airway
durk [Thu, 27 Jul 2006 14:44:09 +0000 (14:44 +0000)]
Initial commit of code that reads and parses Robin Peel's awy.dat airway
files.

18 years agoAI Modifications: 1) Added a patch that takes ground speed into consideration
durk [Thu, 27 Jul 2006 14:42:15 +0000 (14:42 +0000)]
AI Modifications: 1) Added a patch that takes ground speed into consideration
using Curt's new speed adjustment code. 2) Separated the function
FlightPlanCreateCruise() into a new source file in preparation of a more
elaborate airway following scheme.

18 years ago- we could use the same property path names in fgUntie that we used int fgTie
mfranz [Thu, 27 Jul 2006 14:28:51 +0000 (14:28 +0000)]
- we could use the same property path names in fgUntie that we used int fgTie
- cleanup

18 years agoMark's dynamic sun color changes.
durk [Thu, 27 Jul 2006 05:16:06 +0000 (05:16 +0000)]
Mark's dynamic sun color changes.

18 years agoAdd support for drawing target markers (circles on top of any AI/MP aircraft)
curt [Thu, 27 Jul 2006 02:46:14 +0000 (02:46 +0000)]
Add support for drawing target markers (circles on top of any AI/MP aircraft)
as part of the conformal HUD ladder.

18 years agoAttempt to shore up the numerical stability of the AI aircraft movement
curt [Thu, 27 Jul 2006 02:27:43 +0000 (02:27 +0000)]
Attempt to shore up the numerical stability of the AI aircraft movement
computations.  This is probably not needed, but use double's consistently.

18 years agoWhite space ...
curt [Thu, 27 Jul 2006 02:26:30 +0000 (02:26 +0000)]
White space ...

18 years agoRemove side-slip (aka beta) from the heading offset of the target aircraft.
curt [Thu, 27 Jul 2006 02:25:58 +0000 (02:25 +0000)]
Remove side-slip (aka beta) from the heading offset of the target aircraft.
This is already accounted for in the true heading of the aircraft.

18 years agoFix a class of problem that could lead to needless extra time "jitter" in the flight...
curt [Wed, 26 Jul 2006 14:18:06 +0000 (14:18 +0000)]
Fix a class of problem that could lead to needless extra time "jitter" in the flight dynamics
calculations.  We run the FDM at 120hz and compute how many loops can fit into each FG loop.
Floating point rounding could lead to a situation where we could end up running
1, 3, 1, 3, 1, 3... loops of the FDM when in fact we want to run 2, 2, 2, 2, 2...

If we artificially inflate ml above by a tiny amount to get the
closest integer, then subtract the integer from the original
slightly smaller value, we can get a negative remainder.
Logically this should never happen, and we definitely don't want
to carry a negative remainder over to the next iteration, so
never let the remainder go below zero.

18 years agono more FONT_(LARGE|SMALL) (didn't work, anyway, and isn't needed)
mfranz [Tue, 25 Jul 2006 22:21:56 +0000 (22:21 +0000)]
no more FONT_(LARGE|SMALL)  (didn't work, anyway, and isn't needed)

18 years agofinally fix the text-in-box alignment (= Rocket Science[TM]!)
mfranz [Tue, 25 Jul 2006 20:05:52 +0000 (20:05 +0000)]
finally fix the text-in-box alignment (= Rocket Science[TM]!)
(This will be moved to HUD_instrument.cxx, where it will be available to
all draw_text() users.)

18 years agodefine label box pointer via <pointer-width> (width of base) and
mfranz [Tue, 25 Jul 2006 07:07:34 +0000 (07:07 +0000)]
define label box pointer via <pointer-width> (width of base) and
<pointer-length>

18 years agoI've heard that endless loops aren't overly popular.
mfranz [Mon, 24 Jul 2006 17:52:20 +0000 (17:52 +0000)]
I've heard that endless loops aren't overly popular.

18 years ago8 is a bit too much for <marker-offset> default; use 5
mfranz [Mon, 24 Jul 2006 17:46:08 +0000 (17:46 +0000)]
8 is a bit too much for <marker-offset> default; use 5

18 years agono longer let top==left and bottom==right. This is necessary for label-box
mfranz [Mon, 24 Jul 2006 17:35:34 +0000 (17:35 +0000)]
no longer let top==left and bottom==right. This is necessary for label-box
pointers, and may introduce bugs elsewhere. Not that I've notice any yet.

18 years agofirst stab at label box pointers. <option>top</option> on a <label> makes
mfranz [Mon, 24 Jul 2006 17:09:03 +0000 (17:09 +0000)]
first stab at label box pointers. <option>top</option> on a <label> makes
such a box:

    _____/\_____
    |   Booo   |
    |__________|

likewise with options bottom, left, right. The size can be set via option
<marker-offset> (analogous to <tape> offsets), which describes the distance
from the base to the peak. Default: 8 px

18 years agomake old HUD code work with 8 px font size
mfranz [Mon, 24 Jul 2006 16:02:56 +0000 (16:02 +0000)]
make old HUD code work with 8 px font size

18 years ago- don't use 10 pt font size for width calculations, when in fact we use
mfranz [Mon, 24 Jul 2006 16:00:18 +0000 (16:00 +0000)]
- don't use 10 pt font size for width calculations, when in fact we use
  a 8 pt font (set 8 pt in preferences.xml, too)
- fix vertical alignment of digits in label and ladder (temporary
  solution -- the whole font handling needs to be reviewd and fixed)
- simplify nadir and zenith (they always want to be horizontally centered
  on the ladder lines, no?)
- simplify and abstract label box drawing (no need for stippled side lines)
- align text (more) correctly in label boxes

18 years agoSwitch sign of beta/drift.
curt [Sun, 23 Jul 2006 17:47:23 +0000 (17:47 +0000)]
Switch sign of beta/drift.

18 years agocleanup (getBoolValue() returns false by default)
mfranz [Sun, 23 Jul 2006 16:57:13 +0000 (16:57 +0000)]
cleanup  (getBoolValue() returns false by default)

18 years agoRe-implement the flight path marker (aka "velocity vector") so it's position
curt [Sun, 23 Jul 2006 16:41:18 +0000 (16:41 +0000)]
Re-implement the flight path marker (aka "velocity vector") so it's position
is computed from alpha and beta.  Before the code U, V, & W body velocities
to compute alpha/beta.  Why not just use the values directly.

18 years ago- use Item::draw_circle() to draw circles (waypoint marker still to be done)
mfranz [Sun, 23 Jul 2006 08:14:03 +0000 (08:14 +0000)]
- use Item::draw_circle() to draw circles (waypoint marker still to be done)
- move variable declaration near their first use (c++ style rather than c)
- rename (zenith|nadir|hat) to enable-(zenith|nadir|hat) and make them bool
  (for consistency reasons)

18 years agoreticle should fit into bounding box (don't take diameter as radius)
mfranz [Sat, 22 Jul 2006 17:27:43 +0000 (17:27 +0000)]
reticle should fit into bounding box (don't take diameter as radius)

18 years agodon't be afraid of the comma operator!
mfranz [Sat, 22 Jul 2006 11:48:22 +0000 (11:48 +0000)]
don't be afraid of the comma operator!

18 years agoget rid of struct Point and get_centroid(). Instruments may access *their*
mfranz [Sat, 22 Jul 2006 10:09:36 +0000 (10:09 +0000)]
get rid of struct Point and get_centroid(). Instruments may access *their*
properties directly. This is properly encapsulated already.

18 years agoWin32 fix
fredb [Sat, 22 Jul 2006 08:49:47 +0000 (08:49 +0000)]
Win32 fix

18 years agoadd MIL-STD-1787B Aiming Reticle (stadiametric; TODO: standby)
mfranz [Sat, 22 Jul 2006 08:00:56 +0000 (08:00 +0000)]
add MIL-STD-1787B Aiming Reticle (stadiametric; TODO: standby)

18 years agoAdd support for a back-course mode. Nothing changes visualy, but this
curt [Fri, 21 Jul 2006 19:37:04 +0000 (19:37 +0000)]
Add support for a back-course mode.  Nothing changes visualy, but this
reverses the autopilot helpers so that the FD/AP can properly fly a BC appr.

18 years agoSmall tweaks to point lighting configuration to better control the appearance
curt [Fri, 21 Jul 2006 15:48:57 +0000 (15:48 +0000)]
Small tweaks to point lighting configuration to better control the appearance
of approach rabbits.

18 years agoAdd a configuration property to turn on/off the use of point sprites.
curt [Thu, 20 Jul 2006 03:47:39 +0000 (03:47 +0000)]
Add a configuration property to turn on/off the use of point sprites.

Generally you want point sprites for performance reasons when enhanced runway
lighting (and smooth points) are activated.  Most hardware doesn't
accelerate the rendering of standard smooth points, so without point sprites
you will kill your night time performance if you turn on enhanced runway
lighting.

Note that enhanced runway lighting "breaks" our clever scheme to make the
runway lighting brightness vary with the relative view angle.  This means
with enhanced lighting on, all lights are equally bright no matter what
direction you view them from.  So perpendicular runways are just as bright
as runways you are directly lined up with (when enhanced runway lighthing
is activated.)

You can revert to the original lighting scheme by turning off enhance runway
lights, turning off distance-attenuation, and turning off point-sprites in
the rendering options menu.

18 years agoAlways check for if glPointParameterIsSupported, even if we haven't asked
curt [Thu, 20 Jul 2006 03:43:07 +0000 (03:43 +0000)]
Always check for if glPointParameterIsSupported, even if we haven't asked
for point light distance attenuation, because we may want to toggle this
on via the rendering options gui.

18 years agoRework the naModLock()/naModUnlock() semantics to be more
andy [Wed, 19 Jul 2006 19:46:53 +0000 (19:46 +0000)]
Rework the naModLock()/naModUnlock() semantics to be more
maintainable.  The rules are simple (extension functions are called
*with* the lock, which must be dropped before calling naCall(), which
grabs it) but the tracking of when the lock was held was getting a
little confused.  Keep a "nasal call depth" count in the subsystem to
figure out whether we are making a sub-call and thus hold the lock.

18 years ago- Code cleanups.
curt [Tue, 18 Jul 2006 21:35:11 +0000 (21:35 +0000)]
- Code cleanups.
- Fix a warning about class member initialization order.
- Clear up a problem with the default autopilot behavior on the back side
  of an ILS in preparation for adding a real "back course" approach mode.

18 years agoSomehow this test stopped working on my PC. At least the new solution should work...
ehofman [Mon, 17 Jul 2006 20:22:45 +0000 (20:22 +0000)]
Somehow this test stopped working on my PC. At least the new solution should work for ages.

18 years agoonly consider positive airspeed in longitudinal axis
mfranz [Mon, 17 Jul 2006 18:14:31 +0000 (18:14 +0000)]
only consider positive airspeed in longitudinal axis

18 years agoUse one standard define for enableing of the Special Purpose FDM code.
ehofman [Mon, 17 Jul 2006 17:58:53 +0000 (17:58 +0000)]
Use one standard define for enableing of the Special Purpose FDM code.

18 years ago... but then again: it's only a rumor that listeners on tied properties
mfranz [Sun, 16 Jul 2006 11:48:22 +0000 (11:48 +0000)]
... but then again: it's only a rumor that listeners on tied properties
don't work. And like most rumors, it's untrue. So just output a debug
message.