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

Go to the source code of this file.

Macros

#define INGAME_JOIN_FLAG_SENDING_SETS   (1<<0)
 
#define INGAME_JOIN_FLAG_CAMPAIGN_INFO   (1<<1)
 
#define INGAME_JOIN_FLAG_LOADING_MISSION   (1<<2)
 
#define INGAME_JOIN_FLAG_SENDING_SHIPS   (1<<3)
 
#define INGAME_JOIN_FLAG_SENDING_WINGS   (1<<4)
 
#define INGAME_JOIN_FLAG_SENDING_RPTS   (1<<5)
 
#define INGAME_JOIN_FLAG_SENDING_POST   (1<<6)
 
#define INGAME_JOIN_FLAG_SENDING_WSS   (1<<7)
 
#define INGAME_JOIN_FLAG_PICK_SHIP   (1<<8)
 
#define INGAME_JOIN_FLAG_FILE_XFER   (1<<9)
 
#define INGAME_SHIP_UPDATE_TIME   1500
 
#define INGAME_SHIP_NEXT   0
 
#define INGAME_SHIP_WARP_SUPPORT   1
 
#define INGAME_SHIP_LIST_EOP   2
 
#define INGAME_SHIP_LIST_EOL   3
 
#define INGAME_WING_NEXT   0
 
#define INGAME_WING_LIST_EOP   1
 
#define INGAME_WING_LIST_EOL   2
 
#define INGAME_WING_NOT_ARRIVED   1
 
#define INGAME_WING_DEPARTED   2
 
#define INGAME_WING_PRESENT   3
 

Functions

void multi_handle_ingame_joiners ()
 
int multi_deconstruct_ship (ubyte *data, ship *s)
 
int multi_deconstruct_wing (ubyte *data, wing *w)
 
int multi_reconstruct_ship (ubyte *data)
 
int multi_reconstruct_wing (ubyte *data)
 
void multi_ingame_observer_finish ()
 
void multi_ingame_sync_init ()
 
void multi_ingame_sync_do ()
 
void multi_ingame_sync_close ()
 
void multi_ingame_select_init ()
 
void multi_ingame_select_do ()
 
void multi_ingame_select_close ()
 
void send_ingame_ships_packet (net_player *pl)
 
void process_ingame_ships_packet (ubyte *data, header *hinfo)
 
void send_ingame_wings_packet (net_player *pl)
 
void process_ingame_wings_packet (ubyte *data, header *hinfo)
 
void send_ingame_respawn_points_packet (net_player *pl=0)
 
void process_ingame_respawn_points_packet (ubyte *data, header *hinfo)
 
void send_ingame_slots_packet (net_player *p)
 
void process_ingame_slots_packet (ubyte *data, header *hinfo)
 
void send_ingame_ship_request_packet (int code, int rdata, net_player *pl=NULL)
 
void process_ingame_ship_request_packet (ubyte *data, header *hinfo)
 
void multi_ingame_process_mission_stuff (ubyte *data, header *hinfo)
 

Macro Definition Documentation

#define INGAME_JOIN_FLAG_CAMPAIGN_INFO   (1<<1)

Definition at line 67 of file multi_ingame.h.

#define INGAME_JOIN_FLAG_FILE_XFER   (1<<9)

Definition at line 75 of file multi_ingame.h.

#define INGAME_JOIN_FLAG_LOADING_MISSION   (1<<2)

Definition at line 68 of file multi_ingame.h.

#define INGAME_JOIN_FLAG_PICK_SHIP   (1<<8)

Definition at line 74 of file multi_ingame.h.

#define INGAME_JOIN_FLAG_SENDING_POST   (1<<6)

Definition at line 72 of file multi_ingame.h.

#define INGAME_JOIN_FLAG_SENDING_RPTS   (1<<5)

Definition at line 71 of file multi_ingame.h.

#define INGAME_JOIN_FLAG_SENDING_SETS   (1<<0)

Definition at line 66 of file multi_ingame.h.

#define INGAME_JOIN_FLAG_SENDING_SHIPS   (1<<3)

Definition at line 69 of file multi_ingame.h.

#define INGAME_JOIN_FLAG_SENDING_WINGS   (1<<4)

Definition at line 70 of file multi_ingame.h.

#define INGAME_JOIN_FLAG_SENDING_WSS   (1<<7)

Definition at line 73 of file multi_ingame.h.

#define INGAME_SHIP_LIST_EOL   3

Definition at line 82 of file multi_ingame.h.

#define INGAME_SHIP_LIST_EOP   2

Definition at line 81 of file multi_ingame.h.

#define INGAME_SHIP_NEXT   0

Definition at line 79 of file multi_ingame.h.

#define INGAME_SHIP_UPDATE_TIME   1500

Definition at line 77 of file multi_ingame.h.

#define INGAME_SHIP_WARP_SUPPORT   1

Definition at line 80 of file multi_ingame.h.

#define INGAME_WING_DEPARTED   2

Definition at line 90 of file multi_ingame.h.

#define INGAME_WING_LIST_EOL   2

Definition at line 86 of file multi_ingame.h.

#define INGAME_WING_LIST_EOP   1

Definition at line 85 of file multi_ingame.h.

#define INGAME_WING_NEXT   0

Definition at line 84 of file multi_ingame.h.

#define INGAME_WING_NOT_ARRIVED   1

Definition at line 89 of file multi_ingame.h.

#define INGAME_WING_PRESENT   3

Definition at line 91 of file multi_ingame.h.

Function Documentation

int multi_deconstruct_ship ( ubyte data,
ship s 
)
int multi_deconstruct_wing ( ubyte data,
wing w 
)
void multi_handle_ingame_joiners ( )

Definition at line 112 of file multi_ingame.cpp.

void multi_ingame_observer_finish ( )

Definition at line 253 of file multi_ingame.cpp.

void multi_ingame_process_mission_stuff ( ubyte data,
header hinfo 
)
void multi_ingame_select_close ( )

Definition at line 825 of file multi_ingame.cpp.

void multi_ingame_select_do ( )

Definition at line 777 of file multi_ingame.cpp.

void multi_ingame_select_init ( )

int objnum, wingnum_save,idx, goals_save;

Definition at line 600 of file multi_ingame.cpp.

void multi_ingame_sync_close ( )

Definition at line 298 of file multi_ingame.cpp.

void multi_ingame_sync_do ( )

Definition at line 293 of file multi_ingame.cpp.

void multi_ingame_sync_init ( )

Definition at line 274 of file multi_ingame.cpp.

int multi_reconstruct_ship ( ubyte data)
int multi_reconstruct_wing ( ubyte data)
void process_ingame_respawn_points_packet ( ubyte data,
header hinfo 
)
void process_ingame_ship_request_packet ( ubyte data,
header hinfo 
)

Definition at line 1555 of file multi_ingame.cpp.

void process_ingame_ships_packet ( ubyte data,
header hinfo 
)

Definition at line 972 of file multi_ingame.cpp.

void process_ingame_slots_packet ( ubyte data,
header hinfo 
)
void process_ingame_wings_packet ( ubyte data,
header hinfo 
)

Definition at line 1162 of file multi_ingame.cpp.

void send_ingame_respawn_points_packet ( net_player pl = 0)
void send_ingame_ship_request_packet ( int  code,
int  rdata,
net_player pl = NULL 
)

Definition at line 1399 of file multi_ingame.cpp.

void send_ingame_ships_packet ( net_player pl)

Definition at line 1104 of file multi_ingame.cpp.

void send_ingame_slots_packet ( net_player p)
void send_ingame_wings_packet ( net_player pl)