For test results, bug reports, announcements of new builds etc.
Moderators: winston, another_commander, Getafix
-
Getafix
- Quite Grand Sub-Admiral
- Posts: 979
- Joined: Tue Apr 01, 2008 12:55 pm
- Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
-
Contact:
Post
by Getafix »
When the altitude bar goes under 75%, it turns yellow and stays yellow till crash. My source code is v1.71 (built 1537).
To fix this alter the
drawAltitudeBar method in
HeadUpDisplay.m file
from
Code: Select all
// draw altitude bar
if (alt < .75) GLColorWithOverallAlpha(yellow_color, overallAlpha);
else if (alt < .25) GLColorWithOverallAlpha(red_color, overallAlpha);
else if ((flash)&&(alt < .10)) GLColorWithOverallAlpha(redplus_color, overallAlpha);
else GLColorWithOverallAlpha(green_color, overallAlpha);
to
Code: Select all
// draw altitude bar
if ((flash)&&(alt < .10)) GLColorWithOverallAlpha(redplus_color, overallAlpha);
else if (alt < .25) GLColorWithOverallAlpha(red_color, overallAlpha);
else if (alt < .75) GLColorWithOverallAlpha(yellow_color, overallAlpha);
else GLColorWithOverallAlpha(green_color, overallAlpha);
Many thanks to
another_commander who has observed it.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
-
another_commander
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Post
by another_commander »
Fix has hit trunk. That's the bug report style I like. Less work for us
-
Ark
- ---- E L I T E ----
- Posts: 664
- Joined: Sun Dec 09, 2007 8:22 am
- Location: Athens Greece
Post
by Ark »
-
TGHC
- ---- E L I T E ----
- Posts: 2157
- Joined: Mon Jan 31, 2005 4:16 pm
- Location: Berkshire, UK
Post
by TGHC »
WD Getafix
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"