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. ;-)
This commit is contained in:
parent
46efbb0801
commit
010e03fab4
2 changed files with 420 additions and 779 deletions
|
@ -416,8 +416,9 @@ public:
|
|||
virtual void draw();
|
||||
|
||||
protected:
|
||||
void draw_vertical(float);
|
||||
void draw_horizontal(float);
|
||||
void draw_fixed_pointer(float, float, float, float, float, float);
|
||||
void zoomed_scale(int, int);
|
||||
char *format_value(float);
|
||||
|
||||
private:
|
||||
|
@ -436,7 +437,8 @@ private:
|
|||
bool _pointer;
|
||||
Format _label_fmt;
|
||||
string _format;
|
||||
int _zoom;
|
||||
int _div_ratio; // _major_divs/_minor_divs
|
||||
bool _odd_type; // whether to put numbers at 0/2/4 or 1/3/5
|
||||
|
||||
enum { BUFSIZE = 64 };
|
||||
char _buf[BUFSIZE];
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue