]> icculus.org git repositories - taylor/freespace2.git/blob - include/hudlock.h
Initial revision
[taylor/freespace2.git] / include / hudlock.h
1 /*
2  * $Logfile: /Freespace2/code/Hud/HUDlock.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Header file for missile locking code
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:12  root
11  * Initial revision
12  *
13  * 
14  * 2     10/07/98 10:53a Dave
15  * Initial checkin.
16  * 
17  * 1     10/07/98 10:49a Dave
18  * 
19  * 12    4/08/98 8:33p Lawrance
20  * Make player re-acquire lock when targeting subsystems on a locked ship.
21  * 
22  * 11    3/10/98 4:19p John
23  * Cleaned up graphics lib.  Took out most unused gr functions.   Made D3D
24  * & Glide have popups and print screen.  Took out all >8bpp software
25  * support.  Made Fred zbuffer.  Made zbuffer allocate dynamically to
26  * support Fred.  Made zbuffering key off of functions rather than one
27  * global variable.
28  * 
29  * 10    2/28/98 7:03p Lawrance
30  * Change player missile locking to use dot product, so we can use it in
31  * the external views
32  * 
33  * 9     1/23/98 6:25p Lawrance
34  * Change player missile locking to lock on subsystem points automatically
35  * 
36  * 8     1/21/98 7:20p Lawrance
37  * Make subsystem locking only work with line-of-sight, cleaned up locking
38  * code, moved globals to player struct.
39  * 
40  * 7     1/19/98 10:02p Lawrance
41  * Fix bug with locking on friendlies
42  * 
43  * 6     11/17/97 6:37p Lawrance
44  * new gauges: extended target view, new lock triangles, support ship view
45  * 
46  * 5     4/13/97 3:53p Lawrance
47  * separate out the non-rendering dependant portions of the HUD ( sounds,
48  * updating lock position, changing targets, etc) and put into
49  * hud_update_frame()
50  * 
51  * 4     3/19/97 5:53p Lawrance
52  * integrating new Misc_sounds[] array (replaces old Game_sounds
53  * structure)
54  * 
55  * 3     1/02/97 7:12p Lawrance
56  * adding hooks for more sounds
57  * 
58  * 2     12/23/96 7:53p Lawrance
59  * missile locking working in new source files
60  *
61  * $NoKeywords: $
62  */
63
64 #ifndef _HUDLOCK_H
65 #define _HUDLOCK_H
66
67 void hud_init_missile_lock();
68 void hud_draw_lock_triangles(int center_x, int center_y, float frametime);
69 void hud_calculate_lock_position(float frametime);
70 void hud_calculate_lock_start_pos();
71 void hud_show_lock_indicator(float frametime);
72 void hud_update_lock_indicator(float frametime);
73 void hud_stop_looped_locking_sounds();
74 void hud_lock_reset(float lock_time_scale=1.0f);
75
76 #endif
77