FS2_Open
Open source remastering of the Freespace 2 engine
multi_pmsg.h File Reference

Go to the source code of this file.

Macros

#define MULTI_MSG_NONE   -1
 
#define MULTI_MSG_ALL   0
 
#define MULTI_MSG_FRIENDLY   1
 
#define MULTI_MSG_HOSTILE   2
 
#define MULTI_MSG_TARGET   3
 
#define MULTI_MSG_EXPR   4
 
#define MULTI_MSG_MAX_TEXT_LEN   255
 

Functions

void multi_msg_key_down (int mode)
 
int multi_msg_voice_record ()
 
void multi_msg_process ()
 
int multi_msg_mode ()
 
int multi_msg_text_process (int k)
 
int multi_msg_text_mode ()
 
int multi_msg_message_text (char *txt)
 
void multi_msg_display_mission_text (const char *msg, int player_index)
 
int multi_msg_matches_expr (net_player *player, const char *expr)
 
void multi_msg_text_flush ()
 
int multi_msg_eval_wing_squadmsg (int wingnum, int command, ai_info *aif, int player_num)
 
int multi_msg_eval_ship_squadmsg (int shipnum, int command, ai_info *aif, int player_num)
 
void multi_msg_process_squadmsg_packet (unsigned char *data, header *hinfo)
 

Macro Definition Documentation

#define MULTI_MSG_ALL   0

Definition at line 27 of file multi_pmsg.h.

#define MULTI_MSG_EXPR   4

Definition at line 31 of file multi_pmsg.h.

#define MULTI_MSG_FRIENDLY   1

Definition at line 28 of file multi_pmsg.h.

#define MULTI_MSG_HOSTILE   2

Definition at line 29 of file multi_pmsg.h.

#define MULTI_MSG_MAX_TEXT_LEN   255

Definition at line 34 of file multi_pmsg.h.

#define MULTI_MSG_NONE   -1

Definition at line 26 of file multi_pmsg.h.

#define MULTI_MSG_TARGET   3

Definition at line 30 of file multi_pmsg.h.

Function Documentation

void multi_msg_display_mission_text ( const char *  msg,
int  player_index 
)

Definition at line 302 of file multi_pmsg.cpp.

int multi_msg_eval_ship_squadmsg ( int  shipnum,
int  command,
ai_info aif,
int  player_num 
)

Definition at line 677 of file multi_pmsg.cpp.

int multi_msg_eval_wing_squadmsg ( int  wingnum,
int  command,
ai_info aif,
int  player_num 
)

Definition at line 621 of file multi_pmsg.cpp.

void multi_msg_key_down ( int  mode)

Definition at line 89 of file multi_pmsg.cpp.

int multi_msg_matches_expr ( net_player player,
const char *  expr 
)

Definition at line 318 of file multi_pmsg.cpp.

int multi_msg_message_text ( char *  txt)

Definition at line 264 of file multi_pmsg.cpp.

int multi_msg_mode ( )

Definition at line 157 of file multi_pmsg.cpp.

void multi_msg_process ( )

Definition at line 125 of file multi_pmsg.cpp.

void multi_msg_process_squadmsg_packet ( unsigned char *  data,
header hinfo 
)

Definition at line 725 of file multi_pmsg.cpp.

void multi_msg_text_flush ( )

Definition at line 329 of file multi_pmsg.cpp.

int multi_msg_text_mode ( )

Definition at line 163 of file multi_pmsg.cpp.

int multi_msg_text_process ( int  k)

Definition at line 207 of file multi_pmsg.cpp.

int multi_msg_voice_record ( )

Definition at line 119 of file multi_pmsg.cpp.