2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
10 * $Logfile: /Freespace2/code/Hud/HUDbrackets.h $
15 * Header file for drawing target brackets on the HUD
18 * Revision 1.2 2002/06/09 04:41:13 relnev
19 * added copyright header
21 * Revision 1.1.1.1 2002/05/03 03:28:12 root
25 * 3 12/21/98 5:02p Dave
26 * Modified all hud elements to be multi-resolution friendly.
28 * 2 10/07/98 10:53a Dave
31 * 1 10/07/98 10:49a Dave
33 * 14 5/03/98 1:07a Mike
34 * Show + for ships attacking your target, whether hostile or friendly.
36 * 13 3/19/98 5:36p Lawrance
37 * Let subsystem brackets grow to screen size
39 * 12 3/02/98 11:32p Lawrance
40 * Allow asteroids about to impact ships to be bracketed
42 * 11 11/27/97 4:24p Lawrance
43 * change appearance of subsystem targeting brackets
45 * 10 6/11/97 1:12p John
46 * Started fixing all the text colors in the game.
48 * 9 4/09/97 3:30p Lawrance
49 * let target brackets grow to bracket ship entirely
51 * 8 4/08/97 1:28p Lawrance
52 * get brackets for targeting and messaging drawing right
54 * 7 4/08/97 9:58a Lawrance
55 * center bracket on target center. Give min and max dimensions to
56 * subsystem target brackets.
58 * 6 4/07/97 3:50p Allender
59 * ability to assign > 1 ship to a hotkey. Enabled use of hotkeys in
62 * 5 3/27/97 5:44p Lawrance
63 * drawing dashed lines for sub-object targeting box that is not in line
66 * 4 3/27/97 3:59p Lawrance
67 * made brackets draw even if center of target is offscreen
69 * 3 3/27/97 9:29a Lawrance
70 * If reach maximum bounding box size, use radius targeting box method
72 * 2 12/24/96 4:30p Lawrance
73 * Target bracket drawing code moved to separate files
84 void hud_init_brackets();
85 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);
86 void draw_bounding_brackets_subobject();
87 void draw_brackets_square(int x1, int y1, int x2, int y2);
88 void draw_brackets_diamond(int x1, int y1, int x2, int y2);
89 void draw_brackets_square_quick(int x1, int y1, int x2, int y2, int thick=0);
90 void draw_brackets_diamond_quick(int x1, int y1, int x2, int y2, int thick=0);
91 void draw_brackets_dashed_square_quick(int x1, int y1, int x2, int y2);
92 int hud_brackets_get_iff_color(int team);