Move multi.c variables to top of file

This commit is contained in:
Kp 2013-08-11 23:03:40 +00:00
parent ad6a7820cf
commit e86a9b67a6
2 changed files with 19 additions and 23 deletions

View file

@ -88,6 +88,8 @@ void drop_player_eggs(object *playerobj); // from collide.c
// Global variables
//
extern fix StartingShields;
int multi_protocol=0; // set and determinate used protocol
int imulti_new_game=0; // to prep stuff for level only when starting new game
@ -1140,8 +1142,6 @@ multi_send_message_start()
}
}
extern fix StartingShields;
void multi_send_message_end()
{
char *mytempbuf;

View file

@ -105,6 +105,8 @@ void drop_player_eggs(object *player); // from collide.c
// Global variables
//
extern fix StartingShields;
int multi_protocol=0; // set and determinate used protocol
int imulti_new_game=0; // to prep stuff for level only when starting new game
@ -115,6 +117,21 @@ int Show_kill_list = 1;
int Show_reticle_name = 1;
fix Show_kill_list_timer = 0;
extern fix64 Seismic_disturbance_start_time;
extern fix64 Seismic_disturbance_end_time;
extern int multi_who_is_master();
extern char NameReturning;
extern int force_cockpit_redraw;
extern int Drop_afterburner_blob_flag;
int PhallicLimit=0;
int PhallicMan=-1;
int Goal_blue_segnum,Goal_red_segnum;
int SoundHacked=0;
digi_sound ReversedSound;
char Multi_is_guided=0;
sbyte PKilledFlags[MAX_PLAYERS];
int Bounty_target = 0;
@ -1181,12 +1198,6 @@ multi_send_message_start()
}
}
extern fix StartingShields;
extern int multi_who_is_master();
extern char NameReturning;
extern int force_cockpit_redraw;
void multi_send_message_end()
{
char *mytempbuf;
@ -3202,10 +3213,6 @@ multi_send_hostage_door_status(int wallnum)
multi_send_data(multibuf, count, 0);
}
extern int Drop_afterburner_blob_flag;
int PhallicLimit=0;
int PhallicMan=-1;
void multi_consistency_error(int reset)
{
static int count = 0;
@ -3458,8 +3465,6 @@ int multi_level_sync(void)
}
}
int Goal_blue_segnum,Goal_red_segnum;
void multi_apply_goal_textures()
{
int i,j,tex;
@ -3896,9 +3901,6 @@ void multi_check_for_killgoal_winner ()
net_destroy_controlcen (objp);
}
extern fix64 Seismic_disturbance_start_time;
extern fix64 Seismic_disturbance_end_time;
// Sync our seismic time with other players
void multi_send_seismic (fix64 t1,fix64 t2)
{
@ -4006,9 +4008,6 @@ void multi_do_powcap_update (const ubyte *buf)
MaxPowerupsAllowed[i]=buf[i+1];
}
extern active_door ActiveDoors[];
extern int Num_open_doors; // Number of open doors
void multi_send_sound_function (char whichfunc, char sound)
{
int count=0;
@ -4205,9 +4204,6 @@ void multi_send_got_flag (char pnum)
multi_send_flags (Player_num);
}
int SoundHacked=0;
digi_sound ReversedSound;
void multi_send_got_orb (char pnum)
{
multibuf[0]=MULTI_GOT_ORB;