fg:hoorays-flightgear.git
16 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.

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

16 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

16 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  :-)

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

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

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

16 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

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

16 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

16 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

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

16 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

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

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

16 years ago- fix unzoomed tapes (TODO: restore tick length)
mfranz [Thu, 6 Jul 2006 14:30:18 +0000 (14:30 +0000)]
- fix unzoomed tapes (TODO: restore tick length)
- get rid of braindead "struct Rect", where top meant y, and bottom meant height
- cleanup^3

16 years agoset altitude AGL
mfranz [Thu, 6 Jul 2006 14:24:14 +0000 (14:24 +0000)]
set altitude AGL

16 years ago- cleanup of the day (more finegrained change history in my local cvs)
mfranz [Wed, 5 Jul 2006 22:55:33 +0000 (22:55 +0000)]
- cleanup of the day (more finegrained change history in my local cvs)
- <damp>ing coefficient is now 1.0 - 1.0 / pow(10, damp)

16 years agoremove redundant vector::clear(). A just created vector *is* clear.
mfranz [Wed, 5 Jul 2006 09:39:46 +0000 (09:39 +0000)]
remove redundant vector::clear(). A just created vector *is* clear.

16 years agoRemove MSVC warnings
fredb [Wed, 5 Jul 2006 06:28:37 +0000 (06:28 +0000)]
Remove MSVC warnings

16 years agoWin32 fixes
fredb [Wed, 5 Jul 2006 06:22:05 +0000 (06:22 +0000)]
Win32 fixes

16 years agoStefan Seifert:
mfranz [Tue, 4 Jul 2006 23:29:05 +0000 (23:29 +0000)]
Stefan Seifert:
- read bindings from template
- automatic deadband detection

mf:
- write js name into output file
- poor man's progress bar during deadband detection
- fix header inclusion, fix mixed indentation

16 years ago- collect drawing primitives in the Item base class
mfranz [Tue, 4 Jul 2006 21:04:22 +0000 (21:04 +0000)]
- collect drawing primitives in the Item base class
- rename circle to draw_bullet, which is more correct

16 years ago- don't store immutable states as strings (sigh!)
mfranz [Tue, 4 Jul 2006 17:25:14 +0000 (17:25 +0000)]
- don't store immutable states as strings (sigh!)
- class members start with underscore

16 years agoinitialize HUD class and call its drawing routine from renderer
mfranz [Tue, 4 Jul 2006 15:54:41 +0000 (15:54 +0000)]
initialize HUD class and call its drawing routine from renderer
(basically a NOOP if /sim/hud/visibility[1] is false)

16 years agoadd new HUD to build system
mfranz [Tue, 4 Jul 2006 15:52:09 +0000 (15:52 +0000)]
add new HUD to build system

16 years agonew HUD (work in progress)
mfranz [Tue, 4 Jul 2006 15:32:55 +0000 (15:32 +0000)]
new HUD (work in progress)

16 years agomake clear that "Failed to find runway ..." doesn't have fatal consequences
mfranz [Sat, 1 Jul 2006 16:00:27 +0000 (16:00 +0000)]
make clear that "Failed to find runway ..." doesn't have fatal consequences

16 years agoPatch from Mathias: unify the AGL altitude with the other FDMs, but preserve the...
andy [Mon, 26 Jun 2006 17:59:58 +0000 (17:59 +0000)]
Patch from Mathias: unify the AGL altitude with the other FDMs, but preserve the distance-to-touchdown metric in the gear-agl properties.

16 years agoadd GSDI (Ground Speed Drift Angle Indicator) instrument for helicopters
mfranz [Sun, 25 Jun 2006 12:36:19 +0000 (12:36 +0000)]
add GSDI (Ground Speed Drift Angle Indicator) instrument for helicopters

16 years agocosmetics:
mfranz [Sat, 24 Jun 2006 07:48:05 +0000 (07:48 +0000)]
cosmetics:
- fix indentation
- remove trailing spaces

16 years agoJosh BABCOCK:
mfranz [Sat, 24 Jun 2006 07:43:09 +0000 (07:43 +0000)]
Josh BABCOCK:

"Here is a patch that allows marker beacon volume to be set via
/instrumentation/marker-beacon/volume."

16 years agoVivian Meazza:
curt [Sat, 24 Jun 2006 03:42:30 +0000 (03:42 +0000)]
Vivian Meazza:

I attach 2 new files and a diff file for the associated changes to add a
“fluxgate compass” to the instrument inventory. Whist this outputs
essentially the same data as /orientation/heading-magnetic-deg, it has to
be powered, and can be made to fail. I also followed Roy’s suggestion to
generate the error properties for this instrument here rather than in
xmlauto.xml.

When this instrument is included in cvs, I intend to use it in the Hunter,
A4F Seahawk and KC135. After a bit more research, it might be appropriate
for the Spitfire and Hurricane as well. AJ would also like to use it for his
Lightning model.

16 years agoCreate a "passive" mode for the autopilot. This is analogous to running the
curt [Sat, 24 Jun 2006 00:52:20 +0000 (00:52 +0000)]
Create a "passive" mode for the autopilot.  This is analogous to running the
autopilot with the servos off.  In otherwords, the computer goes through the
motions of computing the desired behavior (pitch or roll) but doesn't actually
drive the outputs.  This is potentially useful when implimenting a flight
director.

16 years ago- Make two variable name modification to clarify units: altitude -> altitude_ft
curt [Sat, 24 Jun 2006 00:00:27 +0000 (00:00 +0000)]
- Make two variable name modification to clarify units: altitude -> altitude_ft
  and tgt_altitude -> tgt_altitude_ft.  Also fix a comment in AIBase.hxx
  indicating that the altitude is in meters, even though the usage throughout the
  code was most definitely feet.

- In AIMultiplayer.cxx, update the altitude_ft variable so that the altitude
  is reported correctly in the entity's property subtree.

- In AIMultiplayer.cxx, compute a velocity value in kts to fill in the speed
  entry in the entity's property subtree.  Note, this is not an earth centered
  reference speed, not an indicated speed and not a speed relative to the local
  airmass (that would be much harder to do.)

16 years agook, so the old ~FGFontCache() was useless. But at least it didn't call
mfranz [Thu, 22 Jun 2006 08:35:50 +0000 (08:35 +0000)]
ok, so the old ~FGFontCache() was useless. But at least it didn't call
the buggy ~fnt(), causing an abort() ...   ;-)

(Only loaded texture fonts (*.txf) have a new'ed puFont. The built-in
pixmap fonts don't, and may, thus, not be deleted.)

16 years agoExisting ground track estimation code depended on current_value - last_value
curt [Wed, 21 Jun 2006 21:23:20 +0000 (21:23 +0000)]
Existing ground track estimation code depended on current_value - last_value
each frame.  However, often these values didn't change leading to bogus data
getting introduced into the computational pipeline.

This patch switches to a much more sane method for ground track computation.

16 years agooh, and by the way: this destructor didn't do anything useful :-)
mfranz [Wed, 21 Jun 2006 21:17:21 +0000 (21:17 +0000)]
oh, and by the way: this destructor didn't do anything useful  :-)

16 years agoumm ... fix a tiny leak :-)
mfranz [Wed, 21 Jun 2006 19:53:47 +0000 (19:53 +0000)]
umm ... fix a tiny leak  :-)

16 years ago- auto_ptr.hxx: not used anywhere; functionally replaced by
mfranz [Wed, 21 Jun 2006 09:36:15 +0000 (09:36 +0000)]
- auto_ptr.hxx:    not used anywhere; functionally replaced by
                   simgear/structure/SGSharedPtr.hxx
- fg_stl_config.h: only used by obsolete auto_ptr.hxx

16 years agoVivian MEAZZA:
mfranz [Mon, 19 Jun 2006 10:00:25 +0000 (10:00 +0000)]
Vivian MEAZZA:

"Bugfix - a fix to fix the hack which hacked the TACAN Channel/freq
pairing."

16 years agoset blend mode back to make 2D panels opaque when used with transparent HUDs
mfranz [Sat, 17 Jun 2006 19:09:38 +0000 (19:09 +0000)]
set blend mode back to make 2D panels opaque when used with transparent HUDs

16 years agogetGMTstring: remove leading space, cleanup
mfranz [Sat, 17 Jun 2006 18:25:12 +0000 (18:25 +0000)]
getGMTstring: remove leading space, cleanup

16 years ago- add direction letter to numeric mode, too
mfranz [Sat, 17 Jun 2006 18:08:53 +0000 (18:08 +0000)]
- add direction letter to numeric mode, too
- avoid negative sign on 0.00

16 years agoremove lon/lat string representation generating functions; this is now
mfranz [Sat, 17 Jun 2006 16:40:51 +0000 (16:40 +0000)]
remove lon/lat string representation generating functions; this is now
done in Main/fg_props.cxx and available via /position/{long,lat}itude-string

16 years agoremove obsolete "lon/lat format" commands that have been labeled "deprecated"
mfranz [Sat, 17 Jun 2006 16:37:33 +0000 (16:37 +0000)]
remove obsolete "lon/lat format" commands that have been labeled "deprecated"
and "will very soon be removed" since years

16 years agomove generation of lon/lat string representations here from cockpit.cxx.
mfranz [Sat, 17 Jun 2006 16:33:00 +0000 (16:33 +0000)]
move generation of lon/lat string representations here from cockpit.cxx.
Thanks to tied functions, this is only executed when the node is read. This
will be done by the old & new HUD code, the latter of which won't have a
special lon/lat mode at all. Instead it will be regular labels that point
to these properties for displaying lon/lat.
   I would have liked to avoid the duplication of code (lon and lat being
basically the same thing), and to avoid using static buffers and all, but
... if anyone wants to make it prettier, go ahead.
   The format is controlled by /sim/lon-lat-format (will be changed if I
find a better place).

16 years ago- remove unused classes lat_label and lon_label (it's the instr_label
mfranz [Fri, 16 Jun 2006 19:29:34 +0000 (19:29 +0000)]
- remove unused classes lat_label and lon_label (it's the instr_label
  that makes the lon/lat labels)

16 years agoAdd a flag that allows the simulator to force "radar" computations even if
curt [Fri, 16 Jun 2006 19:10:20 +0000 (19:10 +0000)]
Add a flag that allows the simulator to force "radar" computations even if
AI aircraft are out of range or the piloted aircraft has no radar system.

These computation include range, bearing, and angular offset relative to the
piloted aircraft.  This gives some external script the control the behavior
of the AI aircraft relative to the piloted aircraft without requiring a radar
system, and without requiring the AI aircraft to be within radar range.

16 years agoThis patch only affects aircraft (AI Models) that have no predefined
curt [Fri, 16 Jun 2006 14:22:21 +0000 (14:22 +0000)]
This patch only affects aircraft (AI Models) that have no predefined
flightplan.  Such aircraft are given some initial conditions that they
fly with.  They proceed on in "freeflight" mode indefinitely.  For example,
there is a refueling demo where the tanker starts at 3000', 280 kts, and
in a 15 degree bank, and then continues to orbit indefinitely.

For these aircraft with no flightplan, I have added several control nodes in
controls/flight that allow a script or menu or external application to set
heading, altitude, bank angle, and speed.  This permits some level of interactive
or scripted control over AI aircraft.

16 years agoCompile again on Win32 platforms
fredb [Fri, 16 Jun 2006 10:17:06 +0000 (10:17 +0000)]
Compile again on Win32 platforms

16 years ago- move FloatToInt() function to simgear/math/fastmath.hxx, renamed to
mfranz [Fri, 16 Jun 2006 09:31:34 +0000 (09:31 +0000)]
- move FloatToInt() function to simgear/math/fastmath.hxx, renamed to
  float_to_int() for consistency reasons
- remove hud_opts.hxx

16 years agoMake more use of SGGeod
frohlich [Thu, 15 Jun 2006 19:16:21 +0000 (19:16 +0000)]
Make more use of SGGeod

16 years ago- make function table and lookup function
mfranz [Thu, 15 Jun 2006 18:09:15 +0000 (18:09 +0000)]
- make function table and lookup function
- make unnamed elements explicitly "[unnamed]"

16 years ago- fix two bugs
mfranz [Thu, 15 Jun 2006 16:03:27 +0000 (16:03 +0000)]
- fix two bugs
- remove yet more unused code
- cosmetics

16 years agoDon't bail out for lon == 180 or lat == 90
frohlich [Thu, 15 Jun 2006 08:55:42 +0000 (08:55 +0000)]
Don't bail out for lon == 180 or lat == 90

16 years agoMore use of SGGeo[dc].
frohlich [Thu, 15 Jun 2006 08:29:43 +0000 (08:29 +0000)]
More use of SGGeo[dc].

16 years agoremove the rest of the static variables (except one); cleanup
mfranz [Thu, 15 Jun 2006 00:21:06 +0000 (00:21 +0000)]
remove the rest of the static variables (except one); cleanup

16 years agoremove readCard() and let the hud_card class read its properties
mfranz [Wed, 14 Jun 2006 23:27:55 +0000 (23:27 +0000)]
remove readCard() and let the hud_card class read its properties

16 years agoremove readCard and let the gauge_instr class read its own properties
mfranz [Wed, 14 Jun 2006 20:39:10 +0000 (20:39 +0000)]
remove readCard and let the gauge_instr class read its own properties

16 years agoremove readRunway() and let the runway_instr class read the properties in
mfranz [Wed, 14 Jun 2006 18:41:36 +0000 (18:41 +0000)]
remove readRunway() and let the runway_instr class read the properties in
the constructor

16 years agoremove readTBI() and let the fgTBI_instr class read its properties
mfranz [Wed, 14 Jun 2006 16:57:38 +0000 (16:57 +0000)]
remove readTBI() and let the fgTBI_instr class read its properties

16 years ago- remove hud.cxx/readLabel and let the instr_label read its properties
mfranz [Wed, 14 Jun 2006 16:23:44 +0000 (16:23 +0000)]
- remove hud.cxx/readLabel and let the instr_label read its properties
- remove unused copy constructor
- fix potential crash bug

16 years agoremove readLadder(const SGPropertyNode *) and make the HudLadder
mfranz [Wed, 14 Jun 2006 12:49:27 +0000 (12:49 +0000)]
remove readLadder(const SGPropertyNode *) and make the HudLadder
constructor read its properties on its own

16 years agoindentation, trailing spaces, ... (cosmetics only); doesn't make
mfranz [Wed, 14 Jun 2006 10:30:10 +0000 (10:30 +0000)]
indentation, trailing spaces, ...   (cosmetics only); doesn't make
the coding style fully consistent yet, but it's good enough for code changes
(mixed tab/space indents, 4 space tabs etc. are a royal pain)

16 years agoremove assignment operators: they aren't used now and won't in the future
mfranz [Tue, 13 Jun 2006 15:00:31 +0000 (15:00 +0000)]
remove assignment operators: they aren't used now and won't in the future

16 years agoindentation, trailing spaces, alignment, ... (to make further work easier)
mfranz [Tue, 13 Jun 2006 14:48:19 +0000 (14:48 +0000)]
indentation, trailing spaces, alignment, ...  (to make further work easier)

16 years ago- fix more cases of scale tick aliasing to get smooth scale movements
mfranz [Mon, 12 Jun 2006 23:27:55 +0000 (23:27 +0000)]
- fix more cases of scale tick aliasing to get smooth scale movements
- remove trailing spaces, fix indentation, unify coding style, ...

16 years agofix ugly aliasing effects in moving scales (caused by integer calculation
mfranz [Mon, 12 Jun 2006 22:27:10 +0000 (22:27 +0000)]
fix ugly aliasing effects in moving scales (caused by integer calculation
of tick coords)

16 years ago- remove trailing spaces
mfranz [Mon, 12 Jun 2006 21:34:47 +0000 (21:34 +0000)]
- remove trailing spaces
- fix indentation, alignment and other formal stuff

16 years ago- remove evil exit()
mfranz [Mon, 12 Jun 2006 15:39:38 +0000 (15:39 +0000)]
- remove evil exit()
- remove "enabled". It's unused, and that's a good thing: it wasn't
  initialized.

16 years agoadd Nasal/Listener hooks for adding/removing AI/MP models. Things like
mfranz [Sun, 11 Jun 2006 15:32:18 +0000 (15:32 +0000)]
add Nasal/Listener hooks for adding/removing AI/MP models. Things like
MP chat or Nasal/xml based radar instruments need that. It uses fgSetString,
because this is in a very "cold path" and shouldn't clutter the AIBase.

16 years agoremove the "ai_model" subsystem manually before the other subsystems
mfranz [Sun, 11 Jun 2006 15:18:48 +0000 (15:18 +0000)]
remove the "ai_model" subsystem manually before the other subsystems
are taken down by the C++ runtime environment. This will later be done
with runlevels. Why would we want to run nasal code in subsystem
destructors? We don't really. But some data structures may use nasal,
which are normally created/destroyed during runtime. And these will
also be destroyed at fgfs exit. In the past things like these didn't
happen, because someone had disabled all subsystem destructors ...

16 years agoModified Files:
frohlich [Sun, 11 Jun 2006 13:34:18 +0000 (13:34 +0000)]
Modified Files:
src/AIModel/AIAircraft.cxx src/ATC/AILocalTraffic.cxx
src/FDM/flight.cxx src/FDM/flight.hxx src/FDM/groundcache.cxx
src/FDM/groundcache.hxx src/Main/fg_init.cxx src/Main/main.cxx
src/Scenery/hitlist.cxx src/Scenery/hitlist.hxx
src/Scenery/scenery.cxx src/Scenery/scenery.hxx
Make use of the attached SGMaterial reference userdata on scenegraph
leafs. Make the SGMaterial pointer available to the ground query
routines.

16 years agofix another crash on exit by finally converting the rest of unguarded
mfranz [Sun, 11 Jun 2006 10:21:10 +0000 (10:21 +0000)]
fix another crash on exit by finally converting the rest of unguarded
SGPropertyNode to guarded ones. This is also done for JSBSim/JSBSim.hxx,
for which JSB had given explicit permission a while ago. I postponed that
back then, but now is the time.

16 years agomake sure the "nasal" subsystem is one of the last to be removed. That
mfranz [Sat, 10 Jun 2006 22:24:05 +0000 (22:24 +0000)]
make sure the "nasal" subsystem is one of the last to be removed. That
way it can still process listener code during shutdown.

16 years ago- remove listener in ~FGNasalListener(), not FGNasalSys::removelistener
mfranz [Sat, 10 Jun 2006 22:21:22 +0000 (22:21 +0000)]
- remove listener in ~FGNasalListener(), not FGNasalSys::removelistener
- delete all listeners in ~FGNasalSys()

16 years agothe special line width doesn't make much sense, as it's only applied to the
mfranz [Sat, 10 Jun 2006 15:25:48 +0000 (15:25 +0000)]
the special line width doesn't make much sense, as it's only applied to the
arrow head marks. It was probably thought for all lines, but as those are
wide enough, I just comment that out for now.

16 years agoUpdates to the MSVC8 project file from Olaf.
frohlich [Sat, 10 Jun 2006 11:19:51 +0000 (11:19 +0000)]
Updates to the MSVC8 project file from Olaf.

16 years agotreat colors like the other parameters: only copy them from the palette
mfranz [Sat, 10 Jun 2006 09:22:27 +0000 (09:22 +0000)]
treat colors like the other parameters: only copy them from the palette
color group /sim/hud/palette/color[*]/ to the active group /sim/hud/color/
if they really exist. (Parameters like <antialiased> can be set in the
active group and be left alone, or set by each <palette> color group.)

16 years agoconsider new HUD path. It doesn't seem to make sense to put "antialiased"
mfranz [Sat, 10 Jun 2006 07:23:15 +0000 (07:23 +0000)]
consider new HUD path. It doesn't seem to make sense to put "antialiased"
into the <color> group, but that's because on HUD color changes a whole
"color" set from /sim/hud/palette/color[*] is copied to /sim/hud/color/, and
antialiasing needs to be considered with that. (I'm not entirely happy
with the property names yet.)

16 years ago- remove lots of traling spaces
mfranz [Fri, 9 Jun 2006 21:29:40 +0000 (21:29 +0000)]
- remove lots of traling spaces
- fix indendation and alignment

16 years ago- add transparency option
mfranz [Fri, 9 Jun 2006 20:37:16 +0000 (20:37 +0000)]
- add transparency option
- comment out date/time ... this needs to be added to the HUDs that need it

16 years ago- remove trailing spaces
mfranz [Fri, 9 Jun 2006 18:48:57 +0000 (18:48 +0000)]
- remove trailing spaces
- fix many cases of broken indentation (but not all)
- unify indendation
- ...

16 years agoVivian MEAZZA:
mfranz [Fri, 9 Jun 2006 18:29:51 +0000 (18:29 +0000)]
Vivian MEAZZA:

" Make a couple of minor adjustments to Harald's weather radar code, make
elevation work in the radar code, and add station ident to the TACAN code"

16 years ago- remove obsolete definition
mfranz [Fri, 9 Jun 2006 10:53:48 +0000 (10:53 +0000)]
- remove obsolete definition
- make sure HUD is only initialized once

16 years ago- copy preset colors from <palette> to /sim/hud/color
mfranz [Thu, 8 Jun 2006 17:14:59 +0000 (17:14 +0000)]
- copy preset colors from <palette> to /sim/hud/color
- listen to color, alpha, alpha-clamping
- fix blend mode

16 years agoFix wrong documentation link
fredb [Thu, 8 Jun 2006 12:14:35 +0000 (12:14 +0000)]
Fix wrong documentation link

16 years agoMake use of the ground material types
frohlich [Thu, 8 Jun 2006 05:58:36 +0000 (05:58 +0000)]
Make use of the ground material types

16 years ago- don't hide HUD only because the color index is invalid
mfranz [Wed, 7 Jun 2006 21:41:32 +0000 (21:41 +0000)]
- don't hide HUD only because the color index is invalid
- initialize color components

16 years agoboy, what a load of ...
mfranz [Wed, 7 Jun 2006 21:35:11 +0000 (21:35 +0000)]
boy, what a load of ...

16 years agowhoops ... compile (this silly #define will be removed very soon)
mfranz [Wed, 7 Jun 2006 21:28:33 +0000 (21:28 +0000)]
whoops ... compile  (this silly #define will be removed very soon)

16 years agoremove obsolete constants
mfranz [Wed, 7 Jun 2006 21:09:38 +0000 (21:09 +0000)]
remove obsolete constants

16 years ago- drop hardcoded color/brightness values
mfranz [Wed, 7 Jun 2006 18:01:19 +0000 (18:01 +0000)]
- drop hardcoded color/brightness values
- let listener class watch and maintain HUD color properties, which is
  more effective and more flexible.

16 years agoremove obsolete HUD fgcommands
mfranz [Wed, 7 Jun 2006 17:59:28 +0000 (17:59 +0000)]
remove obsolete HUD fgcommands

16 years agobark if the requested font isn't a texture font. A more graceful recovery
mfranz [Tue, 6 Jun 2006 19:25:33 +0000 (19:25 +0000)]
bark if the requested font isn't a texture font. A more graceful recovery
doesn't buy us much, as the font is only set at initialization time and not
changeable later. Better tell the user immediately that he goofed.

16 years agorestore old default; this should probably be configurable ...
mfranz [Tue, 6 Jun 2006 18:36:34 +0000 (18:36 +0000)]
restore old default; this should probably be configurable ...

16 years agobetter always use style[0] (again). Otherise *-set.xml can't easily change
mfranz [Tue, 6 Jun 2006 17:30:49 +0000 (17:30 +0000)]
better always use style[0] (again). Otherise *-set.xml can't easily change
background/font

16 years agouse global fontcache ... this is mostly cosmetic, as the whole file will
mfranz [Tue, 6 Jun 2006 16:33:38 +0000 (16:33 +0000)]
use global fontcache ... this is mostly cosmetic, as the whole file will
probably die a soon as the old property picker was removed

16 years ago- use global fontcache
mfranz [Tue, 6 Jun 2006 15:34:18 +0000 (15:34 +0000)]
- use global fontcache
- make font/size configurable