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

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

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

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

17 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

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

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

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

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

17 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

17 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

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

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

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

17 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

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

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

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

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

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

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

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

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

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

17 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

17 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

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

17 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

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

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

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

17 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

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

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

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

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

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

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

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

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

17 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>

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

17 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

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

17 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

17 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

17 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

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

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

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

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

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

17 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!

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

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

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

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

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

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

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

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

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

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

17 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

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

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

17 years ago- complain about attempts to attach a listener to a tied node
mfranz [Sun, 16 Jul 2006 11:30:33 +0000 (11:30 +0000)]
- complain about attempts to attach a listener to a tied node
- do *not* complain about a listener writing to its own node, but don't
  enter recursion either

17 years agowhoops ... don't let the new HUD turn off 3D mode in the old one :-)
mfranz [Sat, 15 Jul 2006 18:15:00 +0000 (18:15 +0000)]
whoops ... don't let the new HUD turn off 3D mode in the old one  :-)

17 years agobracesless blocks are peanuts! It's forgotten "else" that do real harm. :-)
mfranz [Wed, 12 Jul 2006 20:54:27 +0000 (20:54 +0000)]
bracesless blocks are peanuts! It's forgotten "else" that do real harm. :-)

17 years agoAdd a "ufo" performance entry for the AI Aircraft. This gives very agressive
curt [Wed, 12 Jul 2006 19:10:35 +0000 (19:10 +0000)]
Add a "ufo" performance entry for the AI Aircraft.  This gives very agressive
accel/decel and climb/decend performance which is useful for some scripting
scenarios.

17 years agoFix a small typo.
curt [Wed, 12 Jul 2006 15:11:47 +0000 (15:11 +0000)]
Fix a small typo.

17 years ago- read new HUD from /sim/hud/path[1] (was: /hud)
mfranz [Tue, 11 Jul 2006 16:09:35 +0000 (16:09 +0000)]
- read new HUD from /sim/hud/path[1]  (was: /hud)
- cosmetics

17 years agodon't let invisible objects prevent dragging (for example: currently
mfranz [Mon, 10 Jul 2006 14:56:07 +0000 (14:56 +0000)]
don't let invisible objects prevent dragging (for example: currently
not shown combobox menus)

17 years ago- unify coding style (though not to the last detail)
mfranz [Mon, 10 Jul 2006 11:36:38 +0000 (11:36 +0000)]
- unify coding style (though not to the last detail)
- remove trailing spaces
- fix mixed indentation (tabs -> 8 spaces)
- throw out braindead FSF coding style that has somehow sneaked in

17 years ago- untangle classes (methods of two classes were interwoven)
mfranz [Mon, 10 Jul 2006 07:59:20 +0000 (07:59 +0000)]
- untangle classes (methods of two classes were interwoven)
- fix mixed indentation (tabs converted to 8 spaces)
- remove trailing spaces

17 years agoTime initialization fixes. 1) Offset types "system-offset", "gmt-offset",
durk [Sun, 9 Jul 2006 08:02:47 +0000 (08:02 +0000)]
Time initialization fixes. 1) Offset types "system-offset", "gmt-offset",
and "latitude-offset" should not use a precalculated value of warp.
2) Since the values of cur_time and crrGMT are identical in the current
version of the SGTime class, the calculations of the "system", "gmt", and
"latitude" are re-evaluated and updated where necessary.

18 years ago- more <tape> fixes
mfranz [Thu, 6 Jul 2006 21:46:50 +0000 (21:46 +0000)]
- more <tape> fixes
- make ladder numbers symmetrical (hackish)
- fix font BBox/str_width calculation

18 years agofix <modulo> feature (required for the compass tape)
mfranz [Thu, 6 Jul 2006 16:46:25 +0000 (16:46 +0000)]
fix <modulo> feature (required for the compass tape)

18 years agowarning-- (not that it matters -- this code has yet to be converted)
mfranz [Thu, 6 Jul 2006 14:43:41 +0000 (14:43 +0000)]
warning--  (not that it matters -- this code has yet to be converted)