2 * $Logfile: /Freespace2/code/Hud/HUDbrackets.h $
7 * Header file for drawing target brackets on the HUD
10 * Revision 1.1 2002/05/03 03:28:12 root
14 * 3 12/21/98 5:02p Dave
15 * Modified all hud elements to be multi-resolution friendly.
17 * 2 10/07/98 10:53a Dave
20 * 1 10/07/98 10:49a Dave
22 * 14 5/03/98 1:07a Mike
23 * Show + for ships attacking your target, whether hostile or friendly.
25 * 13 3/19/98 5:36p Lawrance
26 * Let subsystem brackets grow to screen size
28 * 12 3/02/98 11:32p Lawrance
29 * Allow asteroids about to impact ships to be bracketed
31 * 11 11/27/97 4:24p Lawrance
32 * change appearance of subsystem targeting brackets
34 * 10 6/11/97 1:12p John
35 * Started fixing all the text colors in the game.
37 * 9 4/09/97 3:30p Lawrance
38 * let target brackets grow to bracket ship entirely
40 * 8 4/08/97 1:28p Lawrance
41 * get brackets for targeting and messaging drawing right
43 * 7 4/08/97 9:58a Lawrance
44 * center bracket on target center. Give min and max dimensions to
45 * subsystem target brackets.
47 * 6 4/07/97 3:50p Allender
48 * ability to assign > 1 ship to a hotkey. Enabled use of hotkeys in
51 * 5 3/27/97 5:44p Lawrance
52 * drawing dashed lines for sub-object targeting box that is not in line
55 * 4 3/27/97 3:59p Lawrance
56 * made brackets draw even if center of target is offscreen
58 * 3 3/27/97 9:29a Lawrance
59 * If reach maximum bounding box size, use radius targeting box method
61 * 2 12/24/96 4:30p Lawrance
62 * Target bracket drawing code moved to separate files
73 void hud_init_brackets();
74 void draw_bounding_brackets(int x1, int y1, int x2, int y2, int w_correction, int h_correction, float distance=0.0f, int target_objnum=-1);
75 void draw_bounding_brackets_subobject();
76 void draw_brackets_square(int x1, int y1, int x2, int y2);
77 void draw_brackets_diamond(int x1, int y1, int x2, int y2);
78 void draw_brackets_square_quick(int x1, int y1, int x2, int y2, int thick=0);
79 void draw_brackets_diamond_quick(int x1, int y1, int x2, int y2, int thick=0);
80 void draw_brackets_dashed_square_quick(int x1, int y1, int x2, int y2);
81 int hud_brackets_get_iff_color(int team);