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/MenuUI/OptionsMenuMulti.h $
16 * Revision 1.2 2002/06/09 04:41:14 relnev
17 * added copyright header
19 * Revision 1.1.1.1 2002/05/03 03:28:12 root
23 * 2 10/07/98 10:53a Dave
26 * 1 10/07/98 10:49a Dave
28 * 3 5/06/98 8:06p Dave
29 * Made standalone reset properly under weird conditions. Tweak
30 * optionsmulti screen. Upped MAX_WEAPONS to 350. Put in new launch
31 * countdown anim. Minro ui fixes/tweaks.
33 * 2 4/17/98 5:27p Dave
34 * More work on the multi options screen. Fixed many minor ui todo bugs.
36 * 1 4/16/98 11:39p Dave
42 #ifndef _OPTIONS_MENU_MULTI_HEADER_FILE
43 #define _OPTIONS_MENU_MULTI_HEADER_FILE
45 // This file is basically just a sister module to the OptionsMenu file
49 // called when the options screen is initialized, pass in the UI window
50 void options_multi_init(UI_WINDOW *options_window);
52 // do frame for the multi options screen
53 void options_multi_do(int key);
55 // called when the entire options screen is closed (note - does not do any settings updates. this is purely for ui shutdown)
56 void options_multi_close();
58 // called if the accept button on the main options screen was hit
59 void options_multi_accept();
61 // called when the multiplayer tab is hit - initializes/switches all necessary data.
62 // NOTE : this is different from the initialization function, which is called only when the options menu is started
63 void options_multi_select();
65 // called when the multiplayer tab has been switched from
66 void options_multi_unselect();
68 // return the bitmap handle of the current background bitmap, or -1 if the multiplayer tab is not active
69 int options_multi_background_bitmap();
71 // set voice sound buffer for display
72 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);
74 // process and blit any voice waveform if necessary
75 void options_multi_vox_process_waveform();
77 // return whether we want to eat a tabbed keypress
78 int options_multi_eat_tab();