curt
f30f4b866b
Add support for drawing target markers (circles on top of any AI/MP aircraft)
...
as part of the conformal HUD ladder.
2006-07-27 02:46:14 +00:00
mfranz
bd9ec88355
- 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
2006-07-24 16:00:18 +00:00
curt
b010480bfb
Switch sign of beta/drift.
2006-07-23 17:47:23 +00:00
mfranz
52ceea2048
cleanup (getBoolValue() returns false by default)
2006-07-23 16:57:13 +00:00
curt
a91afd2482
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.
2006-07-23 16:41:18 +00:00
mfranz
0289cfcb36
- 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)
2006-07-23 08:14:03 +00:00
mfranz
64502bdb80
get rid of struct Point and get_centroid(). Instruments may access *their*
...
properties directly. This is properly encapsulated already.
2006-07-22 10:09:36 +00:00
ehofman
a4265a3b0a
Use one standard define for enableing of the Special Purpose FDM code.
2006-07-17 17:58:53 +00:00
mfranz
d94e691f1e
- read new HUD from /sim/hud/path[1] (was: /hud)
...
- cosmetics
2006-07-11 16:09:35 +00:00
mfranz
f339304c33
- more <tape> fixes
...
- make ladder numbers symmetrical (hackish)
- fix font BBox/str_width calculation
2006-07-06 21:46:50 +00:00
mfranz
df2d876f72
- fix unzoomed tapes (TODO: restore tick length)
...
- get rid of braindead "struct Rect", where top meant y, and bottom meant height
- cleanup^3
2006-07-06 14:30:18 +00:00
mfranz
42c3d8867f
- cleanup of the day (more finegrained change history in my local cvs)
...
- <damp>ing coefficient is now 1.0 - 1.0 / pow(10, damp)
2006-07-05 22:55:33 +00:00
fredb
61419e83d8
Win32 fixes
2006-07-05 06:22:05 +00:00
mfranz
c6cbef666a
new HUD (work in progress)
2006-07-04 15:32:55 +00:00