]> icculus.org git repositories - taylor/freespace2.git/blob - include/optionsmenumulti.h
Initial revision
[taylor/freespace2.git] / include / optionsmenumulti.h
1 /*
2  * $Logfile: /Freespace2/code/MenuUI/OptionsMenuMulti.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * $Log$
8  * Revision 1.1  2002/05/03 03:28:12  root
9  * Initial revision
10  *  
11  * 
12  * 2     10/07/98 10:53a Dave
13  * Initial checkin.
14  * 
15  * 1     10/07/98 10:49a Dave
16  * 
17  * 3     5/06/98 8:06p Dave
18  * Made standalone reset properly under weird conditions. Tweak
19  * optionsmulti screen. Upped MAX_WEAPONS to 350. Put in new launch
20  * countdown anim. Minro ui fixes/tweaks.
21  * 
22  * 2     4/17/98 5:27p Dave
23  * More work on the multi options screen. Fixed many minor ui todo bugs.
24  * 
25  * 1     4/16/98 11:39p Dave
26  *  
27  * 
28  * $NoKeywords: $
29  */
30
31 #ifndef _OPTIONS_MENU_MULTI_HEADER_FILE
32 #define _OPTIONS_MENU_MULTI_HEADER_FILE
33
34 // This file is basically just a sister module to the OptionsMenu file
35
36 class UI_WINDOW;
37
38 // called when the options screen is initialized, pass in the UI window
39 void options_multi_init(UI_WINDOW *options_window);
40
41 // do frame for the multi options screen
42 void options_multi_do(int key);
43
44 // called when the entire options screen is closed (note - does not do any settings updates. this is purely for ui shutdown)
45 void options_multi_close();
46
47 // called if the accept button on the main options screen was hit
48 void options_multi_accept();
49
50 // called when the multiplayer tab is hit - initializes/switches all necessary data.
51 // NOTE : this is different from the initialization function, which is called only when the options menu is started
52 void options_multi_select();
53
54 // called when the multiplayer tab has been switched from
55 void options_multi_unselect();
56
57 // return the bitmap handle of the current background bitmap, or -1 if the multiplayer tab is not active
58 int options_multi_background_bitmap();
59
60 // set voice sound buffer for display 
61 void options_multi_set_voice_data(unsigned char *sound_buf,int buf_size,unsigned char *comp_buf, int comp_size, int uncomp_size, double gain);
62
63 // process and blit any voice waveform if necessary
64 void options_multi_vox_process_waveform();
65
66 // return whether we want to eat a tabbed keypress
67 int options_multi_eat_tab();
68
69 #endif
70