47 #define MULTI_PAUSED_NUM_BUTTONS 3
50 #define MP_SCROLL_UP 0
51 #define MP_SCROLL_DOWN 1
52 #define MP_EXIT_MISSION 2
88 #define MULTI_PAUSED_NUM_TEXT 3
144 Multi_pause_pauser = NULL;
257 Multi_pause_pauser = pl;
267 Multi_pause_pauser = NULL;
295 nprintf((
"Network",
"PAUSE EATING KEYS\n"));
410 k = Multi_paused_window.
process(k);
431 Multi_paused_window.
draw();
528 if((Multi_pause_pauser != NULL) && (Multi_pause_pauser->
m_player != NULL)){
529 memset(pause_str,0,100);
void set_highlight_action(void(*_user_function)(void))
int chatbox_create(int mode_flags)
void add_XSTR(char *string, int _xstr_id, int _x, int _y, UI_GADGET *_assoc, int _color_type, int _font_id=-1)
#define NETGAME_STATE_PAUSED
int multi_pause_can_unpause(net_player *p)
UI_WINDOW Multi_paused_window
void multi_reset_timestamps()
#define gr_restore_screen
int gameseq_get_state(void)
#define MULTI_PAUSED_NUM_BUTTONS
#define GR_NUM_RESOLUTIONS
__inline void gr_string(int x, int y, const char *string, int resize_mode=GR_RESIZE_FULL)
ui_button_info Multi_paused_buttons[GR_NUM_RESOLUTIONS][MULTI_PAUSED_NUM_BUTTONS]
int chatbox_scroll_down()
net_player * Multi_pause_pauser
void gr_set_color_fast(color *dst)
void gr_set_bitmap(int bitmap_num, int alphablend_mode, int bitblt_mode, float alpha)
void multi_msg_text_flush()
int bm_release(int handle, int clear_render_targets)
Frees both a bitmap's data and it's associated slot.
char callsign[CALLSIGN_LEN+1]
void set_mask_bmap(char *fname)
int set_bmaps(char *ani_filename, int nframes=3, int start_frame=1)
void multi_pause_close(int end_mission)
void weapon_pause_sounds()
void multi_pause_check_buttons()
#define NETINFO_FLAG_AM_MASTER
void send_client_update_packet(net_player *pl)
int Multi_paused_screen_id
#define MULTI_PAUSED_NUM_TEXT
void multi_pause_button_pressed(int n)
#define NETINFO_FLAG_GAME_HOST
void send_multi_pause_packet(int pause)
void std_debug_set_standalone_state_string(char *str)
int Multi_paused_background
#define GM_STANDALONE_SERVER
#define NETGAME_STATE_IN_MISSION
void weapon_unpause_sounds()
int bm_load(const char *real_filename)
Loads a bitmap so we can draw with it later.
int multi_quit_game(int prompt, int notify_code, int err_code, int wsa_error)
void multi_pause_server_eval_request(net_player *pl, int pause)
void multi_pause_unpause()
char * Multi_paused_bg_fname[GR_NUM_RESOLUTIONS]
void link_hotspot(int num)
void create(UI_WINDOW *wnd, char *_text, int _x, int _y, int _w, int _h, int do_repeat=0, int ignore_focus=0)
#define UI_XSTR_COLOR_PINK
#define MULTI_CONNECTED(np)
void create(int _x, int _y, int _w, int _h, int _flags, int _f_id=-1)
fix timer_get_fixed_seconds()
void audiostream_unpause_all(bool via_sexp_or_script=false)
void multi_handle_state_special()
void multi_pause_render_callsign()
void common_play_highlight_sound()
void multi_common_voice_display_status()
UI_XSTR Multi_paused_text[GR_NUM_RESOLUTIONS][MULTI_PAUSED_NUM_BUTTONS]
int Mp_callsign_coords[GR_NUM_RESOLUTIONS][2]
int chatbox_process(int key_in)
void gr_bitmap(int _x, int _y, int resize_mode)
char * Multi_paused_bg_mask[GR_NUM_RESOLUTIONS]
void audiostream_pause_all(bool via_sexp_or_script=false)
struct ui_button_info ui_button_info
void control_config_clear_used_status()
int process(int key_in=-1, int process_mouse=1)
#define CHATBOX_FLAG_MULTI_PAUSED
net_player Net_players[MAX_PLAYERS]
void gameseq_post_event(int event)
int multi_pause_eat_keys()
void multi_pause_request(int pause)