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/HUDlock.h $
15 * Header file for missile locking code
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 * 2 10/07/98 10:53a Dave
28 * 1 10/07/98 10:49a Dave
30 * 12 4/08/98 8:33p Lawrance
31 * Make player re-acquire lock when targeting subsystems on a locked ship.
33 * 11 3/10/98 4:19p John
34 * Cleaned up graphics lib. Took out most unused gr functions. Made D3D
35 * & Glide have popups and print screen. Took out all >8bpp software
36 * support. Made Fred zbuffer. Made zbuffer allocate dynamically to
37 * support Fred. Made zbuffering key off of functions rather than one
40 * 10 2/28/98 7:03p Lawrance
41 * Change player missile locking to use dot product, so we can use it in
44 * 9 1/23/98 6:25p Lawrance
45 * Change player missile locking to lock on subsystem points automatically
47 * 8 1/21/98 7:20p Lawrance
48 * Make subsystem locking only work with line-of-sight, cleaned up locking
49 * code, moved globals to player struct.
51 * 7 1/19/98 10:02p Lawrance
52 * Fix bug with locking on friendlies
54 * 6 11/17/97 6:37p Lawrance
55 * new gauges: extended target view, new lock triangles, support ship view
57 * 5 4/13/97 3:53p Lawrance
58 * separate out the non-rendering dependant portions of the HUD ( sounds,
59 * updating lock position, changing targets, etc) and put into
62 * 4 3/19/97 5:53p Lawrance
63 * integrating new Misc_sounds[] array (replaces old Game_sounds
66 * 3 1/02/97 7:12p Lawrance
67 * adding hooks for more sounds
69 * 2 12/23/96 7:53p Lawrance
70 * missile locking working in new source files
78 void hud_init_missile_lock();
79 void hud_draw_lock_triangles(int center_x, int center_y, float frametime);
80 void hud_calculate_lock_position(float frametime);
81 void hud_calculate_lock_start_pos();
82 void hud_show_lock_indicator(float frametime);
83 void hud_update_lock_indicator(float frametime);
84 void hud_stop_looped_locking_sounds();
85 void hud_lock_reset(float lock_time_scale=1.0f);