]> icculus.org git repositories - taylor/freespace2.git/blob - include/optionsmenumulti.h
fix issue with looping audio streams
[taylor/freespace2.git] / include / optionsmenumulti.h
1 /*
2  * Copyright (C) Volition, Inc. 1999.  All rights reserved.
3  *
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
6  * the source.
7  */
8
9 /*
10  * $Logfile: /Freespace2/code/MenuUI/OptionsMenuMulti.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * $Log$
16  * Revision 1.2  2002/06/09 04:41:14  relnev
17  * added copyright header
18  *
19  * Revision 1.1.1.1  2002/05/03 03:28:12  root
20  * Initial import.
21  *  
22  * 
23  * 2     10/07/98 10:53a Dave
24  * Initial checkin.
25  * 
26  * 1     10/07/98 10:49a Dave
27  * 
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.
32  * 
33  * 2     4/17/98 5:27p Dave
34  * More work on the multi options screen. Fixed many minor ui todo bugs.
35  * 
36  * 1     4/16/98 11:39p Dave
37  *  
38  * 
39  * $NoKeywords: $
40  */
41
42 #ifndef _OPTIONS_MENU_MULTI_HEADER_FILE
43 #define _OPTIONS_MENU_MULTI_HEADER_FILE
44
45 // This file is basically just a sister module to the OptionsMenu file
46
47 class UI_WINDOW;
48
49 // called when the options screen is initialized, pass in the UI window
50 void options_multi_init(UI_WINDOW *options_window);
51
52 // do frame for the multi options screen
53 void options_multi_do(int key);
54
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();
57
58 // called if the accept button on the main options screen was hit
59 void options_multi_accept();
60
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();
64
65 // called when the multiplayer tab has been switched from
66 void options_multi_unselect();
67
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();
70
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);
73
74 // process and blit any voice waveform if necessary
75 void options_multi_vox_process_waveform();
76
77 // return whether we want to eat a tabbed keypress
78 int options_multi_eat_tab();
79
80 #endif
81