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/Mission/MissionHotKey.h $
15 * Header file for the Hotkey selection screen
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 * 9 1/28/98 6:23p Dave
31 * Made standalone use ~8 megs less memory. Fixed multiplayer submenu
34 * 8 1/26/98 4:42p Allender
35 * fixed restoration of hotkeys when replaying mission. Change the
36 * meaning of "departed wing" to mean anytime a wing "departs" (with any
37 * number of remaining wingmen).
39 * 7 1/14/98 5:22p Allender
40 * save/restore hotkey selections when replaying the same mission
42 * 6 8/31/97 6:38p Lawrance
43 * pass in frametime to do_frame loop
45 * 5 5/30/97 1:00p Allender
46 * aded F11 and F12 to hotkey selection -- F12 requies that
47 * UserDebuggerKey in registry be changed!!!
49 * 4 4/30/97 11:34a Lawrance
50 * making ship selection and hotkey assignment work in all cases
52 * 3 4/28/97 5:43p Lawrance
53 * allow hotkey assignment screen to work from ship selection
55 * 2 4/25/97 3:41p Lawrance
56 * added support for hotkey assignment screen
61 #ifndef __MISSIONHOTKEY_H__
62 #define __MISSIONHOTKEY_H__
64 void mission_hotkey_init();
65 void mission_hotkey_close();
66 void mission_hotkey_do_frame(float frametime);
67 void mission_hotkey_set_defaults();
68 void mission_hotkey_validate();
69 void mission_hotkey_maybe_save_sets();
70 void mission_hotkey_reset_saved();
71 void mission_hotkey_mf_add( int set, int objnum, int how_to_add );
73 void mission_hotkey_exit();
75 // function to return the hotkey set number of the given key
76 extern int mission_hotkey_get_set_num( int k );