]> icculus.org git repositories - taylor/freespace2.git/blob - include/missionhotkey.h
Initial revision
[taylor/freespace2.git] / include / missionhotkey.h
1 /*
2  * $Logfile: /Freespace2/code/Mission/MissionHotKey.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Header file for the Hotkey selection screen
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  * 9     1/28/98 6:23p Dave
20  * Made standalone use ~8 megs less memory. Fixed multiplayer submenu
21  * sequencing problem.
22  * 
23  * 8     1/26/98 4:42p Allender
24  * fixed restoration of hotkeys when replaying mission.  Change the
25  * meaning of "departed wing" to mean anytime a wing "departs" (with any
26  * number of remaining wingmen).
27  * 
28  * 7     1/14/98 5:22p Allender
29  * save/restore hotkey selections when replaying the same mission
30  * 
31  * 6     8/31/97 6:38p Lawrance
32  * pass in frametime to do_frame loop
33  * 
34  * 5     5/30/97 1:00p Allender
35  * aded F11 and F12 to hotkey selection -- F12 requies that
36  * UserDebuggerKey in registry be changed!!!
37  * 
38  * 4     4/30/97 11:34a Lawrance
39  * making ship selection and hotkey assignment work in all cases
40  * 
41  * 3     4/28/97 5:43p Lawrance
42  * allow hotkey assignment screen to work from ship selection
43  * 
44  * 2     4/25/97 3:41p Lawrance
45  * added support for hotkey assignment screen
46  *
47  * $NoKeywords: $
48  */
49
50 #ifndef __MISSIONHOTKEY_H__
51 #define __MISSIONHOTKEY_H__
52
53 void mission_hotkey_init();
54 void mission_hotkey_close();
55 void mission_hotkey_do_frame(float frametime);
56 void mission_hotkey_set_defaults();
57 void mission_hotkey_validate();
58 void mission_hotkey_maybe_save_sets();
59 void mission_hotkey_reset_saved();
60 void mission_hotkey_mf_add( int set, int objnum, int how_to_add );
61
62 void mission_hotkey_exit();
63
64 // function to return the hotkey set number of the given key
65 extern int mission_hotkey_get_set_num( int k );
66
67 #endif
68