FS2_Open
Open source remastering of the Freespace 2 engine
optionsmenumulti.h
Go to the documentation of this file.
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 the
6  * source.
7  *
8 */
9 
10 
11 
12 #ifndef _OPTIONS_MENU_MULTI_HEADER_FILE
13 #define _OPTIONS_MENU_MULTI_HEADER_FILE
14 
15 // This file is basically just a sister module to the OptionsMenu file
16 
17 class UI_WINDOW;
18 
19 // called when the options screen is initialized, pass in the UI window
20 void options_multi_init(UI_WINDOW *options_window);
21 
22 // do frame for the multi options screen
23 void options_multi_do(int key);
24 
25 // called when the entire options screen is closed (note - does not do any settings updates. this is purely for ui shutdown)
26 void options_multi_close();
27 
28 // called if the accept button on the main options screen was hit
30 
31 // called when the multiplayer tab is hit - initializes/switches all necessary data.
32 // NOTE : this is different from the initialization function, which is called only when the options menu is started
34 
35 // called when the multiplayer tab has been switched from
37 
38 // return the bitmap handle of the current background bitmap, or -1 if the multiplayer tab is not active
40 
41 // set voice sound buffer for display
42 void options_multi_set_voice_data(unsigned char *sound_buf, int buf_size, double gain);
43 
44 // process and blit any voice waveform if necessary
46 
47 // return whether we want to eat a tabbed keypress
49 
50 #endif
void options_multi_set_voice_data(unsigned char *sound_buf, int buf_size, double gain)
void options_multi_vox_process_waveform()
void options_multi_close()
int key
void options_multi_init(UI_WINDOW *options_window)
int options_multi_eat_tab()
void options_multi_do(int key)
void options_multi_unselect()
int options_multi_background_bitmap()
Definition: ui.h:584
bool options_multi_accept()
void options_multi_select()